Build a Maven test server using Nexus in Windows, nexusmaven
After Maven is configured by the development team, every maven generation defaults to C: \ Documents ents and Settings \ Administrator \. m2, but every time you need to download the jar package required for the request from the maven official website, this increases development costs and the amount of network requests, so you need to build a Maven test server.
First download Nexus from the official website: unzip the http://www.sonatype.org/nexus/go and enter \ nexus-2.1.2-bundle \ nexus-2.1.2 \ bin \ jsw \, select the folder according to the operating system type, I chose the windows-x86-64 (64-bit operating system) folder, and the following bat file is displayed.
Console-nexus.bat: Starting nexus
Install-nexus.bat: Install nexus as a window service
Start-nexus.bat: Start Windows installation service for nexus
Stop-nexus.bat: Disable Windows installation service for nexus
Uninstall-nexus.bat: uninstalling nexus as a window service
Double-click the console-nexus.bat to run. Enter http: // 127.0.0.1: 8081/nexus/in the browser.
8081 is the default port number. to modify the port number, go to nexus-2.1.2-bundle \ nexus-2.1.2 \ conf \ to open the nexus. properties file and modify the application-port attribute value.
Default username and password: admin/admin123. log on and check the password,
The nexus warehouse types are divided into four types: group: warehouse group, hosted: Host, proxy: proxy, virtual: virtual
We will not go into details about how to add and delete maven. Input http: // 127.0.0.1: 8081/nexus/content/groups/public/and maven setting. xm points to this url. l The nexus configuration is successful!