public abstract class AbstractSmartReactorReleaseStep extends AbstractSmartReactorStep
| Modifier and Type | Field and Description | 
|---|---|
protected Map<String,org.apache.maven.shared.release.phase.ReleasePhase> | 
availablePhases  | 
protected org.apache.maven.shared.release.config.ReleaseDescriptor | 
releaseDescriptor  | 
protected org.apache.maven.shared.release.env.ReleaseEnvironment | 
releaseEnvironment  | 
protected RTR | 
rtr  | 
logger| Constructor and Description | 
|---|
AbstractSmartReactorReleaseStep()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
configureReleaseDescriptor(org.apache.maven.execution.MavenSession session,
                          RTRComponents components)
Subclasses can override this method to configure the release descriptor
 injected by Plexus. 
 | 
void | 
execute(org.apache.maven.execution.MavenSession session,
       RTRComponents components)
Executes this step. 
 | 
protected abstract String | 
getAnnouncement()
Returns the announcement that is logged when this release step begins
 execution. 
 | 
protected abstract List<String> | 
getReleasePhases()
Returns the list of phases that should be executed by this release step. 
 | 
protected abstract List<String> | 
getRollbackPhases()
Returns the list of phases that should be executed by this release step
 when rollback is required. 
 | 
protected void | 
releaseExecute(org.apache.maven.execution.MavenSession session,
              RTRComponents components)
Step logic that is executed if a release was requested. 
 | 
@Requirement(role=org.apache.maven.AbstractMavenLifecycleParticipant.class,
             hint="rtr")
protected RTR rtr
@Requirement(role=org.apache.maven.shared.release.phase.ReleasePhase.class) protected Map<String,org.apache.maven.shared.release.phase.ReleasePhase> availablePhases
@Requirement(hint="rtr-rd") protected org.apache.maven.shared.release.config.ReleaseDescriptor releaseDescriptor
@Requirement(hint="rtr-re") protected org.apache.maven.shared.release.env.ReleaseEnvironment releaseEnvironment
protected void configureReleaseDescriptor(org.apache.maven.execution.MavenSession session,
                              RTRComponents components)
session - the session to which this step applies. Not null.components - that this step may need. May be null.public final void execute(org.apache.maven.execution.MavenSession session,
           RTRComponents components)
                   throws org.apache.maven.MavenExecutionException
SmartReactorStepsession - the session to which this step applies. Not null.components - that this step may need. May be null.org.apache.maven.MavenExecutionException - if any unrecoverable error occurs.protected abstract String getAnnouncement()
protected abstract List<String> getReleasePhases()
UnsupportedOperationException - if this step does not execute any release phases.protected abstract List<String> getRollbackPhases()
UnsupportedOperationException - if this step does not execute any release phases.protected void releaseExecute(org.apache.maven.execution.MavenSession session,
                  RTRComponents components)
                       throws org.apache.maven.MavenExecutionException
session - the session to which this step applies. Not null.components - that this step may need. May be null.org.apache.maven.MavenExecutionException - if any unrecoverable error occurs.Copyright © 2016. All rights reserved.