public class RestoreBackupPomsPhase extends AbstractBackupPomsPhase
ROLE| Constructor and Description |
|---|
RestoreBackupPomsPhase() |
| Modifier and Type | Method and Description |
|---|---|
ReleaseResult |
execute(ReleaseDescriptor releaseDescriptor,
ReleaseEnvironment releaseEnvironment,
List<org.apache.maven.project.MavenProject> reactorProjects)
Execute the phase.
|
protected void |
restorePomBackup(ReleaseDescriptor releaseDescriptor,
ReleaseEnvironment releaseEnvironment,
org.apache.maven.project.MavenProject project) |
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.
|
deletePomBackup, getPomBackupclean, execute, getReleaseResultSuccess, logDebug, logError, logInfo, logWarn, simulatepublic ReleaseResult execute(ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, List<org.apache.maven.project.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<org.apache.maven.project.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 void restorePomBackup(ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, org.apache.maven.project.MavenProject project) throws ReleaseExecutionException, ReleaseFailureException
Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.