From fdcd34dd370111494f0d47e495c56f33a5054a30 Mon Sep 17 00:00:00 2001 From: Joseph Walton Date: Sat, 21 Feb 2015 18:03:14 +1100 Subject: [PATCH] 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 --- README.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index d673325273..216e7d87b2 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!