public abstract class AbstractStandaloneRunnerMojo extends AbstractStandaloneMojoBase
| Modifier and Type | Field and Description |
|---|---|
protected String |
argFile |
protected String |
args |
static String |
main |
| Constructor and Description |
|---|
AbstractStandaloneRunnerMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
args() |
void |
execute() |
protected String |
resolve(Map<String,String> artifactJars,
String artifact) |
protected int |
run(ClassLoader classLoader,
String mainClass,
String... commandLineArgs) |
classLoaderFor, classPathUrls, getArtifactJars, resolveArtifactpublic static final String main
@Parameter(property="args") protected String args
@Parameter(property="argFile") protected String argFile
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected String[] args()
protected int run(ClassLoader classLoader, String mainClass, String... commandLineArgs) throws Throwable
ThrowableCopyright © 2021. All rights reserved.