org.codehaus.mojo.buildhelper
Class MavenVersionMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.buildhelper.MavenVersionMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class MavenVersionMojo
- extends org.apache.maven.plugin.AbstractMojo
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()
throws org.apache.maven.plugin.MojoExecutionException
- Main plugin execution
- Throws:
org.apache.maven.plugin.MojoExecutionException
- if the plugin execution fails.
Copyright © 2005-2012 Codehaus. All Rights Reserved.