org.apache.maven.shared.release.phase
Class RunPrepareGoalsPhase
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.shared.release.phase.AbstractReleasePhase
org.apache.maven.shared.release.phase.AbstractRunGoalsPhase
org.apache.maven.shared.release.phase.RunPrepareGoalsPhase
- All Implemented Interfaces:
- ReleasePhase, org.codehaus.plexus.logging.LogEnabled
public class RunPrepareGoalsPhase
- extends AbstractRunGoalsPhase
Run the integration tests for the project to verify that it builds before committing.
- 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 |
RunPrepareGoalsPhase
public RunPrepareGoalsPhase()
execute
public ReleaseResult execute(ReleaseDescriptor releaseDescriptor,
ReleaseEnvironment releaseEnvironment,
java.util.List reactorProjects)
throws ReleaseExecutionException
- Description copied from interface:
ReleasePhase
- Execute the phase.
- Parameters:
releaseDescriptor
- the configuration to usereleaseEnvironment
- the environmental configuration, such as Maven settings, Maven home, etc.reactorProjects
- the reactor projects
- Throws:
ReleaseExecutionException
- an exception during the execution of the phase
simulate
public ReleaseResult simulate(ReleaseDescriptor releaseDescriptor,
ReleaseEnvironment releaseEnvironment,
java.util.List reactorProjects)
throws ReleaseExecutionException
- Description copied from interface:
ReleasePhase
- Simulate the phase, but don't make any changes to the project.
- Parameters:
releaseDescriptor
- the configuration to usereleaseEnvironment
- the environmental configuration, such as Maven settings, Maven home, etc.reactorProjects
- the reactor projects
- Throws:
ReleaseExecutionException
- an exception during the execution of the phase
getGoals
protected java.lang.String getGoals(ReleaseDescriptor releaseDescriptor)
- Specified by:
getGoals
in class AbstractRunGoalsPhase
Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.