The Maven Cookbook

Chapter 10. Repository Management

Chapter 10. Repository Management

10.1. Installing and Running Nexus Open Source

10.1.1. Task

You need to download and install Nexus Open Source to proxy and host Maven repositories.

10.1.2. Action

To download and install Sonatype Nexus Open Source, follow the instructions in Section 2.1.1, "Downloading Nexus Open Source", and Section 2.2.2, "Installing Nexus Open Source", from "Repository Management with Nexus".

If you've installed Nexus on the default port 8081 listening on localhost, going to http://localhost:8081/nexus/ will load the interface shown in Figure 10.3, “Crowd Menu Link under the Security Section of the Nexus Menu”.

Nexus Open Source Prior to Authentication

Figure 10.1. Nexus Open Source Prior to Authentication


Clicking on the Log In link in the upper right-hand corner of the window, will prompt you for a username and password in the Nexus Log In dialogin shown in Figure 10.2, “The Nexus Log In Dialog”. The default administrative username is "admin" and the default administrative password is "admin123".

The Nexus Log In Dialog

Figure 10.2. The Nexus Log In Dialog


Once you have successfully authenticated as an administrative user, you will see the full Nexus user interface as shown in Figure 10.3, “Crowd Menu Link under the Security Section of the Nexus Menu”.

Crowd Menu Link under the Security Section of the Nexus Menu

Figure 10.3. Crowd Menu Link under the Security Section of the Nexus Menu