maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r1677202 - /maven/plugins/trunk/pom.xml
Date Fri, 01 May 2015 18:29:01 GMT
Author: dennisl
Date: Fri May  1 18:29:00 2015
New Revision: 1677202

URL: http://svn.apache.org/r1677202
Log:
Create a new profile "java-7" for plugins that require Java 7.
Move maven-checkstyle-plugin to the java-7 profile.

Modified:
    maven/plugins/trunk/pom.xml

Modified: maven/plugins/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/pom.xml?rev=1677202&r1=1677201&r2=1677202&view=diff
==============================================================================
--- maven/plugins/trunk/pom.xml (original)
+++ maven/plugins/trunk/pom.xml Fri May  1 18:29:00 2015
@@ -66,7 +66,7 @@ under the License.
     <module>maven-assembly-plugin</module>
     <module>maven-changelog-plugin</module>
     <module>maven-changes-plugin</module>
-    <!-- Moved to java-6 profile because it requires Java 6
+    <!-- Moved to java-7 profile because it requires Java 7
     <module>maven-checkstyle-plugin</module> -->
     <module>maven-clean-plugin</module>
     <module>maven-compiler-plugin</module>
@@ -110,7 +110,6 @@ under the License.
       <!-- For plugins that require at least Java 6 to build -->
       <id>java-6</id>
       <modules>
-        <module>maven-checkstyle-plugin</module>
         <module>maven-pmd-plugin</module>
         <module>maven-invoker-plugin</module>
       </modules>
@@ -119,6 +118,17 @@ under the License.
       </activation>
     </profile>
 
+    <profile>
+      <!-- For plugins that require at least Java 7 to build -->
+      <id>java-7</id>
+      <modules>
+        <module>maven-checkstyle-plugin</module>
+      </modules>
+      <activation>
+        <jdk>[1.7,)</jdk>
+      </activation>
+    </profile>
+
     <profile>
       <id>maven-3</id>
       <activation>



Mime
View raw message