Author: stain Date: Wed Sep 21 16:03:09 2016 New Revision: 1761776 URL: http://svn.apache.org/viewvc?rev=1761776&view=rev Log: updated build instructions (don't mention ant anymore)
Modified: commons/proper/beanutils/trunk/BUILDING.txt commons/proper/beanutils/trunk/src/site/xdoc/building.xml Modified: commons/proper/beanutils/trunk/BUILDING.txt URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/BUILDING.txt?rev=1761776&r1=1761775&r2=1761776&view=diff ============================================================================== --- commons/proper/beanutils/trunk/BUILDING.txt (original) +++ commons/proper/beanutils/trunk/BUILDING.txt Wed Sep 21 16:03:09 2016 @@ -1,6 +1,7 @@ # Apache BeanUtils build instructions Building BeanUtils requires: + - JDK 6/OpenJDK 6 or later (recommended: JDK 8) http://www.oracle.com/technetwork/java/javase/downloads/ @@ -25,8 +26,8 @@ You can skip the unit tests by adding th -To regenerate the web site -(e.g. for https://commons.apache.org/proper/commons-beanutils/) +To regenerate the web site (corresponding to the official +https://commons.apache.org/proper/commons-beanutils/ ) do mvn clean site Modified: commons/proper/beanutils/trunk/src/site/xdoc/building.xml URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/site/xdoc/building.xml?rev=1761776&r1=1761775&r2=1761776&view=diff ============================================================================== --- commons/proper/beanutils/trunk/src/site/xdoc/building.xml (original) +++ commons/proper/beanutils/trunk/src/site/xdoc/building.xml Wed Sep 21 16:03:09 2016 @@ -16,46 +16,79 @@ See the License for the specific languag limitations under the License. --> <document> - <properties> - <title>Building</title> - <author email="d...@commons.apache.org">Commons Documentation Team</author> - </properties> -<body> -<!-- ================================================== --> -<section name="Overview"> -<p> - Commons BeanUtils can be built using - <a href="http://maven.apache.org">Maven 2 or Maven 3</a> or - <a href="http://ant.apache.org">Ant</a> as the build system. -</p> - <p> - Further details can be found in the - <a href="http://commons.apache.org/building.html">commons build instructions</a>. - </p> -</section> -<!-- ================================================== --> -<section name="Maven 2 Goals"> - <p> - To build a jar file, change into BeanUtils's root directory and run - <strong><code>mvn package</code></strong>. - The result will be in the "target" subdirectory. - </p> - <p> - To build the full website, run <strong><code>mvn site</code></strong>. - The result will be in "target/site" subdirectory. - </p> - <p> - To build the full distribution, run <strong><code>mvn -Prc package</code></strong>. - The result will be in "target" subdirectory. - </p> -</section> -<!-- ================================================== --> -<section name="Ant Goals"> - <p> - To build a jar file and the javadocs, change into BeanUtils's root directory - and run <strong><code>ant dist</code></strong>. - The result will be in the "dist" subdirectory. - </p> -</section> -</body> + <properties> + <title>Building</title> + <author email="d...@commons.apache.org">Commons Documentation Team</author> + </properties> + <body> + <!-- ================================================== --> + <section name="Overview"> + <p> + Commons BeanUtils can be built using + <a href="http://maven.apache.org">Maven 3</a> + (Recommended: Maven 3.3) + and JDK 6 / OpenJDK 6 or later (recommended: JDK 8). + </p> + <p> + Further details can be found in the + <a href="http://commons.apache.org/building.html">commons build instructions</a>. + </p> + </section> + <!-- ================================================== --> + <section name="Maven 3 Goals"> + <p> + Build using + <a href="http://maven.apache.org">Maven 3</a> + is the preferred build method. + The compiled BeanUtils JAR should work with Java 6 or later. + </p> + + + <p> + To build + <code>target/commons-beanutils-*.jar</code> + </p> + + <pre> + mvn clean package + </pre> + + <p> + or to install into your + <code>~/.m2/repository</code> + </p> + + <pre> + mvn clean install + </pre> + + + <p> + You can skip the unit tests by adding the parameter + <code>-DskipTests=true</code> + </p> + + <p> + To regenerate the web site + (corresponding to + https://commons.apache.org/proper/commons-beanutils/) + </p> + + <pre> + mvn clean site + </pre> + + <p> + Note: the Apache Commons BeanUtils site should include a + <a href="japicmp.html">japicmp report</a> + for the + purpose of checking API version compatibility; to enable this, use Java 7 + or later and run instead: + </p> + + <pre> + mvn clean package site -Pjapicmp + </pre> + </section> + </body> </document>