Annotation Type Execute
-
@Documented @Retention(CLASS) @Target(TYPE) @Inherited public @interface Execute
Used if your Mojo needs to fork a lifecycle.- Since:
- 3.0
- Author:
- Olivier Lamy
-
-
Element Detail
-
phase
LifecyclePhase phase
lifecycle phase to fork. Note that specifying a phase overrides specifying a goal.- Returns:
- the phase
- Default:
- org.apache.maven.plugins.annotations.LifecyclePhase.NONE
-
-
-
goal
String goal
goal to fork. Note that specifying a phase overrides specifying a goal.- Returns:
- the goal
- Default:
- ""
-
-
-
lifecycle
String lifecycle
lifecycle id to fork.- Returns:
- the lifecycle id
- Default:
- ""
-
-