public class ExecMojo extends AbstractExecMojo
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASSPATH_TOKEN |
classpathScope, project| Constructor and Description |
|---|
ExecMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
priority in the execute method will be to use System properties arguments over the pom specification.
|
protected int |
executeCommandLine(org.apache.commons.exec.Executor exec,
org.apache.commons.exec.CommandLine commandLine,
Map enviro,
OutputStream out,
OutputStream err) |
int[] |
getSuccessCodes() |
protected String |
getSystemProperty(String key) |
void |
setSuccessCodes(Integer[] list) |
collectProjectArtifactsAndClasspath, hasCommandlineArgs, isSkip, parseCommandlineArgs, registerSourceRootspublic static final String CLASSPATH_TOKEN
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException - if a failure happensprotected int executeCommandLine(org.apache.commons.exec.Executor exec,
org.apache.commons.exec.CommandLine commandLine,
Map enviro,
OutputStream out,
OutputStream err)
throws org.apache.commons.exec.ExecuteException,
IOException
org.apache.commons.exec.ExecuteExceptionIOExceptionpublic void setSuccessCodes(Integer[] list)
public int[] getSuccessCodes()
Copyright © 2005-2014 Codehaus. All Rights Reserved.