Nexus配置阿里云代理仓库

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

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

aliyun默认远程仓库为http://maven.aliyun.com/nexus/content/groups/public/

搭建Nexus默认central仓库为maven的,maven是外国网站,慢死了。这里为大家添加阿里云代理仓库

第一步,添加proxy

 

 

 

 录入完成后别忘了保存。

第二步,仓库组Public Repositories中添加aliyun

 

 

第三步,更新索引可选

 

 索引包较大,建议网上下载离线版后放入\nexus\sonatype-work\nexus\indexer\aliyun-ctx

 

相关文章

Nexus的搭建

 

posted @ 2020-02-22 21:25  咔咔kk  阅读(4955)  评论(0)    收藏  举报