首页 > 其他 > 详细

为Nexus配置阿里云代理仓库【转】

时间:2019-04-17 20:02:07      阅读:189      评论:0      收藏:0      [点我收藏+]

Nexus默认远程仓库为https://repo1.maven.org/maven2/

技术分享图片

慢死,还常连不上。

可以添加阿里云代理仓库

URL:http://maven.aliyun.com/nexus/content/groups/public/

1、添加代理仓库,Add... -> Proxy Repository

技术分享图片

填写:

Repository ID: aliyun

Repository Name: Aliyun Repository

Remote Storage Location: http://maven.aliyun.com/nexus/content/groups/public/

Save

技术分享图片

把aliyun添加到仓库组中,记得把aliyun排在central上边。

刷新网页

选中仓库组Public Repositories

把Aliyun Repository从Availiable Repositories中拖到Ordered Group Repositories中,放在Central上边。

技术分享图片

像这样,保存。

技术分享图片

这样,就可以优先访问阿里云仓库了。

 

完全引用自

为Nexus配置阿里云代理仓库==>https://www.cnblogs.com/godwithus/p/8955824.html

为Nexus配置阿里云代理仓库【转】

原文:https://www.cnblogs.com/whatlonelytear/p/10725625.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!