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.AbstractScmReleaseMojo
org.apache.maven.plugins.release.StageReleaseMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
@Mojo(name="stage",
aggregator=true,
requiresProject=false)
public class StageReleaseMojo- extends AbstractScmReleaseMojo
Perform a release from SCM to a staging repository.
- Since:
- 2.0-beta-8
- Version:
- $Id: StageReleaseMojo.java 1420401 2012-12-11 20:58:35Z rfscholte $
- Author:
- Nicolas De Loof
| 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 AbstractScmReleaseMojo
- Throws:
MojoExecutionException
MojoFailureException
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.