Installing Maven on Windows

Prerequisite: Install JDK 1.5 or above Download the Maven binary latest release http://apache.mesi.com.ar/maven/maven-3/3.2.2/binaries/apache-maven-3.2.2-bin.zip Installation: Unzip the file apache-maven-3.2.2-bin.zip Add the following environment variables in windows: M2_HOME=D:\apache-maven-3.2.2 M2=%M2_HOME%\bin MAVEN_OPTS=-Xms256m -Xmx512m Path=%M2%;%Path% Open a command prompt and type mvn --version