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, getScmRepository
execute, getReleaseResultSuccess, getResourceBundle, logDebug, logDebug, logError, logInfo, logWarn, simulate
public ReleaseResult execute(ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, List<MavenProject> reactorProjects) throws ReleaseExecutionException, ReleaseFailureException
ReleasePhase
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 phasepublic ReleaseResult simulate(ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, List<MavenProject> reactorProjects) throws ReleaseExecutionException, ReleaseFailureException
ReleasePhase
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 phaseprotected Map<String,String> getOriginalVersionMap(ReleaseDescriptor releaseDescriptor, List<MavenProject> reactorProjects)
protected Map<String,String> getNextVersionMap(ReleaseDescriptor releaseDescriptor)
public ReleaseResult clean(List<MavenProject> reactorProjects)
ReleasePhase
clean
in interface ReleasePhase
clean
in class AbstractReleasePhase
reactorProjects
- the reactor projectsCopyright © 2002–2014 The Apache Software Foundation. All rights reserved.