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
STEP 2:
Download Maven (here) and unzip the contents.
STEP 3:
We need to create 2 system variables, M2_HOME and MAVEN_HOME and set the path where we have unzipped the maven.
STEP 4:
Edit the path variable in environment variables and include %M2_HOME%\bin
STEP 5:
Verify the maven installation