Repository Management with Nexus

14.4. Virtual OSGi Bundle Repositories

Nexus Professional can also be configured to convert a traditional Maven repository into an OSGi Bundle repository using a virtual OBR repository. To configure a virtual OBR repository:

  1. Login as an Administrator.
  2. Click Repositories in the Left Navigation Menu.
  3. Click the Add.. button above the list of Nexus repositories, and choose Virtual repository from the drop-down of repository types.
  4. In the New Virtual Repository window,

    1. Select OBR as the Provider.
    2. Select another repository’s ID in the Source Nexus Repository ID drop-down
    3. Supply an id and a repository name.
    4. Click Save.

The next figure provides some sample configuration used to create a virtual OBR repository which transforms the proxy repository for Maven Central into an OBR repository.

figs/web/obr_create_virtual.png

Figure 14.3. Creating a Virtual OSGi Bundle Repository from a Maven Repository