@Mojo(name="properties", requiresDependencyResolution=TEST, defaultPhase=INITIALIZE, threadSafe=true) public class PropertiesMojo extends AbstractMojo
groupId:artifactId:type:[classifier] form and contains the path to the resolved artifact.| Modifier and Type | Field and Description |
|---|---|
protected MavenProject |
project
The current Maven project
|
| Constructor and Description |
|---|
PropertiesMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Main entry into mojo.
|
MavenProject |
getProject() |
boolean |
isSkip() |
void |
setSkip(boolean skip) |
getLog, getPluginContext, setLog, setPluginContext@Parameter(defaultValue="${project}", readonly=true, required=true) protected MavenProject project
public void execute()
throws MojoExecutionException
MojoExecutionException - with a message if an error occurs.public MavenProject getProject()
public boolean isSkip()
public void setSkip(boolean skip)
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.