I. Configuring the system MAVEN environment variables
1. Go to https://maven.apache.org/download.cgi to download the latest version of the MAVEN program:
2. Create a new environment variable maven_home, assign a value D:\Program Files\apache\maven
3. Edit the environment variable path, append%maven_home%\bin\;
4. At this point, MAVEN has completed the installation, and we can check for the success of our installation through the DOS command mvn-v:
Second, eclipse configuration maven
1. Configure MAVEN local warehouse and remote warehouse
Open the Conf\settings.xml file, first create the local warehouse folder, configure
There are a number of configuration remote warehouse paths, one of which is:
2. Open Window->preferences->maven->installations, right click Add
3. Open Window->preferences->maven->user Settings, configured as follows and apply:
Eclipse Configuration Maven