org.codehaus.mojo.buildhelper
Class MavenVersionMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
org.codehaus.mojo.buildhelper.MavenVersionMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="maven-version",
defaultPhase=VALIDATE,
threadSafe=true)
public class MavenVersionMojo- extends AbstractDefinePropertyMojo
Store the maven core version in a property maven.version.
- Since:
- 1.3
- Author:
- pgier
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
|
Method Summary |
void |
execute()
Main plugin execution |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| 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()
- Main plugin execution
Copyright © 2005-2013 Codehaus. All Rights Reserved.