本文主要讲述
- 基于windows使用nexus2.x构建maven私服仓库
下载地址
- https://help.sonatype.com/repomanager2/download
个人使用版本推荐 Nexus Repository Manager 2 OSS,因为它可以免费使用。
这是官网原话
Nexus Repository Manager 2 OSS is a repository manager which can be freely used and is distributed under the Eclipse Public License (EPL Version 1).
下载解压后有两个目录
- nexus-2.14.10-01
- sonatype-work 默认存储仓库为 sonatype-work/nexus
配置文件为 nexus-2.14.10-01/conf/nexus.properties,可以更改端口号(默认端口8081)
application-port=8081
启动
cd nexus-2.14.10-01\bin
nexus.bat console
访问
http://127.0.0.1:8081/nexus
点右上角 log in,输入初始账户密码 admin/admin123
修改密码,右上角 profile