Skip to content

Commit

Permalink
Simplify the bootstrapping instructions to remove use of M2_HOME.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
josephw authored and Jason van Zyl committed Feb 21, 2015
1 parent 2eab892 commit fdcd34d
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!

0 comments on commit fdcd34d

Please sign in to comment.