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 goalvoidsetBranchPhases(List<String> branchPhases) voidsetPerformPhases(List<String> performPhases) voidsetPreparePhases(List<String> preparePhases) voidsetRollbackPhases(List<String> rollbackPhases) voidsetUpdateVersionsPhases(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:StrategyThe release phases to execute the calling the prepare goal- Specified by:
getPreparePhasesin interfaceStrategy- Returns:
-
setPreparePhases
-
getPerformPhases
Description copied from interface:StrategyThe release phases to execute the calling the perform goal- Specified by:
getPerformPhasesin interfaceStrategy- Returns:
-
setPerformPhases
-
getRollbackPhases
Description copied from interface:StrategyThe release phases to execute the calling the rollback goal- Specified by:
getRollbackPhasesin interfaceStrategy- Returns:
-
setRollbackPhases
-
getBranchPhases
Description copied from interface:StrategyThe release phases to execute the calling the branch goal- Specified by:
getBranchPhasesin interfaceStrategy- Returns:
-
setBranchPhases
-
getUpdateVersionsPhases
Description copied from interface:StrategyThe release phases to execute the calling the update-versions goal- Specified by:
getUpdateVersionsPhasesin interfaceStrategy- Returns:
-
setUpdateVersionsPhases
-