Environment :
Windows 10
apache-maven-3.3.9
JDK 1.8
Download Nexus :
Https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-3.2.0-01-win64.zip
After decompression see can go to nexus-3.2.0-01 and sonatype-work two folders:
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M02/8D/77/wKiom1idMHGg3p1EAAAJnP3rcnM943.png "title=" 2017-02-10_111520.png "alt=" Wkiom1idmhgg3p1eaaajnp3rcnm943.png "/>
Configuring to the system environment Path : \path\to\nexus
Run :
PATH\TO\NEXUS\NEXUS-3.2.0-01\BIN>NEXUS /RUNPREPARING JRE&NBSP, ..... 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
Check if the installation is successful
Browser Testing : http://localhost:8081
Default User name / Password : admin/admin123
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/8D/75/wKioL1idMBuTjVDZAADCqCoOHTc943.png "title=" Nexus _install_success.png "alt=" Wkiol1idmbutjvdzaadcqcoohtc943.png "/>
Configure Nexus:
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M00/8D/75/wKioL1idMn3xs3LJAAD2dMCoR48666.png "title=" 2017-02-10_112350.png "alt=" Wkiol1idmn3xs3ljaad2dmcor48666.png "/>
the repositories description that Maven uses :
Maven-central:maven Central Library, pull jar from https://repo1.maven.org/maven2/by default
Maven-releases: Private repository release jar
Maven-snapshots: Private library Snapshot (Debug version) jar
Maven-public: Warehouse grouping, the above three warehouses together to provide services, in the local MAVEN base configuration settings.xml used.
Installing the Nexus on Windows