Tuesday, September 2, 2014

Setup Maven on Windows

Step 1: Download Maven from http://maven.apache.org/download.cgi?Preferred=ftp://mirror.reverse.net/pub/apache/ (in my case i download the version "Maven 3.2.3 (Binary zip)"). Unzip it to a location (in my case, i have it unzipped at "C:\maven")

Step 2: Add the "C:\maven\bin" to the PATH environment variable in your computer (For users who don't know how to do this, follow this link http://www.computerhope.com/issues/ch000549.htm)

Step 3: Now you can start using Maven in command line. For example, try something to generate archetype like the one below:

$mvn archetype:generate

No comments:

Post a Comment