我们在下载maven依赖的时候,因为maven仓库默认在国外,所以下载速度很慢,可以在maven的配置文件中加入下列配置,提高maven依赖的下载速度
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>