Author: sebb Date: Sat Apr 30 12:16:19 2016 New Revision: 1741755 URL: http://svn.apache.org/viewvc?rev=1741755&view=rev Log: Tweaks
Modified: commons/proper/net/trunk/BUILDING.txt Modified: commons/proper/net/trunk/BUILDING.txt URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/BUILDING.txt?rev=1741755&r1=1741754&r2=1741755&view=diff ============================================================================== --- commons/proper/net/trunk/BUILDING.txt (original) +++ commons/proper/net/trunk/BUILDING.txt Sat Apr 30 12:16:19 2016 @@ -4,7 +4,7 @@ However, current versions of Maven tend 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 +$ mvn clean test -Pjava-1.6 For setting up your Maven installation to enable the use of the profile, please see: @@ -13,19 +13,24 @@ http://commons.apache.org/commons-parent Building the site will also generally require at least Java 7 to run Maven. To build the site from scratch, you can use: -mvn clean site [-Pjava-1.6] +$ mvn clean site [-Pjava-1.6] 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 +$ export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m" # Unix +C:> 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 +$ export MAVEN_OPTS="-Xmx512m" # Unix +C:> set MAVEN_OPTS="-Xmx512m" # Windows + +To install the component locally: + +$ mvn install To deploy: -mvn deploy -Prelease -Duser.name=*ASF ID* -Pjava-1.6 [-Ptest-deploy] +$ mvn deploy -Prelease -Duser.name=*ASF ID* -Pjava-1.6 [-Ptest-deploy] + The test-deploy profile deploys to target/deploy rather than Nexus