Jenkins Installation On Windows- Download and Configure Maven in Windows (PART-3)

Share via:

Dear Readers,

In this article,we will see Download and Configure of Maven.

Download and Configure Maven

Steps to Follow

  1. Download Maven from from official Maven website.
  2. Configure the Maven.

1. Download Maven from from official Maven website

First,we need to go Maven official website by using below link.
https://maven.apache.org/download.cgi

we can see the main page of the Maven official website.

Go to Binary zip archive click on apache-maven-3.6.3-bin.zip.

The maven software has been downloaded in the form of zip file successfully.

Extract maven zip file to another new folder “C:\DevTools”.
give destination path and click on OK.

The maven zip file has been extracted to folder “DevTools”

We can see the maven related files and folders inside the DevTools.

2. Configure the Maven

Click on Edit the system environment variables by searching env in the search bar.

This image has an empty alt attribute; its file name is 10.0.png

Go to Advanced and click on Environment Variables.

Add a new system variable

Go to system variables and click on New.

Go to maven software location and copy path “C:\DevTools\apache-maven-3.6.3” of Maven.

Mention Variable name “M2_HOME”
In the Variable value,we need to paste the path of Maven which was copied and click on Ok.

we can see the system variable “M2_HOME” has been added successfully.

Add a new path in system variables

Go to system variables,select Path and click on Edit.

Click on New.

Go inside the bin folder of maven software and copy whole path of Maven “C:\DevTools\apache-maven-3.6.3\bin” of Maven.

paste the path “C:\DevTools\apache-maven-3.6.3\bin” which was copied and click on OK.

Go inside the command prompt
Click on Command Prompt by searching cmd in the search bar.

Verify the version of Maven

Verify the Home location of Maven

As of now,we have seen Install and Configure Maven.
In Next article,we will see Download,Install and Access the Jenkins.

Thank you for giving your valuable time to read the above information.
Follow us on 
Website  www.ktexperts.com
Facebook Page KTexperts
Linkedin Page : KT EXPERTS

Follow us on 

Share via:
Note: Please test scripts in Non Prod before trying in Production.
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Add Comment