Tuesday, March 13, 2012

Installing Maven

Download Maven from their website, unzip it to a local directory, then add the /bin directory to your system PATH environment variable.

Open a command prompt, and type "mvn -version".

If all goes well, you should see the Maven version and bunch of other Maven related information printed to the console.

 C:\Users\mlavannis\workspace-confucius>mvn -version  
Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500)
Maven home: C:\Users\mlavannis\Programs\maven\apache-maven-3.0.4\bin\..
Java version: 1.6.0_04, vendor: Sun Microsystems Inc.
Java home: C:\Progra~1\Java\jdk1.6.0_04\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows vista", version: "6.1", arch: "x86", family: "windows"
C:\Users\mlavannis\workspace-confucius>

No comments: