使用Nexus配置Maven私有仓库
作者:尹正杰
版权声明:原创作品,谢绝转载!否则将追究法律责任。
一.安装配置Nexus
1>.下载nexus
下载地址:https://www.sonatype.com/download-oss-sonatype(根据你的操作系统选择对应的版本即可)
[root@node101 ~]# yum -y install lrzsz
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.nju.edu.cn
* updates: mirrors.nju.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package lrzsz.x86_64 :0.12.-.el7 will be installed
--> Finished Dependency Resolution Dependencies Resolved =============================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================
Installing:
lrzsz x86_64 0.12.-.el7 base k Transaction Summary
=============================================================================================================================================
Install Package Total download size: k
Installed size: k
Downloading packages:
lrzsz-0.12.-.el7.x86_64.rpm | kB ::
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : lrzsz-0.12.-.el7.x86_64 /
Verifying : lrzsz-0.12.-.el7.x86_64 / Installed:
lrzsz.x86_64 :0.12.-.el7 Complete!
[root@node101 ~]#
[root@node101 ~]# yum -y install lrzsz #安装上传和下载工具,不支持大于4G的文件,如果文件大于4G的话,Windows推荐使用winscp软件,如果是linux或者是mac的话推荐使用scp命令!
[root@node101 ~]# ll
total
-rw-r--r--. root root Dec : jdk-8u191-linux-x64.tar.gz
[root@node101 ~]#
[root@node101 ~]#
[root@node101 ~]# rz #在操作系统的浏览器下载之后,上传到服务器上即可。 [root@node101 ~]#
[root@node101 ~]# ll
total
-rw-r--r--. root root Dec : jdk-8u191-linux-x64.tar.gz
-rw-r--r-- root root Dec : nexus-3.14.--unix.tar.gz
[root@node101 ~]#
[root@node101 ~]#
2>.解压并配置nexus的环境变量
[root@node101 ~]# ll
total
-rw-r--r--. root root Dec : jdk-8u191-linux-x64.tar.gz
-rw-r--r-- root root Dec : nexus-3.14.--unix.tar.gz
[root@node101 ~]#
[root@node101 ~]#
[root@node101 ~]# tar -zxf nexus-3.14.--unix.tar.gz -C /yinzhengjie/soft/
[root@node101 ~]#
[root@node101 ~]# ln -s /yinzhengjie/soft/nexus-3.14.-/ /yinzhengjie/soft/nexus
[root@node101 ~]#
[root@node101 ~]# vi /etc/profile
[root@node101 ~]#
[root@node101 ~]# tail - /etc/profile
#Add Nexus Path by yinzhengjie
NEXUS_HOME=/yinzhengjie/soft/nexus
PATH=$PATH:$NEXUS_HOME/bin
[root@node101 ~]#
[root@node101 ~]# source /etc/profile #使得配置的环境变量生效。
[root@node101 ~]#
3>.后台启动nexus服务
[root@node101 ~]# yum -y install net-tools
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.nju.edu.cn
* updates: mirrors.nju.edu.cn
base | 3.6 kB ::
extras | 3.4 kB ::
updates | 3.4 kB ::
Resolving Dependencies
--> Running transaction check
---> Package net-tools.x86_64 :2.0-0.24.20131004git.el7 will be installed
--> Finished Dependency Resolution Dependencies Resolved ======================================================================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================================================================
Installing:
net-tools x86_64 2.0-0.24.20131004git.el7 base k Transaction Summary
======================================================================================================================================================================================
Install Package Total download size: k
Installed size: k
Downloading packages:
net-tools-2.0-0.24.20131004git.el7.x86_64.rpm | kB ::
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : net-tools-2.0-0.24.20131004git.el7.x86_64 /
Verifying : net-tools-2.0-0.24.20131004git.el7.x86_64 / Installed:
net-tools.x86_64 :2.0-0.24.20131004git.el7 Complete!
[root@node101 ~]#
[root@node101 ~]# yum -y install net-tools #安装网络工具,便于检查服务的端口
[root@node101 ~]# source /etc/profile
[root@node101 ~]#
[root@node101 ~]# nexus run &
[]
[root@node101 ~]#
[root@node101 ~]# WARNING: ************************************************************
WARNING: Detected execution as "root" user. This is NOT recommended!
WARNING: ************************************************************
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.pax.logging.NexusLogActivator - start
-- ::,- WARN [FelixStartLevel] *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
-- ::,- INFO [FelixStartLevel] *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
-- ::,- INFO [FelixStartLevel] *SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J - Replaced standard System.out and System.err PrintStreams with SLF4JPrintStreams
-- ::,- INFO [FelixStartLevel] *SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J - Redirected System.out and System.err to SLF4J for this context
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - Properties:
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - application-host='0.0.0.0'
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - application-port=''
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - fabric.etc='/yinzhengjie/soft/nexus-3.14.0-04/etc/fabric'
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - jetty.etc='/yinzhengjie/soft/nexus-3.14.0-04/etc/jetty'
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - karaf.base='/yinzhengjie/soft/nexus-3.14.0-04'
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - karaf.data='/yinzhengjie/soft/sonatype-work/nexus3'
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - karaf.etc='/yinzhengjie/soft/nexus-3.14.0-04/etc/karaf'
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - karaf.home='/yinzhengjie/soft/nexus-3.14.0-04'
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - karaf.instances='/yinzhengjie/soft/sonatype-work/nexus3/instances'
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - logback.etc='/yinzhengjie/soft/nexus-3.14.0-04/etc/logback'
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - nexus-args='/yinzhengjie/soft/nexus-3.14.0-04/etc/jetty/jetty.xml,/yinzhengjie/soft/nexus-3.14.0-04/etc/jetty/jetty-http.xml,/yinzhengjie/soft/nexus-3.14.0-04/etc/jetty/jetty-requestlog.xml'
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - nexus-context-path='/'
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - nexus-edition='nexus-pro-edition'
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - nexus-features='nexus-pro-feature'
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - ssl.etc='/yinzhengjie/soft/nexus-3.14.0-04/etc/ssl'
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - Java: 1.8.0_191, Java HotSpot(TM) -Bit Server VM, Oracle Corporation, 25.191-b12
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - OS: Linux, 3.10.-.el7.x86_64, amd64
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - User: root, en, /root
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - CWD: /yinzhengjie/soft/nexus-3.14.-
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - TMP: /yinzhengjie/soft/sonatype-work/nexus3/tmp
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Starting
-- ::,- INFO [FelixStartLevel] *SYSTEM org.eclipse.jetty.util.log - Logging initialized @6003ms to org.eclipse.jetty.util.log.Slf4jLog
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Applying configuration: file:/yinzhengjie/soft/nexus-3.14.-/etc/jetty/jetty.xml
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Applying configuration: file:/yinzhengjie/soft/nexus-3.14.-/etc/jetty/jetty-http.xml
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Applying configuration: file:/yinzhengjie/soft/nexus-3.14.-/etc/jetty/jetty-requestlog.xml
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Starting: org.eclipse.jetty.server.Server@192a733e[9.4..v20180605]
-- ::,- INFO [jetty-main-] *SYSTEM org.eclipse.jetty.server.Server - jetty-9.4..v20180605; built: --05T18::.829Z; git: d5fc0523cfa96bfebfbda19606cad384d772f04c; jvm 1.8.0_191-b12
-- ::,- INFO [jetty-main-] *SYSTEM org.eclipse.jetty.server.session - DefaultSessionIdManager workerName=node0
-- ::,- INFO [jetty-main-] *SYSTEM org.eclipse.jetty.server.session - No SessionScavenger set, using defaults
-- ::,- INFO [jetty-main-] *SYSTEM org.eclipse.jetty.server.session - node0 Scavenging every 600000ms
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.bootstrap.osgi.BootstrapListener - Initializing
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.bootstrap.osgi.BootstrapListener - Loading OSS Edition
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.bootstrap.osgi.BootstrapListener - Installing: nexus-oss-edition/3.14.0.04
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.bootstrap.osgi.BootstrapListener - Installed: nexus-oss-edition/3.14.0.04
-- ::,- INFO [jetty-main-] *SYSTEM org.apache.shiro.nexus.NexusWebSessionManager - Global session timeout: ms
-- ::,- INFO [jetty-main-] *SYSTEM org.apache.shiro.nexus.NexusWebSessionManager - Session-cookie prototype: name=NXSESSIONID
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.apache.tika.core []
-- ::,- INFO [jetty-main-] *SYSTEM org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 5.1..Final
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.apache.tika.core []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.common []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.common []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.hibernate.validator []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.hibernate.validator []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.analytics-api []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.analytics-api []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.commands []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.commands []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.crypto []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.crypto []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.jmx []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.jmx []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.cache []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.cache []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.security []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.security []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.orient []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.orient []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.base []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.internal.metrics.MetricsModule - Metrics support configured
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.base []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.blobstore []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.blobstore []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.scheduling []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.scheduling []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.blobstore-file []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.blobstore-file []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.capability []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.capability []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.email []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.email []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.extdirect []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.extdirect []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.httpclient []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.httpclient []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.oss-edition []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.oss-edition []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.rapture []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.rapture []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.rest-jackson2 []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.rest-jackson2 []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.siesta []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.siesta []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.swagger []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.swagger []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.upgrade []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.upgrade []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Start KERNEL
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.internal.log.LogbackLoggerOverrides - File: /yinzhengjie/soft/sonatype-work/nexus3/etc/logback/logback-overrides.xml
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.internal.log.LogbackLogManager - Configuring
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusContextListener - Installing: [nexus-oss-feature/3.14.0.04]
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.elasticsearch []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.elasticsearch []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.selector []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.selector []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.repository []
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.extender.NexusContextListener - Installed: [nexus-oss-feature/3.14.0.04]
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.repository []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.cleanup []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.cleanup []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.plugins.nexus-blobstore-s3 []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.plugins.nexus-blobstore-s3 []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.plugins.nexus-audit-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.plugins.nexus-audit-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.plugins.nexus-repository-maven []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.plugins.nexus-repository-maven []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.plugins.nexus-script-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.plugins.nexus-script-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.core []
-- ::,- WARN [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.system.FileDescriptorServiceImpl - WARNING: ****************************************************************************
-- ::,- WARN [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.system.FileDescriptorServiceImpl - WARNING: The open file descriptor limit is which is below the minimum recommended value of .
-- ::,- WARN [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.system.FileDescriptorServiceImpl - WARNING: Please see: http://links.sonatype.com/products/nexus/system-reqs#filehandles
-- ::,- WARN [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.system.FileDescriptorServiceImpl - WARNING: ****************************************************************************
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.core []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.plugins.nexus-blobstore-tasks []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.plugins.nexus-blobstore-tasks []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.plugins.nexus-repository-httpbridge []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.plugins.nexus-repository-httpbridge []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.blobstore-group []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.blobstore-group []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.plugins.nexus-repository-raw []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.plugins.nexus-repository-raw []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.plugins.nexus-coreui-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.plugins.nexus-coreui-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.plugins.nexus-restore-maven []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.plugins.nexus-restore-maven []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.plugins.nexus-task-log-cleanup []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.plugins.nexus-task-log-cleanup []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.plugins.nexus-repository-pypi []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.plugins.nexus-repository-pypi []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.plugins.nexus-repository-npm []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.plugins.nexus-repository-npm []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.plugins.nexus-restore-pypi []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.plugins.nexus-restore-pypi []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.quartz []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.quartz []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.plugins.nexus-ssl-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.plugins.nexus-ssl-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.plugins.nexus-restore-npm []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.plugins.nexus-restore-npm []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING wrap_file__yinzhengjie_soft_nexus-3.14.-04_system_com_sonatype_licensing_license-bundle_1..3_license-bundle-1.4..jar []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED wrap_file__yinzhengjie_soft_nexus-3.14.-04_system_com_sonatype_licensing_license-bundle_1..3_license-bundle-1.4..jar []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.licensing-extension []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.licensing-extension []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING wrap_file__yinzhengjie_soft_nexus-3.14.-04_system_com_sonatype_insight_scan_insight-scanner-model-io_2.8.1-01_insight-scanner-model-io-2.8.-.jar []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED wrap_file__yinzhengjie_soft_nexus-3.14.-04_system_com_sonatype_insight_scan_insight-scanner-model-io_2.8.1-01_insight-scanner-model-io-2.8.-.jar []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING wrap_file__yinzhengjie_soft_nexus-3.14.-04_system_com_sonatype_insight_scan_insight-scanner-core_2.8.1-01_insight-scanner-core-2.8.-.jar []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED wrap_file__yinzhengjie_soft_nexus-3.14.-04_system_com_sonatype_insight_scan_insight-scanner-core_2.8.1-01_insight-scanner-core-2.8.-.jar []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-healthcheck-base []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-healthcheck-base []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-ahc-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-ahc-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.rest-client []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.rest-client []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-analytics-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-analytics-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-clm-oss-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-clm-oss-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-ldap-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-ldap-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-licensing-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-licensing-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-repository-nuget []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-repository-nuget []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-repository-rubygems []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-repository-rubygems []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-migration-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-migration-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-outreach-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-outreach-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-proui-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-proui-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-proximanova-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-proximanova-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-repository-bower []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-repository-bower []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-repository-docker []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-repository-docker []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-repository-gitlfs []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-repository-gitlfs []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-repository-yum []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-repository-yum []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-restore-nuget []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-restore-nuget []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-restore-yum []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-restore-yum []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-rutauth-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-rutauth-plugin []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Start STORAGE
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.node.LocalNodeAccess - Generating certificate
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.node.LocalNodeAccess - ID: 6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.orient.DatabaseServerImpl - OrientDB version: 2.2. (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x)
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.server.OServer - OrientDB Server v2.2.36 (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x) is starting up...
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.server.OServer - Databases directory: /yinzhengjie/soft/sonatype-work/nexus3/db
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer - Configuration of usage of soft references inside of containers of results of SQL execution
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer - Initial and maximum values of heap memory usage are equal, containers of results of SQL executors will use soft references by default
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer - Auto configuration of disk cache size.
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.common.jna.ONative - B/ MB/ GB of physical memory were detected on machine
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.common.jna.ONative - Soft memory limit for this process is set to - B/- MB/- GB
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.common.jna.ONative - Hard memory limit for this process is set to - B/- MB/- GB
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.common.jna.ONative - Path to 'memory' cgroup is '/'
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.common.jna.ONative - Mounting path for memory cgroup controller is '/sys/fs/cgroup/memory'
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.common.jna.ONative - cgroup soft memory limit is B/ MB/ GB
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.common.jna.ONative - cgroup hard memory limit is B/ MB/ GB
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.common.jna.ONative - Detected memory limit for current process is B/ MB/ GB
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer - OrientDB auto-config DISKCACHE=562MB (heap=,162MB direct=,048MB os=,773MB)
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.server.OSystemDatabase - $ANSI{green {db=OSystem}} Creating the system database 'OSystem' for current server
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - Storage 'plocal:/yinzhengjie/soft/sonatype-work/nexus3/db/OSystem' is created under OrientDB distribution : 2.2. (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x)
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.server.OServer - Found ORIENTDB_ROOT_PASSWORD variable, using this value as root's password
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.server.handler.OJMXPlugin - JMX plugin installed and active: profilerManaged=true
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.server.OServer - OrientDB Studio available at $ANSI{blue http://localhost:2480/studio/index.html}
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.server.OServer - $ANSI{green:italic OrientDB Server is active} v2.2.36 (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x).
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.orient.DatabaseServerImpl - Activated
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Start RESTORE
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.orient.DatabaseManagerImpl - Configuring OrientDB pool config with per-core limit of
-- ::,- INFO [ForkJoinPool.commonPool-worker-] *SYSTEM org.sonatype.nexus.internal.orient.DatabaseManagerImpl - Configuring OrientDB pool analytics with per-core limit of
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - Storage 'plocal:/yinzhengjie/soft/sonatype-work/nexus3/db/config' is created under OrientDB distribution : 2.2. (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x)
-- ::,- INFO [ForkJoinPool.commonPool-worker-] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - Storage 'plocal:/yinzhengjie/soft/sonatype-work/nexus3/db/analytics' is created under OrientDB distribution : 2.2. (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x)
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.orient.DatabaseManagerImpl - Configuring OrientDB pool security with per-core limit of
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - Storage 'plocal:/yinzhengjie/soft/sonatype-work/nexus3/db/security' is created under OrientDB distribution : 2.2. (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x)
-- ::,- INFO [ForkJoinPool.commonPool-worker-] *SYSTEM org.sonatype.nexus.internal.orient.DatabaseManagerImpl - Configuring OrientDB pool audit with per-core limit of
-- ::,- INFO [ForkJoinPool.commonPool-worker-] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - Storage 'plocal:/yinzhengjie/soft/sonatype-work/nexus3/db/audit' is created under OrientDB distribution : 2.2. (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x)
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.orient.DatabaseManagerImpl - Configuring OrientDB pool component with per-core limit of
-- ::,- INFO [ForkJoinPool.commonPool-worker-] *SYSTEM org.sonatype.nexus.internal.orient.DatabaseManagerImpl - Configuring OrientDB pool accesslog with per-core limit of
-- ::,- INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - Storage 'plocal:/yinzhengjie/soft/sonatype-work/nexus3/db/component' is created under OrientDB distribution : 2.2. (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x)
-- ::,- INFO [ForkJoinPool.commonPool-worker-] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - Storage 'plocal:/yinzhengjie/soft/sonatype-work/nexus3/db/accesslog' is created under OrientDB distribution : 2.2. (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x)
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Start UPGRADE
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Start SCHEMAS
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.cache.internal.RuntimeCacheManagerProvider - Cache-provider: ehcache
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.cache.internal.ehcache.EhCacheManagerProvider - Creating cache-manager with configuration: file:/yinzhengjie/soft/nexus-3.14.-/etc/fabric/ehcache.xml
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.xml.XmlConfiguration - Loading Ehcache XML configuration from /yinzhengjie/soft/nexus-3.14.-/etc/fabric/ehcache.xml.
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.core.EhcacheManager - Cache 'assetDownloadCountStoreCache' created in EhcacheManager.
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.Eh107CacheManager - Registering Ehcache MBean javax.cache:type=CacheStatistics,CacheManager=file./yinzhengjie/soft/nexus-3.14.-/etc/fabric/ehcache.xml,Cache=assetDownloadCountStoreCache
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.Eh107CacheManager - Registering Ehcache MBean javax.cache:type=CacheConfiguration,CacheManager=file./yinzhengjie/soft/nexus-3.14.-/etc/fabric/ehcache.xml,Cache=assetDownloadCountStoreCache
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.orient.DeploymentAccessImpl - Created new deployment identifier: DeploymentIdentifier{id='6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60', alias='null'}
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.security.model.OrientSecurityConfigurationSource - Initializing default users
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.security.model.OrientSecurityConfigurationSource - Initializing default user/role mappings
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Start EVENTS
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.quartz.internal.QuartzSchedulerSPI - Thread-pool size:
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Start SECURITY
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.security.internal.DefaultSecuritySystem - Unlimited strength JCE policy detected
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.security.internal.RealmManagerImpl - Using default configuration: RealmConfiguration{realmNames=[NexusAuthenticatingRealm, NexusAuthorizingRealm]}
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.ConfigurationMerger - Configuration of cache NexusAuthenticatingRealm.authenticationCache will be supplemented by template nexus-default
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.core.EhcacheManager - Cache 'NexusAuthenticatingRealm.authenticationCache' created in EhcacheManager.
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.Eh107CacheManager - Registering Ehcache MBean javax.cache:type=CacheConfiguration,CacheManager=file./yinzhengjie/soft/nexus-3.14.-/etc/fabric/ehcache.xml,Cache=NexusAuthenticatingRealm.authenticationCache
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.Eh107CacheManager - Registering Ehcache MBean javax.cache:type=CacheStatistics,CacheManager=file./yinzhengjie/soft/nexus-3.14.-/etc/fabric/ehcache.xml,Cache=NexusAuthenticatingRealm.authenticationCache
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.ConfigurationMerger - Configuration of cache NexusAuthorizingRealm.authorizationCache will be supplemented by template nexus-default
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.core.EhcacheManager - Cache 'NexusAuthorizingRealm.authorizationCache' created in EhcacheManager.
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.Eh107CacheManager - Registering Ehcache MBean javax.cache:type=CacheConfiguration,CacheManager=file./yinzhengjie/soft/nexus-3.14.-/etc/fabric/ehcache.xml,Cache=NexusAuthorizingRealm.authorizationCache
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.Eh107CacheManager - Registering Ehcache MBean javax.cache:type=CacheStatistics,CacheManager=file./yinzhengjie/soft/nexus-3.14.-/etc/fabric/ehcache.xml,Cache=NexusAuthorizingRealm.authorizationCache
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Start SERVICES
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.quartz.internal.orient.JobStoreImpl - Instance name: nexus; ID: 6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.quartz.internal.orient.JobStoreImpl - Initialized
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.quartz.internal.QuartzSchedulerSPI - Quartz Scheduler v2.3.0
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.blobstore.file.internal.BlobStoreMetricsStoreImpl - Blob store metrics file /yinzhengjie/soft/sonatype-work/nexus3/blobs/default/6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60-metrics.properties not found - initializing at zero.
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.elasticsearch.internal.NodeProvider - Creating node with config: /yinzhengjie/soft/nexus-3.14.-/etc/fabric/elasticsearch.yml
-- ::,- INFO [FelixStartLevel] *SYSTEM org.elasticsearch.node - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] version[2.4.], pid[], build[d38a34e/--07T16::56Z]
-- ::,- INFO [FelixStartLevel] *SYSTEM org.elasticsearch.node - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] initializing ...
-- ::,- INFO [FelixStartLevel] *SYSTEM org.elasticsearch.plugins - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] modules [], plugins [content-auth-plugin], sites []
-- ::,- INFO [FelixStartLevel] *SYSTEM org.elasticsearch.env - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] using [] data paths, mounts [[/ (rootfs)]], net usable_space [.8gb], net total_space [46gb], spins? [unknown], types [rootfs]
-- ::,- INFO [FelixStartLevel] *SYSTEM org.elasticsearch.env - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] heap size [.1gb], compressed ordinary object pointers [true]
-- ::,- WARN [FelixStartLevel] *SYSTEM org.elasticsearch.env - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] max file descriptors [] for elasticsearch process likely too low, consider increasing to at least []
^C
[root@node101 ~]# -- ::,- INFO [FelixStartLevel] *SYSTEM org.elasticsearch.node - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] initialized
-- ::,- INFO [FelixStartLevel] *SYSTEM org.elasticsearch.node - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] starting ...
-- ::,- INFO [FelixStartLevel] *SYSTEM org.elasticsearch.transport - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] publish_address {local[]}, bound_addresses {local[]}
-- ::,- INFO [FelixStartLevel] *SYSTEM org.elasticsearch.discovery - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] nexus/wNVqMzNPRM6tVlXZrNKhsQ
-- ::,- INFO [elasticsearch[6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60][clusterService#updateTask][T#]] *SYSTEM org.elasticsearch.cluster.service - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] new_master {6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60}{wNVqMzNPRM6tVlXZrNKhsQ}{local}{local[]}{local=true, master=true}, reason: local-disco-initial_connect(master)
-- ::,- INFO [FelixStartLevel] *SYSTEM org.elasticsearch.node - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] started
-- ::,- INFO [elasticsearch[6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60][clusterService#updateTask][T#]] *SYSTEM org.elasticsearch.gateway - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] recovered [] indices into cluster_state
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.httpclient.HttpClientManagerImpl - Using default configuration: HttpClientConfiguration{connection=null, proxy=null, authentication=null}
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.repository.httpclient.internal.HttpClientFacetImpl - Remote connection status of repository nuget-group set to Ready to Connect.
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.ConfigurationMerger - Configuration of cache nuget-group#odata-query-cache will be supplemented by template nexus-default
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.core.EhcacheManager - Cache 'nuget-group#odata-query-cache' created in EhcacheManager.
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.Eh107CacheManager - Registering Ehcache MBean javax.cache:type=CacheConfiguration,CacheManager=file./yinzhengjie/soft/nexus-3.14.-/etc/fabric/ehcache.xml,Cache=nuget-group#odata-query-cache
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.Eh107CacheManager - Registering Ehcache MBean javax.cache:type=CacheStatistics,CacheManager=file./yinzhengjie/soft/nexus-3.14.-/etc/fabric/ehcache.xml,Cache=nuget-group#odata-query-cache
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.repository.httpclient.internal.HttpClientFacetImpl - Remote connection status of repository nuget.org-proxy set to Ready to Connect.
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.ConfigurationMerger - Configuration of cache nuget.org-proxy#negative-cache will be supplemented by template nexus-default
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.core.EhcacheManager - Cache 'nuget.org-proxy#negative-cache' created in EhcacheManager.
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.Eh107CacheManager - Registering Ehcache MBean javax.cache:type=CacheConfiguration,CacheManager=file./yinzhengjie/soft/nexus-3.14.-/etc/fabric/ehcache.xml,Cache=nuget.org-proxy#negative-cache
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.Eh107CacheManager - Registering Ehcache MBean javax.cache:type=CacheStatistics,CacheManager=file./yinzhengjie/soft/nexus-3.14.-/etc/fabric/ehcache.xml,Cache=nuget.org-proxy#negative-cache
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.ConfigurationMerger - Configuration of cache nuget.org-proxy#odata-query-cache will be supplemented by template nexus-default
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.core.EhcacheManager - Cache 'nuget.org-proxy#odata-query-cache' created in EhcacheManager.
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.Eh107CacheManager - Registering Ehcache MBean javax.cache:type=CacheConfiguration,CacheManager=file./yinzhengjie/soft/nexus-3.14.-/etc/fabric/ehcache.xml,Cache=nuget.org-proxy#odata-query-cache
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.Eh107CacheManager - Registering Ehcache MBean javax.cache:type=CacheStatistics,CacheManager=file./yinzhengjie/soft/nexus-3.14.-/etc/fabric/ehcache.xml,Cache=nuget.org-proxy#odata-query-cache
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.repository.httpclient.internal.HttpClientFacetImpl - Remote connection status of repository maven-central set to Ready to Connect.
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.ConfigurationMerger - Configuration of cache maven-central#negative-cache will be supplemented by template nexus-default
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.core.EhcacheManager - Cache 'maven-central#negative-cache' created in EhcacheManager.
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.Eh107CacheManager - Registering Ehcache MBean javax.cache:type=CacheConfiguration,CacheManager=file./yinzhengjie/soft/nexus-3.14.-/etc/fabric/ehcache.xml,Cache=maven-central#negative-cache
-- ::,- INFO [FelixStartLevel] *SYSTEM org.ehcache.jsr107.Eh107CacheManager - Registering Ehcache MBean javax.cache:type=CacheStatistics,CacheManager=file./yinzhengjie/soft/nexus-3.14.-/etc/fabric/ehcache.xml,Cache=maven-central#negative-cache
-- ::,- INFO [elasticsearch[6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60][clusterService#updateTask][T#]] *SYSTEM org.elasticsearch.cluster.metadata - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] [2e9a1e67e8a325bcd6ee9f6790ff6c769e791d56] creating index, cause [api], templates [], shards []/[], mappings [component]
-- ::,- INFO [elasticsearch[6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60][clusterService#updateTask][T#]] *SYSTEM org.elasticsearch.cluster.metadata - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] [73ae44bc066b6a7a33b4435641d8229b9b66495a] creating index, cause [api], templates [], shards []/[], mappings [component]
-- ::,- INFO [elasticsearch[6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60][clusterService#updateTask][T#]] *SYSTEM org.elasticsearch.cluster.routing.allocation - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[2e9a1e67e8a325bcd6ee9f6790ff6c769e791d56][], [2e9a1e67e8a325bcd6ee9f6790ff6c769e791d56][]] ...]).
-- ::,- INFO [elasticsearch[6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60][clusterService#updateTask][T#]] *SYSTEM org.elasticsearch.cluster.metadata - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] [51196dce51055df9247e1973e443b68c84549dd9] creating index, cause [api], templates [], shards []/[], mappings [component]
-- ::,- INFO [elasticsearch[6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60][clusterService#updateTask][T#]] *SYSTEM org.elasticsearch.cluster.routing.allocation - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[51196dce51055df9247e1973e443b68c84549dd9][]] ...]).
-- ::,- INFO [elasticsearch[6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60][clusterService#updateTask][T#]] *SYSTEM org.elasticsearch.cluster.metadata - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] [3d781e8165513bfe7db3d7eaab3991b9ebec763b] creating index, cause [api], templates [], shards []/[], mappings [component]
-- ::,- INFO [elasticsearch[6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60][clusterService#updateTask][T#]] *SYSTEM org.elasticsearch.cluster.metadata - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] [b2b9b8f06274052a44b61ef3c7e887f0961d99c6] creating index, cause [api], templates [], shards []/[], mappings [component]
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Start CAPABILITIES
-- ::,- INFO [elasticsearch[6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60][clusterService#updateTask][T#]] *SYSTEM org.elasticsearch.cluster.routing.allocation - [6B33E296-7EDB8BD1-093C16C0-02640E61-BDE79D60] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[b2b9b8f06274052a44b61ef3c7e887f0961d99c6][]] ...]).
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Start TASKS
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.bootstrap.osgi.BootstrapListener - Initialized
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.rapture.internal.RaptureWebResourceBundle - UI plugin descriptors:
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.rapture.internal.RaptureWebResourceBundle - nexus-rapture
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.rapture.internal.RaptureWebResourceBundle - nexus-proximanova-plugin
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.rapture.internal.RaptureWebResourceBundle - nexus-rutauth-plugin
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.rapture.internal.RaptureWebResourceBundle - nexus-coreui-plugin
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.rapture.internal.RaptureWebResourceBundle - nexus-proui-plugin
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.internal.webresources.WebResourceServlet - Max-age: days ( seconds)
-- ::,- INFO [jetty-main-] *SYSTEM com.softwarementors.extjs.djn.servlet.DirectJNgineServlet - Servlet GLOBAL configuration: debug=false, providersUrl=service/extdirect, minify=false, batchRequestsMultithreadingEnabled=true, batchRequestsMinThreadsPoolSize=, batchRequestsMaxThreadsPoolSize=, batchRequestsMaxThreadsPerRequest=, batchRequestsMaxThreadKeepAliveSeconds=, gsonBuilderConfiguratorClass=org.sonatype.nexus.extdirect.internal.ExtDirectGsonBuilderConfigurator, dispatcherClass=com.softwarementors.extjs.djn.servlet.ssm.SsmDispatcher, jsonRequestProcessorThreadClass=org.sonatype.nexus.extdirect.internal.ExtDirectJsonRequestProcessorThread, contextPath=--not specified: calculated via Javascript--, createSourceFiles=true
-- ::,- INFO [jetty-main-] *SYSTEM com.softwarementors.extjs.djn.servlet.DirectJNgineServlet - Servlet GLOBAL configuration: registryConfiguratorClass=
-- ::,- INFO [jetty-main-] *SYSTEM com.softwarementors.extjs.djn.jscodegen.CodeFileGenerator - Creating source files for APIs...
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskInfo - Task 'Task log cleanup' [tasklog.cleanup] : state=WAITING
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.siesta.SiestaServlet - JAX-RS RuntimeDelegate: org.sonatype.nexus.siesta.internal.resteasy.SisuResteasyProviderFactory@c46792f
-- ::,- INFO [jetty-main-] *SYSTEM org.jboss.resteasy.plugins.validation.i18n - RESTEASY008550: Unable to find CDI supporting ValidatorFactory. Using default ValidatorFactory
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.scheduling.internal.TaskSchedulerImpl - Task 'Task log cleanup' [tasklog.cleanup] scheduled: cron
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskInfo - Task 'Cleanup service' [repository.cleanup] : state=WAITING
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.scheduling.internal.TaskSchedulerImpl - Task 'Cleanup service' [repository.cleanup] scheduled: cron
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskInfo - Task 'Storage facet cleanup' [repository.storage-facet-cleanup] : state=WAITING
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.scheduling.internal.TaskSchedulerImpl - Task 'Storage facet cleanup' [repository.storage-facet-cleanup] scheduled: cron
-- ::,- INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.quartz.internal.QuartzSchedulerSPI - Scheduler put into ready mode
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.siesta.SiestaServlet - Initialized
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.repository.httpbridge.internal.ViewServlet - Initialized
-- ::,- INFO [jetty-main-] *SYSTEM org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@17c1e855{Sonatype Nexus,/,file:///yinzhengjie/soft/nexus-3.14.0-04/public/,AVAILABLE}
-- ::,- INFO [jetty-main-] *SYSTEM org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@{HTTP/1.1,[http/1.1]}{0.0.0.0:}
-- ::,- INFO [jetty-main-] *SYSTEM org.eclipse.jetty.server.Server - Started @35324ms
-- ::,- INFO [jetty-main-] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer -
------------------------------------------------- Started Sonatype Nexus OSS 3.14.- ------------------------------------------------- [root@node101 ~]#
[root@node101 ~]# nexus run & #后台运行nexus服务
[root@node101 ~]# ps -ef | grep nexus
root : pts/ :: /yinzhengjie/soft/jdk/bin/java -server -Dinstall4j.jvmDir=/yinzhengjie/soft/jdk -Dexe4j.moduleName=/yinzhengjie/soft/nexus/bin/nexu -XX:+UnlockDiagnosticVMOptions -Dinstall4j.launcherId= -Dinstall4j.swt=false -Di4jv= -Di4jv= -Di4jv= -Di4jv= -Di4jv= -Xms1200M -Xmx1200M -XX:MaxDirectMemorySize=2G -XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass -XX:+LogVMOutput -XX:LogFile=../sonatype-work/nexus3/log/jvm.log -XX:-OmitStackTraceInFastThrow -Djava.net.preferIPv4Stack=true -Dkaraf.home=. -Dkaraf.base=. -Dkaraf.etc=etc/karaf -Djava.util.logging.config.file=etc/karaf/java.util.logging.properties -Dkaraf.data=../sonatype-work/nexus3 -Djava.io.tmpdir=../sonatype-work/nexus3/tmp -Dkaraf.startLocalConsole=false -Di4j.vpt=true -classpath /yinzhengjie/soft/nexus/.install4j/i4jruntime.jar:/yinzhengjie/soft/nexus/lib/boot/nexus-main.jar:/yinzhengjie/soft/nexus/lib/boot/org.apache.karaf.main-4.0..jar:/yinzhengjie/soft/nexus/lib/boot/org.osgi.core-6.0..jar:/yinzhengjie/soft/nexus/lib/boot/org.apache.karaf.diagnostic.boot-4.0..jar:/yinzhengjie/soft/nexus/lib/boot/org.apache.karaf.jaas.boot-4.0..jar com.install4j.runtime.launcher.UnixLauncher run 9d17dc87 org.sonatype.nexus.karaf.NexusMain
root : pts/ :: grep --color=auto nexus
[root@node101 ~]#
[root@node101 ~]#
[root@node101 ~]# netstat -untalp | grep
tcp 127.0.0.1: 0.0.0.0:* LISTEN /java
tcp 0.0.0.0: 0.0.0.0:* LISTEN /java #很显然Nexus默认的端口是8081
[root@node101 ~]#
[root@node101 ~]#
4>.访问Nexus的Web UI界面
如下图所示,默认的用户名是admin,密码是admin123。我们可以用来登录Web UI界面。
二.Nexus的配置说明
1>.修改Nexus运行时的用户
[root@node101 ~]# cat /yinzhengjie/soft/nexus/bin/nexus.rc
run_as_user="root" #此处我们指定以root用户来运行Nexus服务!
[root@node101 ~]#
2>.修改Nexus启动时使用的jdk版本
[root@node101 ~]# grep "INSTALL4J_JAVA_HOME_OVERRIDE=" /yinzhengjie/soft/nexus/bin/nexus | grep -v ^#
INSTALL4J_JAVA_HOME_OVERRIDE=/yinzhengjie/soft/jdk #这里我故意把jdk的版本隐藏啦!而是使用的软连接,你可以指定你想要的版本号。
[root@node101 ~]#
3>.修改Nexus的默认的启动端口
[root@node101 ~]# grep "application-port" /yinzhengjie/soft/nexus/etc/nexus-default.properties
application-port=8888 #默认的端口是8081,此处我改为8888端口
[root@node101 ~]#
4>.创建用户
创建成功后,我们测试登录,登录成功的界面如下图所示。
三.修改settings.xml配置,使用nexus私有库
<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository>${user.home}/.m2/repository</localRepository>
<interactiveMode>true</interactiveMode>
<offline>false</offline>
<pluginGroups>
<pluginGroup>org.mortbay.jetty</pluginGroup>
<pluginGroup>org.jenkins-ci.tools</pluginGroup>
</pluginGroups> <servers>
<server>
<id>nexus-releases</id>
<username>admin</username>
<password>admin123</password>
</server>
<server>
<id>nexus-snapshots</id>
<username>admin</username>
<password>admin123</password>
</server>
</servers>
这是Server的ID(不是登录进来的user),与Maven想要连接上的repository/mirror中的id元素相匹配。username,password:这两个元素成对出现,表示连接这个server需要验证username和password。在nexus中,默认管理员用户名为admin,密码为admin123。这里使用两个服务器配置,分别对应release和snapshot。
<mirrors>
<mirror>
<id>nexus-releases</id>
<mirrorOf>*</mirrorOf>
<url>http://10.211.55.7:8081/repository/maven-public/</url>
</mirror>
<mirror>
<id>nexus-snapshots</id>
<mirrorOf>*</mirrorOf>
<url>http://10.211.55.7:8081/repository/maven-snapshots/</url>
</mirror>
</mirrors>
id,name:唯一的镜像标识和用户友好的镜像名称。id被用来区分mirror元素,并且当连接时候被用来获得相应的证书。
mirrorOf:镜像所包含的仓库的Id。例如,指向Maven central仓库的镜像(http://repo1.maven.org/maven2/),设置这个元素为central。更多的高级映射例如repo1,repo2 或者*,!inhouse都是可以的。没必要一定和mirror的id相匹配。在这里mirrorOf项当然应该使用*,以表明是所有仓库都会被镜像到指定的地址。
url:镜像基本的URL,构建系统将使用这个URL来连接仓库。这里应该添nexus仓库的地址,地址可以在nexus仓库页面中找到。
<profiles>
<profile>
<id>nexus</id>
<repositories>
<repository>
<id>nexus-releases</id>
<url>http://nexus-releases</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<repository>
<id>nexus-snapshots</id>
<url>http://nexus-snapshots</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>nexus-releases</id>
<url>http://nexus-releases</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
<pluginRepository>
<id>nexus-snapshots</id>
<url>http://nexus-snapshots</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
profile项代表maven的基本配置。按照maven的一贯尿性,很多xml的配置项都会有一个配置项的复数形式作为父节点,以保证该配置项可以配置多个。在profiles项中,当然也可以配置多个profile,不过在这里配一个就够了。下面介绍profile项的各个子节点。
id:用来确定该profile的唯一标识。
repositories/repository:用以规定依赖包仓库的相关信息。在下属节点中,id就不用多说了;URL是指仓库地址,这里使用伪造的地址,否则即使设置了mirror,maven也有可能会直接从*仓库下载包;releases和snapshots放在一块说吧,这两个节点下属的enable节点用以规定对应的依赖包是否对当前策略有效,假如将snapshot的enable项设为disable,则不会下载snapshot包。
<activeProfiles>
<activeProfile>nexus</activeProfile>
</activeProfiles>
</settings>
用以规定当前启用的配置,将对应profile的ID加入到这一项即可使profile生效。
maven中的setting.xml配置说明
<?xml version="1.0" encoding="UTF-8"?> <!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
--> <!--
| This is the configuration file for Maven. It can be specified at two levels:
|
| 1. User Level. This settings.xml file provides configuration for a single user,
| and is normally provided in ${user.home}/.m2/settings.xml.
|
| NOTE: This location can be overridden with the CLI option:
|
| -s /path/to/user/settings.xml
|
| 2. Global Level. This settings.xml file provides configuration for all Maven
| users on a machine (assuming they're all using the same Maven
| installation). It's normally provided in
| ${maven.conf}/settings.xml.
|
| NOTE: This location can be overridden with the CLI option:
|
| -gs /path/to/global/settings.xml
|
| The sections in this sample file are intended to give you a running start at
| getting the most out of your Maven installation. Where appropriate, the default
| values (values used when the setting is not specified) are provided.
|
|-->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|
| Default: ${user.home}/.m2/repository #默认存放资源的路径
<localRepository>/path/to/local/repo</localRepository>
-->
<localRepository>D:\10.Java\maven-repository</localRepository> <!-- interactiveMode
| This will determine whether maven prompts you when it needs input. If set to false,
| maven will use a sensible default value, perhaps based on some other setting, for
| the parameter in question.
|
| Default: true
<interactiveMode>true</interactiveMode>
--> <!-- offline
| Determines whether maven should attempt to connect to the network when executing a build.
| This will have an effect on artifact downloads, artifact deployment, and others.
|
| Default: false
<offline>false</offline>
--> <!-- pluginGroups
| This is a list of additional group identifiers that will be searched when resolving plugins by their prefix, i.e.
| when invoking a command line like "mvn prefix:goal". Maven will automatically add the group identifiers
| "org.apache.maven.plugins" and "org.codehaus.mojo" if these are not already contained in the list.
|-->
<pluginGroups>
<!-- pluginGroup
| Specifies a further group identifier to use for plugin lookup.
<pluginGroup>com.your.plugins</pluginGroup>
-->
</pluginGroups> <!-- proxies
| This is a list of proxies which can be used on this machine to connect to the network.
| Unless otherwise specified (by system property or command-line switch), the first proxy
| specification in this list marked as active will be used.
|-->
<proxies>
<!-- proxy
| Specification for one proxy, to be used in connecting to the network.
|
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>proxyuser</username>
<password>proxypass</password>
<host>proxy.host.net</host>
<port>80</port>
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>
-->
</proxies> <!-- servers
| This is a list of authentication profiles, keyed by the server-id used within the system.
| Authentication profiles can be used whenever maven must make a connection to a remote server.
|-->
<servers>
<!-- server
| Specifies the authentication information to use when connecting to a particular server, identified by
| a unique name within the system (referred to by the 'id' attribute below).
|
| NOTE: You should either specify username/password OR privateKey/passphrase, since these pairings are
| used together.
|
<server>
<id>deploymentRepo</id>
<username>repouser</username>
<password>repopwd</password>
</server>
--> <!-- Another sample, using keys to authenticate.
<server>
<id>siteServer</id>
<privateKey>/path/to/private/key</privateKey>
<passphrase>optional; leave empty if not used.</passphrase>
</server>
--> <server>
<id>nexus-releases</id>
<username>yinzhengjie</username>
<password>yinzhengjie</password>
</server>
<server>
<id>nexus-snapshots</id>
<username>yinzhengjie</username>
<password>yinzhengjie</password>
</server> </servers> <!-- mirrors
| This is a list of mirrors to be used in downloading artifacts from remote repositories.
|
| It works like this: a POM may declare a repository to use in resolving certain artifacts.
| However, this repository may have problems with heavy traffic at times, so people have mirrored
| it to several places.
|
| That repository definition will have a unique id, so we can create a mirror reference for that
| repository, to be used as an alternate download site. The mirror site will be the preferred
| server for that repository.
|-->
<mirrors>
<!-- mirror
| Specifies a repository mirror site to use instead of a given repository. The repository that
| this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
| for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
|
<mirror>
<id>mirrorId</id>
<mirrorOf>repositoryId</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://my.repository.com/repo/path</url>
</mirror>
-->
<mirror>
<id>nexus-releases</id>
<mirrorOf>*</mirrorOf>
<url>http://node101.yinzhengjie.org.cn:8888/repository/maven-public/</url>
</mirror>
<mirror>
<id>nexus-snapshots</id>
<mirrorOf>*</mirrorOf>
<url>http://node101.yinzhengjie.org.cn:8888/repository/maven-snapshots/</url>
</mirror>
</mirrors> <!-- profiles
| This is a list of profiles which can be activated in a variety of ways, and which can modify
| the build process. Profiles provided in the settings.xml are intended to provide local machine-
| specific paths and repository locations which allow the build to work in the local environment.
|
| For example, if you have an integration testing plugin - like cactus - that needs to know where
| your Tomcat instance is installed, you can provide a variable here such that the variable is
| dereferenced during the build process to configure the cactus plugin.
|
| As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles
| section of this document (settings.xml) - will be discussed later. Another way essentially
| relies on the detection of a system property, either matching a particular value for the property,
| or merely testing its existence. Profiles can also be activated by JDK version prefix, where a
| value of '1.4' might activate a profile when the build is executed on a JDK version of '1.4.2_07'.
| Finally, the list of active profiles can be specified directly from the command line.
|
| NOTE: For profiles defined in the settings.xml, you are restricted to specifying only artifact
| repositories, plugin repositories, and free-form properties to be used as configuration
| variables for plugins in the POM.
|
|-->
<profiles>
<!-- profile
| Specifies a set of introductions to the build process, to be activated using one or more of the
| mechanisms described above. For inheritance purposes, and to activate profiles via <activatedProfiles/>
| or the command line, profiles have to have an ID that is unique.
|
| An encouraged best practice for profile identification is to use a consistent naming convention
| for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc.
| This will make it more intuitive to understand what the set of introduced profiles is attempting
| to accomplish, particularly when you only have a list of profile id's for debug.
|
| This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo.
<profile>
<id>jdk-1.4</id> <activation>
<jdk>1.4</jdk>
</activation> <repositories>
<repository>
<id>jdk14</id>
<name>Repository for JDK 1.4 builds</name>
<url>http://www.myhost.com/maven/jdk14</url>
<layout>default</layout>
<snapshotPolicy>always</snapshotPolicy>
</repository>
</repositories>
</profile>
--> <!--
| Here is another profile, activated by the system property 'target-env' with a value of 'dev',
| which provides a specific path to the Tomcat instance. To use this, your plugin configuration
| might hypothetically look like:
|
| ...
| <plugin>
| <groupId>org.myco.myplugins</groupId>
| <artifactId>myplugin</artifactId>
|
| <configuration>
| <tomcatLocation>${tomcatPath}</tomcatLocation>
| </configuration>
| </plugin>
| ...
|
| NOTE: If you just wanted to inject this configuration whenever someone set 'target-env' to
| anything, you could just leave off the <value/> inside the activation-property.
|
<profile>
<id>env-dev</id> <activation>
<property>
<name>target-env</name>
<value>dev</value>
</property>
</activation> <properties>
<tomcatPath>/path/to/tomcat/instance</tomcatPath>
</properties>
</profile>
-->
</profiles> <!-- activeProfiles
| List of profiles that are active for all builds.
|
<activeProfiles>
<activeProfile>alwaysActiveProfile</activeProfile>
<activeProfile>anotherAlwaysActiveProfile</activeProfile>
</activeProfiles>
-->
<profile>
<id>nexus</id>
<repositories>
<repository>
<id>nexus-releases</id>
<url>http://nexus-releases</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<repository>
<id>nexus-snapshots</id>
<url>http://nexus-snapshots</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>nexus-releases</id>
<url>http://nexus-releases</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
<pluginRepository>
<id>nexus-snapshots</id>
<url>http://nexus-snapshots</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
</profile> <activeProfiles>
<activeProfile>nexus</activeProfile>
</activeProfiles> </settings>
四.上传jar包到nexus
第一种方式:
mvn deploy:deploy-file -DgroupId=com.alibaba -DartifactId=dubbo -Dversion=2.8.4 -Dpackaging=jar -Dfile=/Users/zhangyong/Documents/software/dubbo-2.8.4.jar -Durl=http://10.211.55.7:8081/repository/maven-releases/ -DrepositoryId=nexus-releases
DrepositoryId和settings.xml里配置的id一样
第二种方式:
代码的pom.xml中直接接入
<distributionManagement>
<repository>
<id>nexus-releases</id>
<name>maven-releases</name>
<url>http://10.211.55.7:8081/repository/maven-releases/</url>
</repository>
</distributionManagement>
mvn deploy