I. Configuring the MAVEN Environment
Install Java Environment on PC, install JDK1.7 + version (java_home/%maven_home%/-v command to check if MAVEN is installed successfully
Second, Eclipse and MAVEN integration
Configure the Maven Setting.xml file used in Eclipse, using the Setting.xml file under the MAVEN installation directory. Note: If you modify the Setting.xml file you need to click on the "Update Settings" button to rebuild the local repository index, click "Reindex".
MAVEN configuration completion requires testing whether MAVEN's local repository can be browsed in eclipse, and if the MAVEN local repository is properly browsed, the Eclipse integration maven is complete. Open the Eclipse Warehouse view to index the plug-in and Jar Packages rebuild index Complete Click on the "+" icon in front to view the contents of the local repository
Eclipse and MAVEN Configuration