I've seen some nexus before, and I didn't care much about Artifactory when I first contacted Maven. Today thought that since Nexus can have the courage to come out to mix, should have a bit of true skill is, looked at Nexus installation introduction, quite simple, try no harm. So put on a small try, the result is overjoyed, Nexus performance is very good, especially after the remote index is opened, simply too convenient.
He decided to give up artifactory and use Nexus as his own. Tu, ashamed, quite a bit of the taste of the artifactory, just loaded up for a few days, was brutally abandoned ...
Sorted out, the whole process is recorded as follows:
1. First download Nexus
Download the latest version from the official website http://nexus.sonatype.org/download.html, because it is installed on Windows, so download the zip version, the size is about 16m.
2. Installation
Simply unzip the downloaded ZIP package to the installation directory.
The executable file is under the%nexus installation directory%\nexus-webapp-1.0.0\binjsw\windows-x86-32:
Installnexus.bat/uninstallnexus.bat is install/uninstall Nexus for Windows service, if necessary set Nexus can be installed for automatic boot to Windows The service then sets the startup mode to Automatic.
Nexus.bat is to start Nexus directly on the command line, and if you do not want to install Nexus as Windows service, you can use this file to manually control the Nexus startup exit.
3. Configure Nexus
Login first, default address http://localhost:8081/nexus/, default username password is admin/admin123.
The most important thing is to open the remote index download, the function of indexing is so good.
Nexus by default is to turn off remote indexing downloads, mainly to worry about the huge burden on the server, we need to manually open.
The way to open:
Click the repositories below the Administration menu to place the three warehouses Apache Snapshots,codehaus snapshots,maven the download Remote Indexes modified to True. Then right-click on the three warehouses and select Re-index so that Nexus will download the remote index file.