Nexus配置阿里云代理仓库

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

090624_NZbC_616187.png

慢死,还常连不上。

可以添加阿里云代理仓库

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

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

090649_Nwxf_616187.png

填写:

Repository ID: aliyun

Repository Name: Aliyun Repository

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

090722_L3Sd_616187.png

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

刷新网页

选中仓库组Public Repositories

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

090758_4ULG_616187.png

090824_rHc2_616187.png

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

 

转载于:https://my.oschina.net/idea813/blog/1813889

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值