Installing Maven on Windows

Posted: September 4, 2018 in Jenkins

Maven is  tool that can be used for building and managing any Java-based project.

Go to download page and download zip archive to some folder.

1.png

In environment variables,under system variables click new for value name set M2_HOME for Variable value path where maven zip file is located

2.PNG

Do the same for JAVA

Capture.PNG

Under User variables click path-edit and type %M2_HOME%\bin

3.PNG

again, same for java

5.PNG

open CMD and type mvn -v

you should see something as in picture below

6.PNG

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s