@Component(role=org.apache.maven.AbstractMavenLifecycleParticipant.class,
hint="rtr")
public class RTR
extends org.apache.maven.AbstractMavenLifecycleParticipant
Modifier and Type | Field and Description |
---|---|
protected Map<String,SmartReactorStep> |
availableSteps |
protected List<String> |
endFailureSteps |
protected List<String> |
endSuccessSteps |
protected List<String> |
startSteps |
Constructor and Description |
---|
RTR() |
Modifier and Type | Method and Description |
---|---|
void |
afterProjectsRead(org.apache.maven.execution.MavenSession session)
RTR entry point.
|
void |
afterSessionEnd(org.apache.maven.execution.MavenSession session) |
boolean |
isBackupPomsCreated()
Indicates whether or not backup POMs were created by the release process.
|
boolean |
isExternalSnapshotsAllowed()
Indicates whether or not the Smart Reactor should allow a release reactor
containing references to any non-reactor SNAPSHOT artifacts.
|
boolean |
isRelease()
Indicates whether or not a release was requested.
|
void |
setBackupPomsCreated(boolean backupPomsCreated)
Sets the flag that indicates whether or not backup POMs were created by the
release process.
|
@Requirement(role=SmartReactorStep.class) protected Map<String,SmartReactorStep> availableSteps
public void afterProjectsRead(org.apache.maven.execution.MavenSession session) throws org.apache.maven.MavenExecutionException
afterProjectsRead
in class org.apache.maven.AbstractMavenLifecycleParticipant
session
- the current Maven session, never null.org.apache.maven.MavenExecutionException
public void afterSessionEnd(org.apache.maven.execution.MavenSession session) throws org.apache.maven.MavenExecutionException
afterSessionEnd
in class org.apache.maven.AbstractMavenLifecycleParticipant
org.apache.maven.MavenExecutionException
public boolean isBackupPomsCreated()
public boolean isExternalSnapshotsAllowed()
public boolean isRelease()
public void setBackupPomsCreated(boolean backupPomsCreated)
backupPomsCreated
- true if backup POMs have been created, false otherwise.Copyright © 2016. All rights reserved.