Simplify the bootstrapping instructions to remove use of M2_HOME.

As part of deprecating the M2_HOME environment variable (MNGSITE-223),
change the bootstrapping instructions so that it's no longer used.

Signed-off-by: Jason van Zyl <jason@tesla.io>
This commit is contained in:
Joseph Walton 2015-02-21 18:03:14 +11:00 committed by Jason van Zyl
parent 2eab8924a9
commit fdcd34dd37
1 changed files with 3 additions and 9 deletions

View File

@ -14,16 +14,10 @@ If you want to bootstrap Maven, you'll need:
- Java 1.6+
- Ant 1.8 or later
First, give Ant a location into which the completed Maven distro should be installed:
Run Ant, specifying a location into which the completed Maven distro should be installed:
```
export M2_HOME=$HOME/apps/maven/apache-maven-3.2.x-SNAPSHOT
ant -Dmaven.home="$HOME/apps/maven/apache-maven-3.2.x-SNAPSHOT"
```
Then, run Ant:
```
ant
```
Once the build completes, you should have a new Maven distro ready to roll in your $M2_HOME directory!
Once the build completes, you should have a new Maven distro ready to roll in that directory!