maven仓库阿里云/华为镜像
文章目录
maven仓库使用阿里云镜像加速maven项目构建
在maven安装包conf目录下的setting.xml文件里mirrors节点下配置mirror子节点
阿里云:
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
华为:
<mirror>
<id>huaweicloud</id>
<mirrorOf>*</mirrorOf>
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
</mirror>
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论