Installing Apache Maven

Download maven from
http://maven.apache.org/download.html



Extract zip file where you want to install maven



setting up Environment variable for Maven in windows


Make sure JDK is intalled and JAVA_HOME is set to the location of your JDK


Create M2_HOME and MAVEN_HOME variable and give path of your maven folder
M2_HOME

MAVEN_HOME

Update PATH variable


append Maven bin folder – %M2_HOME%\bin, so that you can run the Maven’s command everywhere.

Run “mvn –version” into cmd to verify that it is correctly installed


Leave a Reply

Your email address will not be published. Required fields are marked *