forked from zhuyuchen/buliang
45 lines
1.5 KiB
XML
45 lines
1.5 KiB
XML
<mirrors>
|
|
<!-- mirror
|
|
| Specifies a repository mirror site to use instead of a given repository. The repository that
|
|
| this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
|
|
| for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
|
|
|
|
|
<mirror>
|
|
<id>mirrorId</id>
|
|
<mirrorOf>repositoryId</mirrorOf>
|
|
<name>Human Readable Name for this Mirror.</name>
|
|
<url>http://my.repository.com/repo/path</url>
|
|
</mirror>
|
|
-->
|
|
<mirror>
|
|
<!-- id要唯一 -->
|
|
<id>alimaven</id>
|
|
<name>aliyun maven</name>
|
|
<!-- 镜像的地址:阿里云的地址 -->
|
|
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
|
<!-- 镜像的是中央仓库 -->
|
|
<mirrorOf>central</mirrorOf>
|
|
</mirror>
|
|
<mirror>
|
|
<!-- id要唯一 -->
|
|
<id>aliyun</id>
|
|
<!-- 镜像的是中央仓库 -->
|
|
<mirrorOf>central</mirrorOf>
|
|
<name>Aliyun Maven</name>
|
|
<!-- 镜像的地址:阿里云的地址 -->
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
</mirror>
|
|
<mirror>
|
|
<id>huawei</id>
|
|
<mirrorOf>central</mirrorOf>
|
|
<name>Huawei Maven</name>
|
|
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
|
|
</mirror>
|
|
<mirror>
|
|
<id>netease</id>
|
|
<mirrorOf>central</mirrorOf>
|
|
<name>Netease Maven</name>
|
|
<url>http://maven.netease.com/repository/maven-public/</url>
|
|
</mirror>
|
|
</mirrors>
|