add PATH info

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163766 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-04-04 15:18:48 +00:00
parent 3c6894e59c
commit 91e4b90a04
1 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,11 @@ 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:
set PATH=%PATH%;%M2_HOME%\bin
or
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