maven 配置正确的阿里仓库镜像

阿里仓库镜像能极大速度提高依赖包的下载。

在settings.xml文件的mirrors节点下加入如下配置:

<mirrors>
  <mirror>
    <id>aliyun</id>
    <mirrorOf>central</mirrorOf>
    <name>aliyun.com</name>
    <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  </mirror>

</mirrors>


猜你喜欢

转载自blog.csdn.net/qq_26817225/article/details/80463998
今日推荐