org.apache.maven.plugins.release
Class BranchReleaseMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugins.release.AbstractReleaseMojo
          extended by org.apache.maven.plugins.release.AbstractScmReleaseMojo
              extended by org.apache.maven.plugins.release.BranchReleaseMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="branch",
      aggregator=true)
public class BranchReleaseMojo
extends AbstractScmReleaseMojo

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 http://maven.apache.org/plugins/maven-release-plugin/examples/branch.html.

Since:
2.0-beta-6
Version:
$Id: BranchReleaseMojo.java 1395771 2012-10-08 20:55:03Z rfscholte $
Author:
Emmanuel Venisse

Field Summary
 
Fields inherited from class org.apache.maven.plugins.release.AbstractReleaseMojo
project, releaseManager, session
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
BranchReleaseMojo()
           
 
Method Summary
 void execute()
          
 
Methods inherited from class org.apache.maven.plugins.release.AbstractScmReleaseMojo
createReleaseDescriptor
 
Methods inherited from class org.apache.maven.plugins.release.AbstractReleaseMojo
addArgument, getAdditionalProfiles, getBasedir, getReactorProjects, getReleaseEnvironment, mergeCommandLineConfig, setBasedir
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BranchReleaseMojo

public BranchReleaseMojo()
Method Detail

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 AbstractScmReleaseMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.