<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
https://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- 添加这个镜像仓库在阿里云公共仓库前面 -->
<!-- <mirror> -->
<!-- <id>aliyunmaven</id> -->
<!-- <mirrorOf>*</mirrorOf> -->
<!-- <name>spring-plugin</name> -->
<!-- <url>https://maven.aliyun.com/repository/spring-plugin</url> -->
<!-- </mirror> -->
<mirror>
<id>aliyunmaven</id>
<mirrorOf>*</mirrorOf>
<name>阿里云公共仓库</name>
<url>https://maven.aliyun.com/repository/public</url>
</mirror>
<!-- <mirror> -->
<!-- <id>nexus-aliyun</id> -->
<!-- <mirrorOf>*,!cloudera</mirrorOf> -->
<!-- <name>Nexus aliyun</name> -->
<!-- <url>http://maven.aliyun.com/nexus/content/groups/public</url> -->
<!-- </mirror> -->
</settings>
maven镜像源配置
最新推荐文章于 2024-08-05 09:11:52 发布
该设置文件展示了如何在Maven的配置中添加阿里云公共仓库作为镜像,以加快依赖下载速度。主要包含了<id>aliyunmaven</id>的镜像配置,其URL为https://maven.aliyun.com/repository/public。
摘要由CSDN通过智能技术生成