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

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


The following commit(s) were added to refs/heads/master by this push:
     new bfff835  [MPMD-245] targetJdk property should use 
maven.compiler.source by default
bfff835 is described below

commit bfff835d630466ed77ba5fe28f482e7a1c254282
Author: Andreas Dangel <adan...@apache.org>
AuthorDate: Sun Dec 17 11:36:46 2017 +0100

    [MPMD-245] targetJdk property should use maven.compiler.source by default
---
 src/main/java/org/apache/maven/plugins/pmd/PmdReport.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugins/pmd/PmdReport.java 
b/src/main/java/org/apache/maven/plugins/pmd/PmdReport.java
index 7034ad0..9db12c4 100644
--- a/src/main/java/org/apache/maven/plugins/pmd/PmdReport.java
+++ b/src/main/java/org/apache/maven/plugins/pmd/PmdReport.java
@@ -82,14 +82,14 @@ public class PmdReport
     extends AbstractPmdReport
 {
     /**
-     * The target JDK to analyze based on. Should match the target used in the 
compiler plugin. Valid values are
-     * currently <code>1.3</code>, <code>1.4</code>, <code>1.5</code>, 
<code>1.6</code>, <code>1.7</code> and
-     * <code>1.8</code>.
+     * The target JDK to analyze based on. Should match the source used in the 
compiler plugin. Valid values are
+     * currently <code>1.3</code>, <code>1.4</code>, <code>1.5</code>, 
<code>1.6</code>, <code>1.7</code>,
+     * <code>1.8</code> and <code>9</code>.
      * <p>
      *   <b>Note:</b> this parameter is only used if the language parameter is 
set to <code>java</code>.
      * </p>
      */
-    @Parameter( property = "targetJdk", defaultValue = 
"${maven.compiler.target}" )
+    @Parameter( property = "targetJdk", defaultValue = 
"${maven.compiler.source}" )
     private String targetJdk;
 
     /**

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

Reply via email to