@Mojo(name="properties",
requiresDependencyResolution=TEST,
defaultPhase=INITIALIZE,
threadSafe=true)
public class PropertiesMojo
extends org.apache.maven.plugin.AbstractMojo
groupId:artifactId:type:[classifier] form
and contains the path to the resolved artifact.| Modifier and Type | Field and Description |
|---|---|
private org.apache.maven.project.MavenProject |
project
The current Maven project
|
private boolean |
skip
Skip plugin execution completely.
|
| Constructor and Description |
|---|
PropertiesMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Main entry into mojo.
|
boolean |
isSkip() |
@Parameter(defaultValue="${project}",
readonly=true,
required=true)
private org.apache.maven.project.MavenProject project
@Parameter(property="mdep.skip",
defaultValue="false")
private boolean skip
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException - with a message if an error occurs.public boolean isSkip()