Repository: maven Updated Branches: refs/heads/master 2eab8924a -> fdcd34dd3
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 <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/maven/repo Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/fdcd34dd Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/fdcd34dd Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/fdcd34dd Branch: refs/heads/master Commit: fdcd34dd370111494f0d47e495c56f33a5054a30 Parents: 2eab892 Author: Joseph Walton <[email protected]> Authored: Sat Feb 21 18:03:14 2015 +1100 Committer: Jason van Zyl <[email protected]> Committed: Sat Feb 21 09:17:50 2015 -0500 ---------------------------------------------------------------------- README.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven/blob/fdcd34dd/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index d673325..216e7d8 100644 --- a/README.md +++ b/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!
