First, eclipse configuration Maven1.1, download maven
http://maven.apache.org/download.cgi, select the corresponding version, window download Apache-maven-3.5.3-bin.zip can, and then extract to the local, I extracted here to the D-disk d:\ apache-maven-3.2.5
1.2. Add Environment variables
Add environment variable m2_home=d:\apache-maven-3.2.5
Then add the Maven bin to path, such as adding the following%m2_home%\bin
Open cmd, if you can see the version of Maven, the local maven configuration OK
1.3. Configuring Eclipse
You need to create a local MAVEN local repository directory locally, such as my D:\maven\repository, and then find the Server.xml in the MAVEN directory D:\apache-maven-3.2.5\conf to add the address of the local repository
<localRepository>D:\maven\repository</localRepository>
Then go to eclipse and start configuring Maven for Eclipse, such as entering the path to MAVEN's profile at 1, and then clicking Update Settings to automatically identify the local warehouse path and click Apply.
If you want to make sure that the changes take effect, see, for example, that the changes take effect
Java return to the 1th episode: Manually Configuring the MAVEN environment for Eclipse