Annotation Interface Execute
Used if your Mojo needs to fork a lifecycle.
- Since:
- 3.0
- Author:
- Olivier Lamy
-
Optional Element Summary
-
Element Details
-
phase
lifecycle phase to fork. Note that specifying a phase overrides specifying a goal.- Returns:
- the phase
- Default:
- NONE
-
goal
goal 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
lifecycle 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:
- Lifecycle Mappings
- Default:
- ""
-