diff --git a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java index 1044800..bc6d394 100644 --- a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java +++ b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java @@ -124,7 +124,18 @@ public class PluginReport private Requirements requirements; /** - * The goal prefix that will appear before the ":". + * The goal prefix that will appear before the ":". + * By default, this plugin applies a heuristic to derive a heuristic from + * the plugin's artifactId. + * + * It removes any occurrences of the regular expression -?maven-?, + * and then removes any occurrences of -?plugin-?. + *

+ * For example, horsefeature-maven-plugin becomes horsefeather. + *

+ *

+ * (There is a special for maven-plugin-plugin; it is mapped to 'plugin'. + *

* * @parameter expression="${goalPrefix}" * @since 2.4