org.apache.maven.shared.release.phase
Class ScmCommitPreparationPhase
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.shared.release.phase.AbstractReleasePhase
org.apache.maven.shared.release.phase.AbstractScmCommitPhase
org.apache.maven.shared.release.phase.ScmCommitPreparationPhase
- All Implemented Interfaces:
- ReleasePhase, org.codehaus.plexus.logging.LogEnabled
public class ScmCommitPreparationPhase
- extends AbstractScmCommitPhase
Commit the changes that were done to prepare the branch or tag to the SCM.
- Author:
- Brett Porter
Fields inherited from interface org.apache.maven.shared.release.phase.ReleasePhase |
ROLE |
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 |
ScmCommitPreparationPhase
public ScmCommitPreparationPhase()
runLogic
protected void runLogic(ReleaseDescriptor releaseDescriptor,
ReleaseEnvironment releaseEnvironment,
List<MavenProject> reactorProjects,
ReleaseResult result,
boolean simulating)
throws ReleaseScmCommandException,
ReleaseExecutionException,
ReleaseScmRepositoryException
- Specified by:
runLogic
in class AbstractScmCommitPhase
- Throws:
ReleaseScmCommandException
ReleaseExecutionException
ReleaseScmRepositoryException
validateConfiguration
protected void validateConfiguration(ReleaseDescriptor releaseDescriptor)
throws ReleaseFailureException
- Overrides:
validateConfiguration
in class AbstractScmCommitPhase
- Throws:
ReleaseFailureException
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.