Actions
Install Maven¶
For Windows only
- download the Maven 2 from:
http://maven.apache.org/download.html
- unzip the file to a folder of your choice
- open the system properties (WinKey + Pause), select the "Advanced" tab, and the "Environment Variables" button, add the value:
Variable name: M2_HOME Variable value: <<location of the extracted file>>
- in the same dialog, edit the environment variable, Path and prepend the M2_HOME\bin:
- e.g.
Variable name: Path Variable value: ..\bin;%M2_HOME%\bin
- e.g.
- open command prompt and execute the following command to verify if the maven is installed properly:
mvn -version
Updated by chin-yeh over 13 years ago · 2 revisions