0
点赞
收藏
分享

微信扫一扫

为Nexus配置阿里云代理仓库

Soy丶sauce 2022-07-12 阅读 47

Nexus默认远程仓库为https://repo1.maven.org/maven2/,慢死,还常连不上。

为Nexus配置阿里云代理仓库_json

为Nexus配置阿里云代理仓库_json_02

 

添加阿里云代理仓库

添加库

为Nexus配置阿里云代理仓库_xml_03

 

为Nexus配置阿里云代理仓库_maven_04

 

为Nexus配置阿里云代理仓库_xml_05

 

其他默认,翻到最下面,点create repository

 

 

为Nexus配置阿里云代理仓库_xml_06

显示 Ready to Connect就OK了

为Nexus配置阿里云代理仓库_maven_07

 

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

为Nexus配置阿里云代理仓库_xml_08

 

为Nexus配置阿里云代理仓库_json_09

 

为Nexus配置阿里云代理仓库_maven_10

 

使用

 

我们在pom.xml中添加


<dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.8</version> </dependency>

库里面就有了,从阿里云下载到私服了,哈哈

为Nexus配置阿里云代理仓库_xml_11

 

 

 

 


举报

相关推荐

0 条评论