org.apache.maven.plugins.release
Class PrepareReleaseMojo

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.PrepareReleaseMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class PrepareReleaseMojo
extends AbstractReleaseMojo

Prepare for a release in SCM.

Version:
$Id: PrepareReleaseMojo.java 390023 2006-03-30 07:52:09Z carlos $
Author:
John Casey, Emmanuel Venisse, Jason van Zyl

Field Summary
 
Fields inherited from class org.apache.maven.plugins.release.AbstractReleaseMojo
basedir
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
PrepareReleaseMojo()
           
 
Method Summary
 void execute()
           
protected  ReleaseProgressTracker getReleaseProgress()
           
protected  ProjectScmRewriter getScmRewriter()
           
protected  ProjectVersionResolver getVersionResolver()
           
 
Methods inherited from class org.apache.maven.plugins.release.AbstractReleaseMojo
getInputHandler, getScm, getSettings, removeReleaseProperties, setScmHelper, setScmManager
 
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

PrepareReleaseMojo

public PrepareReleaseMojo()
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

getReleaseProgress

protected ReleaseProgressTracker getReleaseProgress()
                                             throws org.apache.maven.plugin.MojoExecutionException
Specified by:
getReleaseProgress in class AbstractReleaseMojo
Throws:
org.apache.maven.plugin.MojoExecutionException

getVersionResolver

protected ProjectVersionResolver getVersionResolver()

getScmRewriter

protected ProjectScmRewriter getScmRewriter()
                                     throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.