Author: sebb Date: Fri Apr 15 20:47:47 2016 New Revision: 1739365 URL: http://svn.apache.org/viewvc?rev=1739365&view=rev Log: How to build
Added: commons/proper/validator/trunk/BUILDING.txt (with props) Added: commons/proper/validator/trunk/BUILDING.txt URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/BUILDING.txt?rev=1739365&view=auto ============================================================================== --- commons/proper/validator/trunk/BUILDING.txt (added) +++ commons/proper/validator/trunk/BUILDING.txt Fri Apr 15 20:47:47 2016 @@ -0,0 +1,22 @@ +The code requires at least Java 1.6 to build. + +However, current versions of Maven tend to require at least Java 7. + +If you want to build and test the code using Java 1.6, use the profile -Pjava-1.6, e.g. + +mvn clean test -Pjava-1.6 + +For setting up your Maven installation to enable the use of the profile, please see: + +http://commons.apache.org/commons-parent-pom.html#Testing_with_different_Java_versions + +Building the site will also generally require at least Java 7. +Also, ensure Maven has enough memory when using Java 7: + +export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m" # Unix +set MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m" # Windows + +For Java 8+, the MaxPermSize option should be removed: + +export MAVEN_OPTS="-Xmx512m" # Unix +set MAVEN_OPTS="-Xmx512m" # Windows Propchange: commons/proper/validator/trunk/BUILDING.txt ------------------------------------------------------------------------------ svn:eol-style = native