mirror of https://github.com/apache/maven.git
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:
parent
2eab8924a9
commit
fdcd34dd37
12
README.md
12
README.md
|
@ -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!
|
||||
|
|
Loading…
Reference in New Issue