nexus 3 新建代理仓库

首先需要登录,默认的用户名密码,admin/admin123

http://localhost:8081/

一、创建仓库

点击Create Repository,下一步类型选maven2(proxy)

二、仓库设置

阿里镜像中央仓库数据

<mirror>
	<id>nexus-aliyun</id>
	<mirrorOf>*</mirrorOf>
	<name>Nexus aliyun</name>
	<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>

设置仓库名称,仓库地址,仓库存储(默认就行)

之后点击下面的按钮 Create repository

三、附加操作(可选)

清理缓存,重建索引

参考:

Nexus-3.0以上版本创建本地中央仓库步骤
https://blog.csdn.net/anbaojian/article/details/82592760

发布了67 篇原创文章 · 获赞 11 · 访问量 7万+

猜你喜欢

转载自blog.csdn.net/haveqing/article/details/88226035