commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r922317 - /commons/proper/commons-site/src/site/xdoc/commons-parent-pom.xml
Date Fri, 12 Mar 2010 16:31:07 GMT
Author: sebb
Date: Fri Mar 12 16:31:07 2010
New Revision: 922317

URL: http://svn.apache.org/viewvc?rev=922317&view=rev
Log:
Tweaks

Modified:
    commons/proper/commons-site/src/site/xdoc/commons-parent-pom.xml

Modified: commons/proper/commons-site/src/site/xdoc/commons-parent-pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/commons-site/src/site/xdoc/commons-parent-pom.xml?rev=922317&r1=922316&r2=922317&view=diff
==============================================================================
--- commons/proper/commons-site/src/site/xdoc/commons-parent-pom.xml (original)
+++ commons/proper/commons-site/src/site/xdoc/commons-parent-pom.xml Fri Mar 12 16:31:07 2010
@@ -50,7 +50,7 @@
         </p>
         <ul>
           <li>
-            <strong>Reproducable Build</strong> - It is important that builds
are consistently <i>reproducible</i>
+            <strong>Reproducible Build</strong> - It is important that builds
are consistently <i>reproducible</i>
             and in order to achieve this with Maven the same <a href="http://maven.apache.org/plugins/">Plugin</a>
             versions need to be used each time.
             <a href="http://svn.apache.org/repos/asf/commons/proper/commons-parent/trunk/pom.xml">commons-parent</a>
@@ -239,19 +239,33 @@
           provides <i>profiles</i> for compiling/testing under different Java
versions:
         </p>
         <ul>
-            <li><code>java-1.3</code> for testing using Java 1.3</li>
-            <li><code>java-1.4</code> for testing using Java 1.4</li>
-            <li><code>java-1.5</code> for testing using Java 1.5</li>
-            <li><code>java-1.6</code> for testing using Java 1.6</li>
+            <li><code>java-1.3</code> for compiling and testing using Java
1.3</li>
+            <li><code>java-1.4</code> for compiling and testing using Java
1.4</li>
+            <li><code>java-1.5</code> for compiling and testing using Java
1.5</li>
+            <li><code>java-1.6</code> for compiling and testing using Java
1.6</li>
         </ul>
         <p>
           In order for these profiles to work, you need to configure the <code>JAVA_1_3_HOME</code>,
           <code>JAVA_1_4_HOME</code>, <code>JAVA_1_5_HOME</code>
and <code>JAVA_1_6_HOME</code>
-          properties in your <code>settings.xml</code> file (or as environment
variables). See
+          properties in your <code>settings.xml</code> file (or as environment
variables or even command-line properties). See
           <a href="http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using-different-jdk.html">here</a>
for details.
+          There is no need to configure all the properties. 
+          Each property should be set to the <code>directory</code> where the
relevant version of the JDK is installed.
+          For example on a Windows system the values might be: 
+        <source>
+            &lt;properties&gt;
+                &lt;JAVA_1_3_HOME&gt;C:\jdk1.3.1_20&lt;/JAVA_1_3_HOME&gt;
+                &lt;JAVA_1_4_HOME&gt;C:\j2sdk1.4.2_19&lt;/JAVA_1_4_HOME&gt;
+                &lt;JAVA_1_5_HOME&gt;C:\jdk1.5.0_22&lt;/JAVA_1_5_HOME&gt;
+                &lt;JAVA_1_6_HOME&gt;C:\jdk1.6.0_18&lt;/JAVA_1_6_HOME&gt;
+            &lt;/properties&gt;
+        </source>
+          (Since the values only depend on the location of the Java installations on your
local machine,
+          and will probably not change frequently, using the <code>settings.xml</code>
file is generally
+          the most convenient).
         </p>
         <p>
-          Once you have configured those properties you can, for example, test using Java
1.4 using the following command:
+          Once you have configured those properties you can, for example, compile and test
with Java 1.4 using the following command:
         </p>
         <source>
             mvn -Pjava-1.4 clean test



Mime
View raw message