Annotation Type Execute
Used if your Mojo needs to fork a lifecycle.
- Since:
- 4.0
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionCustom lifecycle phase to fork.Goal to fork.Lifecycle id of the lifecycle that definesphase()
.Lifecycle phase to fork.
-
Element Details
-
phase
LifecyclePhase 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
-
customPhase
String 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:
- ""
-
goal
String goalGoal to fork. Note that specifying a phase overrides specifying a goal. The specifiedgoal
must be another goal of the same plugin.- Returns:
- the goal
- Default:
- ""
-
lifecycle
String 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:
- ""
-