org.apache.maven.plugins.release
Class AbstractScmReleaseMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.release.AbstractReleaseMojo
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
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
AbstractScmReleaseMojo
public AbstractScmReleaseMojo()
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.