org.apache.maven.plugins.release
Class UpdateVersionsMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugins.release.AbstractReleaseMojo
          extended by org.apache.maven.plugins.release.UpdateVersionsMojo
All Implemented Interfaces:
ContextEnabled, Mojo

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 1333180 2012-05-02 20:04:26Z rfscholte $
Author:
Paul Gier
Aggregates the Maven project and its child modules.
Is defined by the goal name:
update-versions

Field Summary
 
Fields inherited from class org.apache.maven.plugins.release.AbstractReleaseMojo
mavenHome, project, releaseManager, session
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
UpdateVersionsMojo()
           
 
Method Summary
 void execute()
          
 
Methods inherited from class org.apache.maven.plugins.release.AbstractReleaseMojo
addArgument, createReleaseDescriptor, getAdditionalProfiles, getBasedir, getReactorProjects, getReleaseEnvironment, mergeCommandLineConfig, setBasedir
 
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
 

Constructor Detail

UpdateVersionsMojo

public UpdateVersionsMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException

Specified by:
execute in interface Mojo
Overrides:
execute in class AbstractReleaseMojo
Throws:
MojoExecutionException
MojoFailureException


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.