org.terracotta.maven.plugins.tc
Class DsoSurefireMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.terracotta.maven.plugins.tc.AbstractDsoMojo
org.terracotta.maven.plugins.tc.DsoLifecycleMojo
org.terracotta.maven.plugins.tc.DsoSurefireMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class DsoSurefireMojo
- extends DsoLifecycleMojo
Run Surefire/JUnit tests in multiple DSO-enabled processes (similar to
tc:run). It also synchronizes these tests
automatically.
- See Also:
http://forge.terracotta.org/projects/tc-maven-plugin/surefire.html
Field Summary |
protected org.apache.maven.artifact.factory.ArtifactFactory |
artifactFactory
Factory used to creates artifacts |
Fields inherited from class org.terracotta.maven.plugins.tc.AbstractDsoMojo |
bootJar, config, CONTEXT_KEY_STARTABLES, debugPort, jvm, jvmargs, jvmdebug, localRepository, mode, modules, numberOfNodes, pluginArtifacts, processes, remoteRepositories, resolver |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.terracotta.maven.plugins.tc.AbstractDsoMojo |
createCommandLine, createJvmArguments, createJvmArguments, createPluginClasspath, createPluginClasspathAsFile, createProjectClasspath, getAdditionalModules, getClientConfig, getJMXUrl, getModulesRepository, getServerConfig, getServerStatus, getStartables, getTerracottaArtifact, isCustomMode, quoteIfNeeded, resolveModuleArtifacts, resolveModuleArtifacts, setJvm, setJvmargs |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
artifactFactory
protected org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
- Factory used to creates artifacts
DsoSurefireMojo
public DsoSurefireMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Specified by:
execute
in interface org.apache.maven.plugin.Mojo
- Overrides:
execute
in class DsoLifecycleMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
onExecute
protected void onExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Specified by:
onExecute
in class DsoLifecycleMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
processSystemProperties
protected void processSystemProperties(boolean setInSystem)
isSkipExec
public boolean isSkipExec()
- Returns:
- SurefirePlugin Returns the skipExec.
setSkipExec
public void setSkipExec(boolean skipExec)
- Parameters:
skipExec
- the skipExec to set
Copyright © 2010 Terracotta, Inc.. All Rights Reserved.