Class DefaultStrategy
java.lang.Object
org.apache.maven.shared.release.strategies.DefaultStrategy
- All Implemented Interfaces:
Strategy
- Since:
- 3.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe phases to create a branch.The phases of release to run to perform.The phases of release to run, and in what order.The phases of release to run to rollback changesThe phases to create update versions. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe release phases to execute the calling the branch goalThe release phases to execute the calling the perform goalThe release phases to execute the calling the prepare goalThe release phases to execute the calling the rollback goalThe release phases to execute the calling the update-versions goalvoid
setBranchPhases
(List<String> branchPhases) void
setPerformPhases
(List<String> performPhases) void
setPreparePhases
(List<String> preparePhases) void
setRollbackPhases
(List<String> rollbackPhases) void
setUpdateVersionsPhases
(List<String> updateVersionsPhases)
-
Field Details
-
preparePhases
The phases of release to run, and in what order. -
performPhases
The phases of release to run to perform. -
rollbackPhases
The phases of release to run to rollback changes -
branchPhases
The phases to create a branch. -
updateVersionsPhases
The phases to create update versions.
-
-
Constructor Details
-
DefaultStrategy
public DefaultStrategy()
-
-
Method Details
-
getPreparePhases
Description copied from interface:Strategy
The release phases to execute the calling the prepare goal- Specified by:
getPreparePhases
in interfaceStrategy
- Returns:
-
setPreparePhases
-
getPerformPhases
Description copied from interface:Strategy
The release phases to execute the calling the perform goal- Specified by:
getPerformPhases
in interfaceStrategy
- Returns:
-
setPerformPhases
-
getRollbackPhases
Description copied from interface:Strategy
The release phases to execute the calling the rollback goal- Specified by:
getRollbackPhases
in interfaceStrategy
- Returns:
-
setRollbackPhases
-
getBranchPhases
Description copied from interface:Strategy
The release phases to execute the calling the branch goal- Specified by:
getBranchPhases
in interfaceStrategy
- Returns:
-
setBranchPhases
-
getUpdateVersionsPhases
Description copied from interface:Strategy
The release phases to execute the calling the update-versions goal- Specified by:
getUpdateVersionsPhases
in interfaceStrategy
- Returns:
-
setUpdateVersionsPhases
-