@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 |
---|---|
protected org.apache.maven.project.MavenProject |
project
The current Maven project
|
Constructor and Description |
---|
PropertiesMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Main entry into mojo.
|
org.apache.maven.project.MavenProject |
getProject() |
boolean |
isSkip() |
void |
setSkip(boolean skip) |
@Component protected org.apache.maven.project.MavenProject project
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
- with a message if an error occurs.public org.apache.maven.project.MavenProject getProject()
public boolean isSkip()
public void setSkip(boolean skip)
Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.