public interface ReleasePhase
Modifier and Type | Method and Description |
---|---|
ReleaseResult |
clean(List<MavenProject> reactorProjects)
Clean up after a phase if it leaves any additional files in the checkout.
|
ReleaseResult |
execute(ReleaseDescriptor releaseDescriptor,
ReleaseEnvironment releaseEnvironment,
List<MavenProject> reactorProjects)
Execute the phase.
|
ReleaseResult |
execute(ReleaseDescriptor releaseDescriptor,
Settings settings,
List<MavenProject> reactorProjects)
Deprecated.
Use
execute(ReleaseDescriptor, ReleaseEnvironment, List) instead. |
ReleaseResult |
simulate(ReleaseDescriptor releaseDescriptor,
ReleaseEnvironment releaseEnvironment,
List<MavenProject> reactorProjects)
Simulate the phase, but don't make any changes to the project.
|
ReleaseResult |
simulate(ReleaseDescriptor releaseDescriptor,
Settings settings,
List<MavenProject> reactorProjects)
Deprecated.
|
static final String ROLE
ReleaseResult execute(ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, List<MavenProject> reactorProjects) throws ReleaseExecutionException, ReleaseFailureException
releaseDescriptor
- the configuration to usereleaseEnvironment
- the environmental configuration, such as Maven settings, Maven home, etc.reactorProjects
- the reactor projectsReleaseExecutionException
- an exception during the execution of the phaseReleaseFailureException
- a failure during the execution of the phaseReleaseResult simulate(ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, List<MavenProject> reactorProjects) throws ReleaseExecutionException, ReleaseFailureException
releaseDescriptor
- the configuration to usereleaseEnvironment
- the environmental configuration, such as Maven settings, Maven home, etc.reactorProjects
- the reactor projectsReleaseExecutionException
- an exception during the execution of the phaseReleaseFailureException
- a failure during the execution of the phaseReleaseResult execute(ReleaseDescriptor releaseDescriptor, Settings settings, List<MavenProject> reactorProjects) throws ReleaseExecutionException, ReleaseFailureException
execute(ReleaseDescriptor, ReleaseEnvironment, List)
instead.releaseDescriptor
- the configuration to usesettings
- the settings.xml configurationreactorProjects
- the reactor projectsReleaseExecutionException
- an exception during the execution of the phaseReleaseFailureException
- a failure during the execution of the phaseReleaseResult simulate(ReleaseDescriptor releaseDescriptor, Settings settings, List<MavenProject> reactorProjects) throws ReleaseExecutionException, ReleaseFailureException
simulate(ReleaseDescriptor, ReleaseEnvironment, List)
instead.releaseDescriptor
- the configuration to usesettings
- the settings.xml configurationreactorProjects
- the reactor projectsReleaseExecutionException
- an exception during the execution of the phaseReleaseFailureException
- a failure during the execution of the phaseReleaseResult clean(List<MavenProject> reactorProjects)
reactorProjects
- the reactor projectsCopyright © 2002–2014 The Apache Software Foundation. All rights reserved.