@Mojo(name="run",
requiresProject=true,
defaultPhase=VALIDATE,
requiresDependencyResolution=TEST)
@Execute(phase=TEST_COMPILE)
public class RunMojo
extends AbstractRunMojo
| Constructor | Description |
|---|---|
RunMojo() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
runWithForkedJvm(java.util.List<java.lang.String> args) |
Run with a forked VM, using the specified command line arguments.
|
protected void |
runWithMavenJvm(java.lang.String startClassName,
java.lang.String... arguments) |
Run with the current VM, using the specified arguments.
|
filterDependencies, getFilters, setExcludeArtifactIds, setExcludeGroupIds, setExcludes, setIncludesgetLog, getPluginContext, setLog, setPluginContextexecute, getClassPathUrls, isFork, resolveApplicationArguments, resolveJvmArgumentsprotected void runWithForkedJvm(java.util.List<java.lang.String> args)
throws org.apache.maven.plugin.MojoExecutionException
AbstractRunMojorunWithForkedJvm in class AbstractRunMojoargs - the arguments (JVM arguments and application arguments)org.apache.maven.plugin.MojoExecutionException - in case of MOJO execution errorsprotected void runWithMavenJvm(java.lang.String startClassName,
java.lang.String... arguments)
throws org.apache.maven.plugin.MojoExecutionException
AbstractRunMojorunWithMavenJvm in class AbstractRunMojostartClassName - the class to runarguments - the class argumentsorg.apache.maven.plugin.MojoExecutionException - in case of MOJO execution errorsCopyright © 2018. All rights reserved.