2005-04-06 03:06:04 -04:00
|
|
|
Installing Maven 2
|
|
|
|
==================
|
|
|
|
|
|
|
|
The following instructions show how to install Maven 2:
|
|
|
|
|
|
|
|
1) Unpack the archive where you would like to store the binaries, eg:
|
2005-10-14 09:11:04 -04:00
|
|
|
tar zxvf maven-2.0.tar.gz
|
2005-04-06 03:06:04 -04:00
|
|
|
or
|
2005-10-14 09:11:04 -04:00
|
|
|
unzip maven-2.0.zip
|
2005-04-06 03:06:04 -04:00
|
|
|
|
2005-10-14 09:11:04 -04:00
|
|
|
2) A directory called "maven-2.0" will be created.
|
2005-04-06 03:06:04 -04:00
|
|
|
|
|
|
|
3) Add the bin directory to your PATH, eg:
|
2005-10-14 09:11:04 -04:00
|
|
|
export PATH=/usr/local/maven-2.0/bin:$PATH
|
2005-04-06 03:06:04 -04:00
|
|
|
or
|
2005-10-14 09:11:04 -04:00
|
|
|
set PATH="c:\program files\maven-2.0\bin";%PATH%
|
2005-04-06 03:06:04 -04:00
|
|
|
|
2005-04-06 03:36:18 -04:00
|
|
|
4) Make sure JAVA_HOME is set to the location of your JDK
|
|
|
|
|
2005-04-22 00:06:28 -04:00
|
|
|
5) Run "m2 --version" to verify that it is correctly installed.
|
2005-04-06 03:06:04 -04:00
|
|
|
|
|
|
|
For more information, please see http://maven.apache.org/maven2/
|
|
|
|
|