Installation of Maven

Maven can be downloaded from Apache official Website. You will need Java-JDK on your system before you start installing Maven. On windows system, you just need to extract the zip file.

Configuring environmental variables

You will need to set up 3 environment variables as shown below.
M2_HOME – C:\maven\apache-maven-3.3.9
MAVEN_HOME – C:\maven\apache-maven-3.3.9

You also need to update the PATH variable as shown below.

Complex problems, Simple Solutions