diff --git a/README.txt b/README.txt index a41154b4fb..6816c3f9dd 100644 --- a/README.txt +++ b/README.txt @@ -2,11 +2,6 @@ Bootstrapping Maven ------------------------------------------------------------------------------- -To bootstrap Maven you must have a ~/.m2/maven.properties file with the following -entry: - -maven.repo.local = /path/to/your/local/repository - Set the environment variable M2_HOME pointing to the dir where you want Maven2 installed. NOTE: presently, the directory {M2_HOME}/bin must be in your path: @@ -16,8 +11,7 @@ export PATH=$PATH:$M2_HOME/bin You can set the parameters passed to the Java VM when running Maven2 bootstrap, setting the environment variable MAVEN_OPTS, e.g. -e.g. to run in offline mode, set MAVEN_OPTS=-Dmaven.online=false -e.g. to build maven with debug info, set MAVEN_OPTS=-Dmaven.compiler.debug=true +e.g. to run in offline mode, set MAVEN_OPTS=-o Then run m2-bootstrap-all.bat (in Windows) or m2-bootstrap-all.sh (in Unix)