You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2018/01/18 22:20:53 UTC

[maven-plugin-tools] branch master updated: [MPLUGIN-293] documented default values for Maven and JDK requirements

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

hboutemy 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 039846e  [MPLUGIN-293] documented default values for Maven and JDK requirements
039846e is described below

commit 039846e02ff5189841d243aeabee7c612909ddce
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Thu Jan 18 23:20:52 2018 +0100

    [MPLUGIN-293] documented default values for Maven and JDK requirements
---
 .../src/main/java/org/apache/maven/plugin/plugin/PluginReport.java | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

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 ee17f53..4f9a0fb 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
@@ -71,7 +71,6 @@ import org.codehaus.plexus.util.xml.Xpp3Dom;
  *
  * @author <a href="snicoll@apache.org">Stephane Nicoll</a>
  * @author <a href="mailto:vincent.siveton@gmail.com">Vincent Siveton</a>
- * @version $Id$
  * @since 2.0
  */
 @Mojo( name = "report", threadSafe = true )
@@ -128,6 +127,10 @@ public class PluginReport
      *   &lt;/others&gt;
      * &lt;/requirements&gt;
      * </pre>
+     * 
+     * If not is specified, Maven requirement is extracted from
+     * <code>&lt;project&gt;&lt;prerequisites&gt;&lt;maven&gt;</code>
+     * and JDK requirement is extracted from maven-compiler-plugin configuration.
      */
     @Parameter
     private Requirements requirements;
@@ -143,7 +146,7 @@ public class PluginReport
      * For example, horsefeature-maven-plugin becomes horsefeature.
      * </p>
      * <p>
-     * (There is a special for maven-plugin-plugin; it is mapped to 'plugin'.
+     * (There is a special case for maven-plugin-plugin: it is mapped to 'plugin')
      * </p>
      *
      * @since 2.4

-- 
To stop receiving notification emails like this one, please contact
['"commits@maven.apache.org" <co...@maven.apache.org>'].