public interface ReleasePhase
Modifier and Type | Method and Description |
---|---|
ReleaseResult |
execute(ReleaseDescriptor releaseDescriptor,
ReleaseEnvironment releaseEnvironment,
List<org.apache.maven.project.MavenProject> reactorProjects)
Execute the phase.
|
ReleaseResult |
simulate(ReleaseDescriptor releaseDescriptor,
ReleaseEnvironment releaseEnvironment,
List<org.apache.maven.project.MavenProject> reactorProjects)
Simulate the phase, but don't make any changes to the project.
|
ReleaseResult execute(ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, List<org.apache.maven.project.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<org.apache.maven.project.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 phaseCopyright © 2002–2024 The Apache Software Foundation. All rights reserved.