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:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
StageReleaseMojo

@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 https://maven.apache.org/plugins/maven-release-plugin/usage/perform-release.html.
Author:
Emmanuel Venisse, Brett Porter
  • Constructor Details

    • PerformReleaseMojo

      public PerformReleaseMojo()
  • Method Details

    • getAdditionalProfiles

      protected String getAdditionalProfiles()
      Description copied from class: AbstractReleaseMojo
      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 org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException