Author: oheger
Date: Mon Aug 29 10:20:15 2011
New Revision: 1162717
URL: http://svn.apache.org/viewvc?rev=1162717&view=rev
Log:
Minor improvements of building page.
Modified:
commons/proper/configuration/trunk/src/site/xdoc/building.xml
Modified: commons/proper/configuration/trunk/src/site/xdoc/building.xml
URL:
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/site/xdoc/building.xml?rev=1162717&r1=1162716&r2=1162717&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/site/xdoc/building.xml (original)
+++ commons/proper/configuration/trunk/src/site/xdoc/building.xml Mon Aug 29
10:20:15 2011
@@ -37,13 +37,23 @@
<section name="Maven 2">
<p>
- Commons Configuration uses Maven 2 as its build tool. To build the
Configuration
+ Commons Configuration uses Maven 2 as its build tool. The
recommended
+ version is Maven 2.2.1. To build the Configuration
jar, change into the directory where the source distribution
resides and run
"mvn install". This will compile the source and tests, run the
tests, and then
package the jar. The jar will also be copied into the local maven
repository
for use by other builds.
</p>
<p>
+ This build requires a JDK 1.5 or higher. It is possible to build
+ Commons Configuration on a JDK 1.4 by specifying the "java-1.4"
+ profile: "mvn install -Pjava-1.4". This profile and the settings
required are described in
+ detail in <a
href="http://commons.apache.org/commons-parent-pom.html#Testing_with_different_Java_versions">
+ Testing with different Java versions</a>. If this profile is
active,
+ some classes depending on Commons VFS (which is available for Java
+ 1.5+ only) are excluded from compilation.
+ </p>
+ <p>
To build the web site run "mvn site". When it completes the web
site will reside in
the target/site directory and may be viewed by opening
target/site/index.html.
</p>