Download maven version:
1, enter the official website: http://maven.apache.org/download.cgi, download the compiled MAVEN version;
2, create a directory, the download of MAVEN compressed package, decompression, such as:
To configure the MAVEN environment variable:
1. Create a new system variable:
2. Add the custom variable name in step one to path: (e.g.%maven_home%\bin)
3, check if MAVEN is configured OK, enter cmd, enter Mvn-v, if the following information is displayed, the configuration is successful:
Install Maven on eclipse:
1, open Eclipse Click Window>prferences will pop up;
2, connected to the local warehouse (MAVEN is a jar management tool, we need to use the package is downloaded from the Maven repository, and each time we download the jar package, are stored in the following directory we created);
2.1 into the Conf in the extracted Maven directory, edit the settings.xml file, add the local repository file (file customization);
2.2 Again into Eclipse click Window and click Preferences;
After completing the above configuration steps, our MAVEN configuration is complete.
Installing MAVEN and configuring Maven in eclipse