在Windows上安裝Nexus 3.2.0-01

來源:互聯網
上載者:User

標籤:mil   releases   print   created   pool   安裝   manage   下載   boot   

 在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 /runPreparing 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 registerLoggingSystemPackage2017-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.err2017-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.com2017-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中使用。

在Windows上安裝Nexus 3.2.0-01

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.