Build a Maven repository using Nexus
1. PurposeBy creating your own private server, you can reduce the load on the central repository, save Internet bandwidth, accelerate maven building, and deploy your own components, so that you can use maven efficiently, nexus is a popular Maven repository management software.2. Download nexus2.1 URL: http://www.sonatype.org/nexus/, I choose to download zippackage
2.2 unzip to the E disk, select enter the version of the machine to enter, I choose: E: \ nexus-2.12.1-01-bundle \ nexus-2.12.1-01 \ bin \ jsw \ windows-x86-64, you can install nexus as a windows Service and view and start it in the service.
If the startup fails, the default service port 8081 may be in use. You can modify it in E: \ nexus-2.12.1-01-bundle \ nexus-2.12.1-01 \ conf \ nexus. properties.
2.3 open the first interface in the browser: http: // 127.0.0.1: 8082/nexus, default user name and password: admin/admin123 <喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> Vc3Ryb25nPjxiciAvPg0KPGltZyBhbHQ9 "" src = "http://www.bkjia.com/uploads/allimg/160414/04130C441-5.png" title = "\"/> 2.4 create a host repository and specify the location of the local repository (E: \ MavenRepository contains common components)
2.5 create a proxy repository. You can use the OSC Public Address:
Http://maven.oschina.net/content/groups/public/
2.6 create a warehouse group. A warehouse group can correspond to multiple warehouses. Here we test the settings of host1 and proxy1.
2.7 set up an Open Library for Internet users. Access address: http: // 127.0.0.1: 8082/nexus/content/groups/public/
To be continued