

Therefore, set it also.Ĭheck the installation : mvn –version Step 4: Define the project structure: ** C:\Program Files (x86)\apache-maven-3.5.3\bin = %M2_HOME%\bin and we set this variable, so that we can trigger maven executable from command prompt and it points to the right executable file which is in the bin folder*Although M2_HOME suffice your requirement, but sometimes some program do search for MAVEN_HOME variable too. PATH= Location of Maven bin folder (append using to the existing path)(-– C:\Program Files (x86)\apache-maven-3.5.3\bin)* MAVEN_HOME= Location of Maven folder (C:\Program Files (x86)\apache-maven-3.5.3) Go to Control Panel -> System -> Advanced System settings ->Environment variables -> System variable -> new M2_HOME= Location of Maven folder ( C:\Program Files (x86)\apache-maven-3.5.3)
#Maven install command archive#
Verify JAVA installation on your windows system: c:\> java -version Step 2: Download Maven Archiveĭownload apache-maven-3.5.3-bin.zip (binary zip archive file) and extract it into your system (e.g. Append the string “ C:\Program Files\Java\jdk1.7.0.60\bin” to the end of the system variable, Path.

#Maven install command software#
Maven is a project management & comprehension tool that provides a complete build lifecycle framework to assist developers. It is a build automation tool used primarily for Java projects, though can also be used to build and manage projects written in C#, Ruby, Scala, and other languages. Maven addresses two aspects of building software: first, it describes how software is built, and second, it describes its dependencies.
