@Mojo(name="properties",
requiresDependencyResolution=TEST,
defaultPhase=INITIALIZE)
public class PropertiesMojo
extends org.apache.maven.plugin.AbstractMojo
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() |
@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()
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.