You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Development tips for the Maven tool.

Install Maven

Download the stable version of maven (1.0.2) from http://maven.apache.org/start/download.html.

The version of Maven should be 1.0.2. The 1.1.x series has been found to be buggy. And the 2 release is incompatible with 1.x.

Install Maven by double-clicking on the downloaded file which should be called maven-1.0.2.exe.

If JAVA_HOME is not set, an error will occur.

You can set the path to Java home from the Start -> Settings -> Control Panel -> System menu.

Click on the Advanced tab and then click the Environment Variables button.

Click "New" to add a new variable.

Environment Variable Menu

After installation, also set the MAVEN_HOME variable to point to the base installation area.

My installation dir is C:\work\maven.

Click on the "New" button under the "System Variables" box.

Copy the value from the Explorer bar into the new variable.

Now, you should be able to use maven from the command line.

  • No labels