[maven-plugin-tools] branch master updated: [MPLUGIN-368] Improve @Execute(goal...) docs (#31)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[maven-plugin-tools] branch master updated: [MPLUGIN-368] Improve @Execute(goal...) docs (#31)

mthmulders
This is an automated email from the ASF dual-hosted git repository.

mthmulders pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-plugin-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new f574628  [MPLUGIN-368] Improve @Execute(goal...) docs (#31)
f574628 is described below

commit f574628a311097eeb7c06b1838e6a1d92c71f27f
Author: Maarten Mulders <[hidden email]>
AuthorDate: Sat Nov 21 19:41:04 2020 +0100

    [MPLUGIN-368] Improve @Execute(goal...) docs (#31)
   
    * [MPLUGIN-368] Improve @Execute(goal...) docs
   
    * [MPLUGIN-368] Improve wording
---
 .../src/main/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 1cf479b..e08a7e6 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 @@ public @interface Execute
     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 <code>goal</code> must be
+     * another goal of the same plugin.
      * @return the goal
      */
     String goal() default "";