| | 23 | == Install Maven2 (Optional) == |
| | 24 | * http://maven.apache.org/ |
| | 25 | * http://maven.apache.org/download.html#Installation |
| | 26 | {{{ |
| | 27 | Windows 2000/XP |
| | 28 | |
| | 29 | 1. Unzip maven-2.0.7-bin.zip to the directory you wish to install Maven 2.0.7. These instructions assume you chose C:\Program Files\Apache Software Foundation\maven-2.0.7 |
| | 30 | 2. Add the bin directory to your path, by opening up the system properties (WinKey + Pause), selecting the "Advanced" tab, and the "Environment Variables" button, then editing the PATH variable in the user variables. eg. "C:\Program Files\Apache Software Foundation\maven-2.0.7\bin";%PATH% |
| | 31 | 3. In the same dialog, make sure that JAVA_HOME is set to the location of your JDK, eg. C:\Program Files\Java\jdk1.5.0_02 |
| | 32 | 4. Run mvn --version to verify that it is correctly installed. |
| | 33 | |
| | 34 | Unix-based Operating Systems (Linux, Solaris and Mac OS X) |
| | 35 | |
| | 36 | 1. Extract the distribution archive to the directory you wish to install Maven 2.0.7. These instructions assume you chose /usr/local/maven-2.0.7 . The directory maven-2.0.7 will be created from the archive. |
| | 37 | 2. Add the bin directory to your path, eg. export PATH=/usr/local/maven-2.0.7/bin:$PATH |
| | 38 | 3. Make sure that JAVA_HOME is set to the location of your JDK, eg. export JAVA_HOME=/usr/java/jdk1.5.0_02 |
| | 39 | 4. Run mvn --version to verify that it is correctly installed. |
| | 40 | |
| | 41 | |
| | 42 | }}} |
| | 43 | |