<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>
或者
<mirrors>
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
</mirrors>
参考阿里云Mave指南:仓库服务
https://developer.aliyun.com/mvn/guide
本文提供了两种配置阿里云Maven镜像的方法,一种是直接指定id、name、url等属性,另一种是通过mirrors标签进行配置。这两种方式都可以有效地提高Maven依赖下载的速度。
6749

被折叠的 条评论
为什么被折叠?



