2019独角兽企业重金招聘Python工程师标准>>> 
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/

把aliyun添加到仓库组中,记得把aliyun排在central上边。
刷新网页
选中仓库组Public Repositories
把Aliyun Repository从Availiable Repositories中拖到Ordered Group Repositories中,放在Central上边。


这样,就可以优先访问阿里云仓库了。
转载于:https://my.oschina.net/idea813/blog/1813889
最后
以上就是魁梧小蚂蚁最近收集整理的关于Nexus配置阿里云代理仓库的全部内容,更多相关Nexus配置阿里云代理仓库内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复