org.apache.maven.plugins.release
Class StageReleaseMojo

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

public class StageReleaseMojo
extends AbstractReleaseMojo

Perform a release from SCM to a staging repository.

Since:
2.0-beta-8
Version:
$Id: StageReleaseMojo.java 1329473 2012-04-23 21:58:55Z rfscholte $
Author:
Nicolas De Loof
Aggregates the Maven project and its child modules.
Is defined by the goal name:
stage
Requires a Maven project to run:
false

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
StageReleaseMojo()
           
 
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, 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

StageReleaseMojo

public StageReleaseMojo()
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-2012 The Apache Software Foundation. All Rights Reserved.