org.apache.maven.plugins.release.phase
Class ScmCommitPhase

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.plugins.release.phase.AbstractReleasePhase
          extended by org.apache.maven.plugins.release.phase.ScmCommitPhase
All Implemented Interfaces:
ReleasePhase, org.codehaus.plexus.logging.LogEnabled

public class ScmCommitPhase
extends AbstractReleasePhase

Commit the project to the SCM.

Author:
Brett Porter

Field Summary
 
Fields inherited from interface org.apache.maven.plugins.release.phase.ReleasePhase
ROLE
 
Constructor Summary
ScmCommitPhase()
           
 
Method Summary
 void execute(ReleaseConfiguration releaseConfiguration)
          Execute the phase.
 void simulate(ReleaseConfiguration releaseConfiguration)
          Simulate the phase, but don't make any changes to the project.
 
Methods inherited from class org.apache.maven.plugins.release.phase.AbstractReleasePhase
clean
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScmCommitPhase

public ScmCommitPhase()
Method Detail

execute

public void execute(ReleaseConfiguration releaseConfiguration)
             throws ReleaseExecutionException,
                    ReleaseFailureException
Description copied from interface: ReleasePhase
Execute the phase.

Parameters:
releaseConfiguration - the configuration to use
Throws:
ReleaseExecutionException - an exception during the execution of the phase
ReleaseFailureException - a failure during the execution of the phase

simulate

public void simulate(ReleaseConfiguration releaseConfiguration)
              throws ReleaseExecutionException,
                     ReleaseFailureException
Description copied from interface: ReleasePhase
Simulate the phase, but don't make any changes to the project.

Parameters:
releaseConfiguration - the configuration to use
Throws:
ReleaseExecutionException - an exception during the execution of the phase
ReleaseFailureException - a failure during the execution of the phase


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