简介
华为鲲鹏Maven仓库
配置方法
※ 提醒:当前镜像已禁止目录浏览,但不影响构建使用。
使用说明
本镜像仅包含兼容aarch64环境的jar包,不是完整的Maven中央仓库,需要配置其他Maven中央仓库一起使用,例如华为云 Maven。
使用前,参考如下内容修改<Maven安装目录>/conf/settings.xml文件:
<profile>
<id>kunpeng</id>
<!-- 远程仓库列表,将华为鲲鹏 Maven 仓库放在最前面 -->
<repositories>
<repository>
<id>kunpengmaven</id>
<name>kunpeng maven</name>
<url>https://repo.huaweicloud.com/kunpeng/maven/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<!-- 其他 repository,配置其他Maven中央仓库,以华为云 Maven为例 -->
<repository>
<id>huaweicloud</id>
<name>huaweicloud maven</name>
<url>https://repo.huaweicloud.com/repository/maven/</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
</profile>
<!-- 激活上面的profile -->
<activeProfiles>
<activeProfile>kunpeng</activeProfile>
</activeProfiles>