Maven服务器搭建

2022-09-17  本文已影响0人  翼墨

2022-08-17

1,搭建Maven服务器用到的软件。

该软件是运行在Java 8.0上面的。
nexus下载

下载好后解压到指定目录下。


image.png

2,运行:

前台运行:

nexus.exe /run

服务配置,计算机开机自动启动的方式

nexus.exe /install           安装
nexus.exe / uninstall     卸载
nexus.exe / start             启动
nexus.exe /stop               停止
nexus.exe / status           状态查看

3,端口号查看和修改。

image.png

所有访问maven仓库的地址就是http://localhost:8081/

4,登陆和改密码

账号是:admin
默认密码


image.png

修改密码后这个文件自动消失。

仓库

代理仓库

image.png
给代理配置阿里仓库
http://maven.aliyun.com/nexus/content/groups/public
正式仓库和测试仓库
正式:http://localhost:8081/repository/maven-releases/
测试:http://localhost:8081/repository/maven-snapshots/
image.png

是代理仓库,正式仓库,测试仓库汇总。


image.png
上一篇下一篇

猜你喜欢

热点阅读