org.apache.maven.plugins.release
Class PerformReleaseMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.release.AbstractReleaseMojo
org.apache.maven.plugins.release.PerformReleaseMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
@Mojo(name="perform",
aggregator=true,
requiresProject=false)
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.java 1430485 2013-01-08 20:20:17Z rfscholte $
- Author:
- Emmanuel Venisse, Brett Porter
| 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 |
PerformReleaseMojo
public PerformReleaseMojo()
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
-
- Throws:
MojoExecutionException
MojoFailureException
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.