Building Maven (with Maven)

ant 1.5 or better must be installed

ANT_HOME enviromnent variable must be set

MAVEN_HOME enviromnent variable must be set.

(this is where maven will be built to. NOT the cvs download dir)





From the cvs maven directory, run:



ant -f build-bootstrap.xml



This will build maven to its installation dir (%MAVEN_HOME%).

To be able to use maven, you must add ANT_HOME and MAVEN_HOME to the PATH.

Building the Maven Documentation

To build the documentation:



there is currently a problem compiling all the plugin docs due to an OutOfMemoryError.

as a workaround, make the following change to MAVEN_HOME/bin/maven.bat


REM SET MAVEN_OPTS=-Xmx128m

SET MAVEN_OPTS=-Xmx1024m




from the cvs maven directory, run:



maven site



maven maven:plugin-docs