Maven Installation Step by Step

What is Maven?
Maven is a project Management tool which provides a complete build life cycle framework.
Maven helps us to manage Builds, dependencies, Documentation, Reporting etc.

In this article let us see how to Install Maven Step by Step.

STEP 1:
JAVA_HOME variable to be set in Windows Environment Variable. Right click on My Computer –> Properties –> Advanced System Settings –> Environment Variables
javahome

STEP 2:
Download Maven (here) and unzip the contents.

2

 

STEP 3:
We need to create 2 system variables, M2_HOME and MAVEN_HOME and set the path where we have unzipped the maven.

3

STEP 4:
Edit the path variable in environment variables and include %M2_HOME%\bin
4

STEP 5:
Verify the maven installation

5

Leave a Reply

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