Step1. Check for JDK installation:
The MAVEN operation requires JDK support, at least jdk1.4, as follows:
Start >cmd>java-version, if the JDK information is successful, such as to indicate that the JDK is installed, otherwise install.
Step2. Download maven
http://maven.apache.org/download.cgi
Step3. Local Installation
Unzip the downloaded MAVEN into a specific folder, such as my decompression path: E:\maven\apache-maven-3.2.5,
STEP4. Configuring environment variables to configure MAVEN installation in the operating system environment
Start > Computer Right-click Properties > Advanced System Settings > Advanced > Environment variables, create a new system variable in the system variable column, variable name: m2_home, Variable Value E:\maven\apache-maven-3.2.5, and just the decompression path. After the completion of the station to the path variable, edit, add at the end; %m2_home%\bin; Note that the front, the number is not necessary to see before, there is no need, otherwise, to add,
Step5. Check if the installation was successful
Starting >cmd>, typing mvn-version, if present, proves successful installation
Maven learns one of the local (Windows) installations