org.apache.maven.plugins.release
Class AbstractScmReleaseMojo

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
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
BranchReleaseMojo, PrepareReleaseMojo, RollbackReleaseMojo, StageReleaseMojo

public abstract class AbstractScmReleaseMojo
extends AbstractReleaseMojo

Abstract Mojo containing SCM parameters

Since:
2.4
Author:
Robert Scholte

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
AbstractScmReleaseMojo()
           
 
Method Summary
protected  ReleaseDescriptor createReleaseDescriptor()
          Creates the release descriptor from the various goal parameters.
 void execute()
          
 
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

AbstractScmReleaseMojo

public AbstractScmReleaseMojo()
Method Detail

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

createReleaseDescriptor

protected ReleaseDescriptor createReleaseDescriptor()
Description copied from class: AbstractReleaseMojo
Creates the release descriptor from the various goal parameters.

Overrides:
createReleaseDescriptor in class AbstractReleaseMojo
Returns:
The release descriptor, never null.


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