public abstract class AbstractExecMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected String |
classpathScope
Defines the scope of the classpath passed to the plugin.
|
protected org.apache.maven.project.MavenProject |
project
The enclosing project.
|
Constructor and Description |
---|
AbstractExecMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
collectProjectArtifactsAndClasspath(List artifacts,
List theClasspathFiles)
Collects the project artifacts in the specified List and the project specific classpath (build output and build
test output) Files in the specified List, depending on the plugin classpathScope value.
|
protected boolean |
hasCommandlineArgs() |
protected boolean |
isSkip()
Check if the execution should be skipped
|
protected String[] |
parseCommandlineArgs()
Parses the argument string given by the user.
|
protected void |
registerSourceRoots()
Register compile and compile tests source roots if necessary
|
getLog, getPluginContext, setLog, setPluginContext
protected org.apache.maven.project.MavenProject project
protected String classpathScope
protected void collectProjectArtifactsAndClasspath(List artifacts, List theClasspathFiles)
artifacts
- the list where to collect the scope specific artifactstheClasspathFiles
- the list where to collect the scope specific output directoriesprotected String[] parseCommandlineArgs() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
- for wrong formatted argumentsprotected boolean hasCommandlineArgs()
protected void registerSourceRoots()
protected boolean isSkip()
Copyright © 2005-2012 Codehaus. All Rights Reserved.