Skip to content

Commit

Permalink
chore: 增加华为云镜像源仓库配置
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Jan 5, 2024
1 parent b660eba commit 16ee2b4
Showing 1 changed file with 9 additions and 20 deletions.
29 changes: 9 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,19 @@
</plugins>
</build>

<!-- 远程仓库配置:阿里云 Maven 中央仓库(公共代理仓库,Central 仓和 JCenter 仓的聚合仓,帮助研发人员提高研发生产效率,使用阿里云 Maven 中央仓库作为下载源,速度更快更稳定) -->
<!-- 远程仓库配置:华为云、阿里云 Maven 镜像源仓库 -->
<repositories>
<repository>
<id>public</id>
<name>aliyun maven</name>
<id>huawei-mirror</id>
<name>HuaweiCloud Mirror</name>
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
</repository>
<repository>
<id>ali-mirror</id>
<name>AliYun Mirror</name>
<url>https://maven.aliyun.com/repository/public/</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<!-- 快照仓库(仅在 ContiNew Admin 开发版使用,稳定版发布时会移除) -->
<repository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
Expand All @@ -157,18 +160,4 @@
</snapshots>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>public</id>
<name>aliyun maven</name>
<url>https://maven.aliyun.com/repository/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project>

0 comments on commit 16ee2b4

Please sign in to comment.