Skip to content

Commit 9d1289e

Browse files
authored
[MPLUGIN-367] Improve @execute(lifecycle...) docs (#30)
* [MPLUGIN-367] Improve @execute(lifecycle...) docs * Improve docs to emphasise the semantics of @execute(lifecycle...) * Add reference to lifecycle mapping doc * Of course it should be https
1 parent f574628 commit 9d1289e

File tree

1 file changed

+4
-1
lines changed
  • maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations

1 file changed

+4
-1
lines changed

maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Execute.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@
5252
String goal() default "";
5353

5454
/**
55-
* lifecycle id to fork.
55+
* lifecycle id of the lifecycle that defines {@link #phase()}. Only valid in combination with {@link #phase()}. If
56+
* not specified, Maven will use the lifecycle of the current build.
57+
*
58+
* @see <a href="https://maven.apache.org/maven-plugin-api/lifecycle-mappings.html">Lifecycle Mappings</a>
5659
* @return the lifecycle id
5760
*/
5861
String lifecycle() default "";

0 commit comments

Comments
 (0)