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.


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


Do the same for JAVA


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


again, same for java


open CMD and type mvn -v

you should see something as in picture below



Leave a Reply

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

You are commenting using your 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