在Windows上安装Nexus

环境

Windows 7

apache-maven-3.3.9

JDK 1.8

下载Nexus:

https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-3.2.0-01-win64.zip

解压后看可以到nexus-3.2.0-01和sonatype-work两个文件夹:

配置到系统环境Path:\Path\to\nexus

运行

Path\to\nexus\nexus-3.2.0-01\bin>nexus /run
Preparing JRE ...
2017-02-10 11:01:30,232+0800 WARN  [pool-15-thread-1] *SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4JInitialiser - Your logging framework class org.ops4j.pax.logging.slf4j.Slf4jLogger is not known - if it needs access to the standard println methods on the console you will need to register it by calling registerLoggingSystemPackage
2017-02-10 11:01:30,234+0800 INFO  [pool-15-thread-1] *SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J - Package org.ops4j.pax.logging.slf4j registered; all classes within it or subpackages of it will be allowed to print to System.out and System.err
2017-02-10 11:01:30,238+0800 INFO  [pool-15-thread-1] *SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J - Replaced standard System.out and System.err PrintStreams with SLF4JPrintStreams
。。。。。。
2017-02-10 11:04:20,689+0800 INFO  [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer -
-------------------------------------------------
 
Started Sonatype Nexus OSS 3.2.0-01
 
-------------------------------------------------
2017-02-10 11:06:26,516+0800 INFO  [qtp2005938307-99] *UNKNOWN org.apache.shiro.session.mgt.AbstractValidatingSessionManager - Enabling session validation scheduler...
2017-02-10 11:06:26,533+0800 INFO  [qtp2005938307-99] *UNKNOWN org.sonatype.nexus.internal.security.anonymous.AnonymousManagerImpl - Using default configuration: AnonymousConfiguration{enabled=true, userId=‘anonymous‘, realmName=‘NexusAuthorizingRealm‘}
2017-02-10 11:06:27,115+0800 INFO  [qtp2005938307-101] *UNKNOWN com.sonatype.nexus.analytics.internal.EventSubmitterImpl - Service URL: https://analytics.sonatype.com
2017-02-10 11:08:10,585+0800 INFO  [qtp2005938307-244] admin org.sonatype.nexus.rapture.internal.security.SessionServlet - Created session for user: admin
                                                                                                                  2017-02-10 11:09:08,604+0800 INFO  [qtp2005938307-103] admin org.sonatype.nexus.rapture.internal.security.SessionServlet - Created session for user: admin

检查是否安装成功

浏览器测试: http://localhost:8081

默认用户名/密码: admin/admin123

配置Nexus:

Maven用到的Repositories说明

maven-central:maven中央库,默认从https://repo1.maven.org/maven2/拉取jar

maven-releases:私库发行版jar

maven-snapshots:私库快照(调试版本)jar

maven-public:仓库分组,把上面三个仓库组合在一起对外提供服务,在本地maven基础配置settings.xml中使用。

最新文章

  1. BZOJ2960: 跨平面
  2. 【JQuery NoviceToNinja系列】目录
  3. js获取客户端IP及地理位置
  4. App Store 加急审核方式
  5. Using Sessions and Session Persistence---reference
  6. kibana 访问IP分布图
  7. POJ1961Period
  8. 记录下自己写的gulp打包脚本
  9. Servlet容器模型(四)ServletConfig、ServletContext
  10. 配置F5 负载均衡(转)
  11. windows server 定期备份数据库脚本
  12. Docker pull下来的镜像(2)
  13. SQL Server进阶(十一)存储过程
  14. [UE4]工程设置:自动捕获鼠标、通过代码设置鼠标显示隐藏、输入模式、编译时自动保存
  15. 使用Expression tree访问类的属性名称与值
  16. ApiGen安装
  17. Taints和Tolerations联用,将pod部署到k8s的master节点
  18. 【linux】ubuntu中上下左右键变为^[[A^[[B^[[D^[[C问题处理
  19. MyBatis错误:Result Maps collection already contains value for novel.storage.mapper.NovelMapper.BaseResultMap
  20. 419. Roman to Integer【medium】

热门文章

  1. Numpy系列(三)- 基本运算操作
  2. docker 安装入门
  3. DirectX11 With Windows SDK--01 DirectX11初始化
  4. <锋利的jQuery>读书笔记
  5. NTFS权限笔记 2017-12-4
  6. uploadPreview上传图片前预览图片
  7. springMVC入门思路整理
  8. cas单点登录防止登出退出后刷新后退ticket失效报500错
  9. 51nod 1423 最大二“货” 单调栈
  10. 【原创】大数据基础之ElasticSearch(3)升级