org.apache.maven.plugins.release
Class UpdateVersionsMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.release.AbstractReleaseMojo
org.apache.maven.plugins.release.UpdateVersionsMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="update-versions",
aggregator=true)
public class UpdateVersionsMojo- extends AbstractReleaseMojo
Update the POM versions for a project. This performs the normal version updates of the release:prepare goal
without making other modifications to the SCM such as tagging. For more info see http://maven.apache.org/plugins/maven-release-plugin/examples/update-versions.html.
- Since:
- 2.0
- Version:
- $Id: UpdateVersionsMojo.java 1420401 2012-12-11 20:58:35Z rfscholte $
- Author:
- Paul Gier
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
UpdateVersionsMojo
public UpdateVersionsMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
-
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.