1. Download and unzip maven
http://maven.apache.org/download.cgi
2. Modify the maven mirror address
Modify conf/settings.xml under maven
<mirrors>
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>*</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
</mirrors>
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>*</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
</mirrors>
3. eclipse maven configuration
4. Modify userSetting
global settings
The configuration of this machine, all users who use this machine use this configuration
user settings
The configuration of the current user
Personal configuration overrides global configuration.
5. Configuration is complete.