Annotation Type Execute
Used if your Mojo needs to fork a lifecycle.
- Since:
- 4.0
- 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescriptionCustom lifecycle phase to fork.Goal to fork.Lifecycle id of the lifecycle that definesphase().Lifecycle phase to fork.
- 
Element Details- 
phaseLifecyclePhase phaseLifecycle phase to fork. Note that specifying a phase overrides specifying a goal. For custom lifecycle phase ids usecustomPhase()instead. Only one ofcustomPhase()andphase()must be set.- Returns:
- the phase
 - Default:
- NONE
 
- 
customPhaseString customPhaseCustom lifecycle phase to fork. Note that specifying a phase overrides specifying a goal. This element should only be used for non-standard phases. For standard phases rather usephase(). Only one ofcustomPhase()andphase()must be set.- Returns:
- the custom phase id
 - Default:
- ""
 
- 
goalString goalGoal to fork. Note that specifying a phase overrides specifying a goal. The specifiedgoalmust be another goal of the same plugin.- Returns:
- the goal
 - Default:
- ""
 
- 
lifecycleString lifecycleLifecycle id of the lifecycle that definesphase(). Only valid in combination withphase(). If not specified, Maven will use the lifecycle of the current build.- Returns:
- the lifecycle id
- See Also:
 - Default:
- ""
 
 
-