public class GenerateReleasePomsPhase extends AbstractReleasePomsPhase
|
ROLE| Constructor and Description |
|---|
GenerateReleasePomsPhase() |
| 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.
|
protected Map<String,String> |
getNextVersionMap(ReleaseDescriptor releaseDescriptor) |
protected Map<String,String> |
getOriginalVersionMap(ReleaseDescriptor releaseDescriptor,
List<MavenProject> reactorProjects) |
ReleaseResult |
simulate(ReleaseDescriptor releaseDescriptor,
ReleaseEnvironment releaseEnvironment,
List<MavenProject> reactorProjects)
Simulate the phase, but don't make any changes to the project.
|
getScmProvider, getScmRepositoryexecute, getReleaseResultSuccess, getResourceBundle, logDebug, logDebug, logError, logInfo, logWarn, simulatepublic ReleaseResult execute(ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, List<MavenProject> reactorProjects) throws ReleaseExecutionException, ReleaseFailureException
ReleasePhasereleaseDescriptor - 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 phasepublic ReleaseResult simulate(ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, List<MavenProject> reactorProjects) throws ReleaseExecutionException, ReleaseFailureException
ReleasePhasereleaseDescriptor - 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 phaseprotected Map<String,String> getOriginalVersionMap(ReleaseDescriptor releaseDescriptor, List<MavenProject> reactorProjects)
protected Map<String,String> getNextVersionMap(ReleaseDescriptor releaseDescriptor)
public ReleaseResult clean(List<MavenProject> reactorProjects)
ReleasePhaseclean in interface ReleasePhaseclean in class AbstractReleasePhasereactorProjects - the reactor projectsCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.