You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2015/02/07 11:48:13 UTC

svn commit: r1658048 - /maven/plugins/trunk/maven-checkstyle-plugin/pom.xml

Author: dennisl
Date: Sat Feb  7 10:48:13 2015
New Revision: 1658048

URL: http://svn.apache.org/r1658048
Log:
[MCHECKSTYLE-277] Require Java 6

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

Modified: maven/plugins/trunk/maven-checkstyle-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/pom.xml?rev=1658048&r1=1658047&r2=1658048&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/pom.xml Sat Feb  7 10:48:13 2015
@@ -58,7 +58,10 @@ under the License.
   </distributionManagement>
 
   <properties>
-    <javaVersion>1.5</javaVersion>
+    <!-- Because Checkstyle 5.9+ requires Java 6 -->
+    <javaVersion>1.6</javaVersion>
+    <maven.compiler.source>${javaVersion}</maven.compiler.source>
+    <maven.compiler.target>${javaVersion}</maven.compiler.target>
     <mavenVersion>2.2.1</mavenVersion>
     <checkstyleVersion>5.8</checkstyleVersion>
     <doxiaVersion>1.4</doxiaVersion>
@@ -364,7 +367,7 @@ under the License.
             <artifactId>maven-plugin-plugin</artifactId>
             <configuration>
               <requirements>
-                <jdk>1.5</jdk>
+                <jdk>${javaVersion}</jdk>
               </requirements>
             </configuration>
           </plugin>