org.codehaus.mojo.buildhelper
Class MavenVersionMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.buildhelper.MavenVersionMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
public class MavenVersionMojo
- extends AbstractMojo
Store the maven core version in a property maven.version
.
- Since:
- 1.3
- Author:
- pgier
- Is bound to the specified phase of the standard build lifecycle:
- validate
- Is defined by the goal name:
- maven-version
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
Main plugin execution |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MavenVersionMojo
public MavenVersionMojo()
execute
public void execute()
throws MojoExecutionException
- Main plugin execution
- Throws:
MojoExecutionException
- if the plugin execution fails.
Copyright © 2005-2011 Codehaus. All Rights Reserved.