mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robina...@apache.org
Subject svn commit: r1488712 - /mahout/trunk/pom.xml
Date Sun, 02 Jun 2013 13:49:51 GMT
Author: robinanil
Date: Sun Jun  2 13:49:51 2013
New Revision: 1488712

URL: http://svn.apache.org/r1488712
Log:
MAHOUT-1194 Allow to change java target version during the build by Jarek Jarcec Cecho

Modified:
    mahout/trunk/pom.xml

Modified: mahout/trunk/pom.xml
URL: http://svn.apache.org/viewvc/mahout/trunk/pom.xml?rev=1488712&r1=1488711&r2=1488712&view=diff
==============================================================================
--- mahout/trunk/pom.xml (original)
+++ mahout/trunk/pom.xml Sun Jun  2 13:49:51 2013
@@ -95,6 +95,8 @@
   </mailingLists>
   <properties>
     <skipTests>false</skipTests>
+    <sourceJavaVersion>1.6</sourceJavaVersion>
+    <targetJavaVersion>1.6</targetJavaVersion>
     <maven.clover.multiproject>true</maven.clover.multiproject>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <hadoop.version>1.1.2</hadoop.version>
@@ -566,8 +568,8 @@
           <version>3.1</version>
           <configuration>
             <encoding>UTF-8</encoding>
-            <source>1.6</source>
-            <target>1.6</target>
+	    <source>${sourceJavaVersion}</source>
+	    <target>${targetJavaVersion}</target>
             <optimize>true</optimize>
           </configuration>
         </plugin>
@@ -619,7 +621,7 @@
               <ruleset>../buildtools/src/main/resources/mahout-pmd-ruleset.xml</ruleset>
             </rulesets>
             <sourceEncoding>UTF-8</sourceEncoding>
-            <targetJdk>1.6</targetJdk>
+	    <targetJdk>${targetJavaVersion}</targetJdk>
             <linkXRef>false</linkXRef>
             <includeTests>true</includeTests>
             <verbose>true</verbose>
@@ -910,7 +912,7 @@
             <ruleset>../buildtools/src/main/resources/mahout-pmd-ruleset.xml</ruleset>
           </rulesets>
           <sourceEncoding>UTF-8</sourceEncoding>
-          <targetJdk>1.6</targetJdk>
+	  <targetJdk>${targetJavaVersion}</targetJdk>
           <linkXRef>false</linkXRef>
           <includeTests>true</includeTests>
           <verbose>true</verbose>



Mime
View raw message