In the following article, we will find out how to install Apache Maven on Windows.
Maven 3.5.4 is available for download. Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting and documentation from a central place. The core release is. Name Email Dev Id Roles Organization; Juergen Hoeller: jhoellerpivotal.io: jhoeller.
We will be using Windows 8.1 and Maven 3.5.4 in this guide, but the instructions should also be valid for other software versions.
Before we start, make sure that you have JDK installed properly on your machine. Next, we will proceed to download Maven from the official maven website https://maven.apache.org/download.cgi
Once the package has been downloaded, you can extract it to your computer in whichever location is convenient. We will use the program files directory on the C: drive for this guide.
Now that we have Maven extracted, we need to tell Windows where is our Maven bin folder. to do so, lets open the system environment variables. If you are not sure where to find them, just search for “system environment variables” in the start menu. This should open up the system properties window. Click on the advanced tap to find the “Environment variables” button.
Maven 3.5.4 - Chocolatey Software | Chocolatey
Now we will need to add the Maven bin directory to the “Path” variable. to do so, just click the edit button and add the path to the bin folder to the value field. Make sure to add the semi-colon separator.
Make sure to add the full path to the maven directory until the bin folder (for example C:Program Files (x86)apache-maven-3.5.4bin). To test that the configuration is correct, try to issue the “mvn -v” command in the command prompt (with administrator rights). The output should be similar to the one below:
Apache Maven 3.0.4 Download
And thats it. Now you have maven installed and ready to roll!