Maven is an Apache software, which is used for project management, project’s build, reporting and documentation. This document is for Maven Setup and Installation on Windows Machine.
-
System Requirement
Maven 3.2 requires JDK 1.6 or above. You must have java installed on your machine. Download binary zip for the latest stable version from Maven website. Here the version used is Maven 3.2.1 (Binary zip).
-
Installation Procedure
Below are the steps for Maven installation in Windows.
-
Unzip the downloaded archive, i.e.
apache-maven-3.2.1-bin.zip
to the directory (i.e. C:\Maven\) -
Add environment variable M2_HOME by opening the system properties, selecting “Advanced” Tab, and the “Environment Variables” button.
-
In the same dialog, update the
Path
System variable, and append the value by%M2_HOME%\bin;
. After this Maven will be available in command line. -
Open a new command prompt
(WinKey + R)
then typecmd
, and run below command to verify that Maven is correctly installed.mvn --version
-
7 thoughts on “Apache Maven”