org.apache.maven.plugins.release
Class StageReleaseMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.release.AbstractReleaseMojo
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.html 816536 2012-05-08 11:41:06Z hboutemy $
- 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
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StageReleaseMojo
public StageReleaseMojo()
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.