org.apache.maven.plugins.release
Class DefaultReleaseManager
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.plugins.release.DefaultReleaseManager
- All Implemented Interfaces:
- ReleaseManager, org.codehaus.plexus.logging.LogEnabled
public class DefaultReleaseManager
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements ReleaseManager
Implementation of the release manager.
- Author:
- Brett Porter
| 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 |
DefaultReleaseManager
public DefaultReleaseManager()
prepare
public void prepare(ReleaseConfiguration releaseConfiguration)
throws ReleaseExecutionException,
ReleaseFailureException
- Description copied from interface:
ReleaseManager
- Prepare a release.
- Specified by:
prepare in interface ReleaseManager
- Parameters:
releaseConfiguration - the configuration to pass to the preparation steps
- Throws:
ReleaseExecutionException - if there is a problem performing the release
ReleaseFailureException - if there is a problem performing the release
prepare
public void prepare(ReleaseConfiguration releaseConfiguration,
boolean resume,
boolean dryRun)
throws ReleaseExecutionException,
ReleaseFailureException
- Description copied from interface:
ReleaseManager
- Prepare a release.
- Specified by:
prepare in interface ReleaseManager
- Parameters:
releaseConfiguration - the configuration to pass to the preparation stepsresume - resume a previous release, if the properties file existsdryRun - do not commit any changes to the file system or SCM
- Throws:
ReleaseExecutionException - if there is a problem performing the release
ReleaseFailureException - if there is a problem performing the release
perform
public void perform(ReleaseConfiguration releaseConfiguration,
java.io.File checkoutDirectory,
java.lang.String goals,
boolean useReleaseProfile)
throws ReleaseExecutionException,
ReleaseFailureException
- Description copied from interface:
ReleaseManager
- Perform a release.
- Specified by:
perform in interface ReleaseManager
- Parameters:
releaseConfiguration - the configuration to use for releasecheckoutDirectory - the location to checkout to and build fromgoals - the goals to executeuseReleaseProfile - whether to use the release profile from the super POM or not
- Throws:
ReleaseExecutionException - if there is a problem performing the release
ReleaseFailureException - if there is a problem performing the release
clean
public void clean(ReleaseConfiguration releaseConfiguration)
- Description copied from interface:
ReleaseManager
- Clean a release.
- Specified by:
clean in interface ReleaseManager
- Parameters:
releaseConfiguration - the configuration to use for release
Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.