To create a Maven 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... dropdown and choose "Hosted Repository" as shown in Figure 13.1, “Adding a Hosted Repository”.
In the New Hosted Repository form, click on the Repository Type dropdown and chose the Maven Site Repository format as shown in Figure 13.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 Maven Site repository, it should appear in the list of Nexus repositories as shown in Figure 13.3, “Newly Created Maven Site Repository”. Note that the Repository Path shown in Figure 13.3, “Newly Created Maven Site Repository”, is the same as the repository path referenced in Example 13.1, “Distribution Management for Site Deployment to Nexus”.


