为Nexus配置阿里云代理仓库
生活随笔
收集整理的這篇文章主要介紹了
为Nexus配置阿里云代理仓库
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
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配置阿里云代理仓库的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: android 数据库 字节数组,And
- 下一篇: TEN