Windows environment, MAVEN installs the configuration process. A total of only 4 steps are required:
1, "Check" confirm that the JDK has been installed, the environment variable is configured Java_home, the path has been modified
2, "Download" from http://maven.apache.org/download.cgi download the required version, the author uses the 3.0.4 version. Download Apache-maven-3.0.4-bin.zip file. If you need a more advanced version, download the appropriate Bin.zip file.
3, "decompression" to extract maven to a specified directory, for example: D:\env. The D:\env\apache-maven-3.0.4 directory will have bin, Conf, Lib and other folders.
4, "Configure" in the environment variable, create a new m2_home, set to D:\env\apache-maven-3.0.4.
Modify the path variable to add%m2_home%bin after the original value;. The value of the path variable is delimited by semicolons.
After saving, enter mvn-v at the command line to see if MAVEN is configured successfully.
MAVEN installation Configuration