First step: Download Apache-maven-3.2.1-bin.zip
Unzip to the specified directory:
I'm in the same directory as the eclipse sibling.
The second step: Create a new repos folder in the Unzip file local warehouse, and then copy a large number of jar packages, you can slowly download
Step three: Open the config file in the extract file, create a new Setting.xml file, configure the file, configure the central remote repository and the local repository
Configure the path of the local repository and the remote path to add it. Baidu has a corresponding tutorial.
Fourth step: Open Eclipse's preference, click Installations under MAVEN, click Add, add the new setting configuration.
You can easily configure Maven's local repository in four steps. Native installations and embedded are not very easy to use and often appear wrong, so it is best to match them with one.
Add: You also need to set environment variables.