Author: adangel
Date: Sun Aug  7 09:46:24 2016
New Revision: 1755426

URL: http://svn.apache.org/viewvc?rev=1755426&view=rev
Log:
[MPMD-226] Require Java 7

Modified:
    maven/plugins/trunk/maven-pmd-plugin/pom.xml
    maven/plugins/trunk/pom.xml

Modified: maven/plugins/trunk/maven-pmd-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/pom.xml?rev=1755426&r1=1755425&r2=1755426&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pmd-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-pmd-plugin/pom.xml Sun Aug  7 09:46:24 2016
@@ -82,8 +82,8 @@ under the License.
   <properties>
     <mavenVersion>2.2.1</mavenVersion>
     <doxiaVersion>1.4</doxiaVersion>
-    <!-- Because PMD 5.1+ requires Java 6 -->
-    <javaVersion>1.6</javaVersion>
+    <!-- Because PMD 5.4+ requires Java 7 -->
+    <javaVersion>1.7</javaVersion>
     <maven.compiler.source>${javaVersion}</maven.compiler.source>
     <maven.compiler.target>${javaVersion}</maven.compiler.target>
     <pmdVersion>5.3.5</pmdVersion>

Modified: maven/plugins/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/pom.xml?rev=1755426&r1=1755425&r2=1755426&view=diff
==============================================================================
--- maven/plugins/trunk/pom.xml (original)
+++ maven/plugins/trunk/pom.xml Sun Aug  7 09:46:24 2016
@@ -87,7 +87,7 @@ under the License.
     <module>maven-linkcheck-plugin</module>
     <module>maven-patch-plugin</module>
     <module>maven-pdf-plugin</module>
-    <!-- Moved to java-6 profile because it requires Java 6 -->
+    <!-- Moved to java-7 profile because it requires Java 7 -->
     <!-- <module>maven-pmd-plugin</module> -->
     <!--Moved to maven-3 profile as a workaround for MNG-3814
     <module>maven-project-info-reports-plugin</module>-->
@@ -110,7 +110,6 @@ under the License.
       <id>java-6</id>
       <modules>
         <module>maven-doap-plugin</module>
-        <module>maven-pmd-plugin</module>
         <module>maven-invoker-plugin</module>
         <module>maven-jar-plugin</module>
       </modules>
@@ -124,6 +123,7 @@ under the License.
       <id>java-7</id>
       <modules>
         <module>maven-checkstyle-plugin</module>
+        <module>maven-pmd-plugin</module>
       </modules>
       <activation>
         <jdk>[1.7,)</jdk>


Reply via email to