Configuration file address: github.com/jayknoxqu/c…
Introduction to the
Maven is used for project management and automatic build. The default official image address of Maven is foreign, so the download speed of dependent packages is slow. Changing the repository address to domestic can achieve the effect of accelerated build.
configuration
Modify the conf/settings. XML file in the Maven installation directory and add the following content to the tag:
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
Copy the code