Sunday, 21 May 2017

How to Setup MAVEN on Windows

You can setup Maven framework on windows, link and Mac OS platforms. Here we will learn how to setup it in windows operating system:

To install Maven, you need to follow below steps:

1. Download Maven and extract it.
2. Setup JAVA_HOME and MAVEN_HOME environment variables.
3. Append Maven's bin path in the 'path' system variable.
4. Verify Maven by running 'mvn' command.

1. Download MAVEN:

Download Apache's maven latest version : apache-maven-3.5.0.
And extract it in your C-drive












2.  Setup new Environment variables and append 'path' variable  :

We will setup below Environment variables :

JAVA_HOME, MAVEN_HOME and MAVEN_OPTS

Please see below screenshots:

























































































3. Verify MAVEN

You can verify Maven configuration by running below command from command prompt.

mvn -version











Read Basics of Maven from the previous tutorial.  Comment below if you find any challenges in configuring maven.


No comments:

Post a Comment