window下搭建maven的nexus私服

1、本地(windows)搭建nexus私服
先去官网现在nexus安装包https://www.sonatype.com/download-oss-sonatype选择oos 2.x的bundle.zip,bundel意思捆绑,意思这是多个操作系统的版本集合进入目录
\nexus-2.14.4-03-bundle\nexus-2.14.4-03\bin\jsw\windows-x86-64
这里我启动console-nexus.bat之后
这里写图片描述
然后访问:http://localhost:8081/nexus;默认端口是8081,配置在
\nexus-2.14.4-03-bundle\nexus-2.14.4-03\conf

# Jetty section
application-port=8081
application-host=0.0.0.0
nexus-webapp=${bundleBasedir}/nexus
nexus-webapp-context-path=/nexus

# Nexus section
nexus-work=${bundleBasedir}/../sonatype-work/nexus
runtime=${bundleBasedir}/nexus/WEB-INF

# orientdb buffer size in megabytes
storage.diskCache.bufferSize=4096

这里写图片描述
默认用户名密码admin/admin123,登录之后点击repositories如下所示
这里写图片描述
nexus仓库有group,hosted,proxy,virtual四种类型,下面介绍下public repositories说明
3rd party: 无法从公共仓库获得的第三方发布版本的构件仓库
Apache Snapshots: 用了代理ApacheMaven仓库快照版本的构件仓库
Central: 用来代理maven中央仓库中发布版本构件的仓库
Central M1 shadow: 用于提供中央仓库中M1格式的发布版本的构件镜像仓库
Codehaus Snapshots: 用来代理CodehausMaven 仓库的快照版本构件的仓库
Releases: 用来部署管理内部的发布版本构件的宿主类型仓库
Snapshots:用来部署管理内部的快照版本构件的宿主类型仓库

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值