Class BranchReleaseMojo

All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="branch", aggregator=true) public class BranchReleaseMojo extends AbstractScmReadWriteReleaseMojo
Branch a project in SCM, using the same steps as the release:prepare goal, creating a branch instead of a tag. For more info see https://maven.apache.org/plugins/maven-release-plugin/usage/branch.html.
Since:
2.0-beta-6
Author:
Emmanuel Venisse
  • Constructor Details

    • BranchReleaseMojo

      @Inject public BranchReleaseMojo(ReleaseManager releaseManager, org.apache.maven.scm.manager.ScmManager scmManager)
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Specified by:
      execute in interface org.apache.maven.plugin.Mojo
      Overrides:
      execute in class AbstractScmReadReleaseMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException