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, registerSourceRoots
public 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.ExecuteException
IOException
public void setSuccessCodes(Integer[] list)
public int[] getSuccessCodes()
Copyright © 2005-2013 Codehaus. All Rights Reserved.