You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by rd...@apache.org on 2009/05/19 20:43:23 UTC

svn commit: r776408 - /james/mpt/trunk/pom.xml

Author: rdonkin
Date: Tue May 19 18:43:22 2009
New Revision: 776408

URL: http://svn.apache.org/viewvc?rev=776408&view=rev
Log:
Use properties to set JDK version

Modified:
    james/mpt/trunk/pom.xml

Modified: james/mpt/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/mpt/trunk/pom.xml?rev=776408&r1=776407&r2=776408&view=diff
==============================================================================
--- james/mpt/trunk/pom.xml (original)
+++ james/mpt/trunk/pom.xml Tue May 19 18:43:22 2009
@@ -53,8 +53,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
           <optimize>true</optimize>
-          <source>1.5</source>
-          <target>1.5</target>
+          <source>${target.jdk}</source>
+          <target>${target.jdk}</target>
           <encoding>iso8859-1</encoding>
         </configuration>
       </plugin>
@@ -246,14 +246,14 @@
         <inherited>true</inherited>
         <configuration>
           <aggregate>true</aggregate>
-          <targetjdk>1.4</targetjdk>
+          <targetjdk>${target.jdk}</targetjdk>
           <rulesets>
             <ruleset>/rulesets/basic.xml</ruleset>
             <ruleset>/rulesets/controversial.xml</ruleset>
           </rulesets>
           <format>xml</format>
           <linkXref>true</linkXref>
-          <sourceEncoding>utf-8</sourceEncoding>
+          <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
           <minimumTokens>100</minimumTokens>
         </configuration>
       </plugin>
@@ -378,6 +378,7 @@
     <!-- Overridding this value allows single set of loopback settings to be maintained -->
     <james.www.id>mpt-website</james.www.id>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <target.jdk>1.5</target.jdk>
   </properties>
 
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org