Repository Management with Nexus
To create a site repository, log in as a user with Administrative privileges, and click on "Repositories" under Views/Repositories in the Nexus menu. Under the Repositories tab, click on the Add… drop-down and choose "Hosted Repository" as shown in Figure 17.1, “Adding a Hosted Repository”.
In the New Hosted Repository form, click on the Provider drop-down and chose the Site provider as shown in Figure 17.2, “Creating a New Maven Site Repository”. Although you can use any arbitrary name and identifier for your own Nexus repository, for the chapter’s example, use a Repository ID of "site" and a Repository Name of "Maven Site".
After creating a new Site repository, it should appear in the list of Nexus repositories as shown in Figure 17.3, “Newly Created Site Repository”. Note that the Repository Path shown in Figure 17.3, “Newly Created Site Repository”, is the same as the repository path referenced in Distribution Management for Site Deployment to Nexus.
The Site provider support is implemented in the Nexus Site Repository Plugin and is installed by default in Nexus Open Source as well as Nexus Professional.