org.apache.maven.plugins.release
Class PerformReleaseMojo

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.PerformReleaseMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class PerformReleaseMojo
extends AbstractReleaseMojo

Perform a release from SCM, either from a specified tag, or the tag representing the previous release in the working copy created by release:prepare. For more info see http://maven.apache.org/plugins/maven-release-plugin/examples/perform-release.html.

Version:
$Id: PerformReleaseMojo.html 816536 2012-05-08 11:41:06Z hboutemy $
Author:
Emmanuel Venisse, Brett Porter
Aggregates the Maven project and its child modules.
Is defined by the goal name:
perform
Requires a Maven project to run:
false

Field Summary
 
Fields inherited from class org.apache.maven.plugins.release.AbstractReleaseMojo
basedir, javaHome, localRepoDirectory, mavenExecutorId, mavenHome, project, reactorProjects, releaseManager, session, settings
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
PerformReleaseMojo()
           
 
Method Summary
 void execute()
          
protected  String getAdditionalProfiles()
          Gets the comma separated list of additional profiles for the release build.
 
Methods inherited from class org.apache.maven.plugins.release.AbstractReleaseMojo
addArgument, createReleaseDescriptor, 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

PerformReleaseMojo

public PerformReleaseMojo()
Method Detail

getAdditionalProfiles

protected String getAdditionalProfiles()
Gets the comma separated list of additional profiles for the release build.

Overrides:
getAdditionalProfiles in class AbstractReleaseMojo
Returns:
additional profiles to enable during release

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException

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


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