From f574628a311097eeb7c06b1838e6a1d92c71f27f Mon Sep 17 00:00:00 2001 From: Maarten Mulders Date: Sat, 21 Nov 2020 19:41:04 +0100 Subject: [PATCH] [MPLUGIN-368] Improve @Execute(goal...) docs (#31) * [MPLUGIN-368] Improve @Execute(goal...) docs * [MPLUGIN-368] Improve wording --- .../java/org/apache/maven/plugins/annotations/Execute.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Execute.java b/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Execute.java index 1cf479bf8..e08a7e638 100644 --- a/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Execute.java +++ b/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Execute.java @@ -45,7 +45,8 @@ LifecyclePhase phase() default LifecyclePhase.NONE; /** - * goal to fork. Note that specifying a phase overrides specifying a goal. + * goal to fork. Note that specifying a phase overrides specifying a goal. The specified goal must be + * another goal of the same plugin. * @return the goal */ String goal() default "";