環(huán)境:
網(wǎng)站建設(shè)哪家好,找成都創(chuàng)新互聯(lián)公司!專注于網(wǎng)頁設(shè)計(jì)、網(wǎng)站建設(shè)、微信開發(fā)、微信小程序、集團(tuán)企業(yè)網(wǎng)站建設(shè)等服務(wù)項(xiàng)目。為回饋新老客戶創(chuàng)新互聯(lián)還提供了埇橋區(qū)免費(fèi)建站歡迎大家使用!
Windows 10
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兩個文件夾:
配置到系統(tǒng)環(huán)境Path:\Path\to\nexus
運(yùn)行:
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
默認(rèn)用戶名/密碼: admin/admin123
配置Nexus:
Maven用到的Repositories說明:
maven-central:maven中央庫,默認(rèn)從https://repo1.maven.org/maven2/拉取jar
maven-releases:私庫發(fā)行版jar
maven-snapshots:私庫快照(調(diào)試版本)jar
maven-public:倉庫分組,把上面三個倉庫組合在一起對外提供服務(wù),在本地maven基礎(chǔ)配置settings.xml中使用。
新聞標(biāo)題:在Windows上安裝Nexus
當(dāng)前網(wǎng)址:http://chinadenli.net/article24/gehgje.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供面包屑導(dǎo)航、軟件開發(fā)、微信公眾號、、企業(yè)網(wǎng)站制作、定制網(wǎng)站
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)