Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Creating a Sonatype Nexus Repository Manager 2 repository

Updated on July 14, 2022

After downloading and enabling the component for Sonatype Nexus Repository Manager 2, create a repository in Pega Platform.

To create a repository, do the following steps:
  1. In the header of Dev Studio, click CreateSysAdminRepository.
  2. In the Create Repository rule form, enter a description and name for your repository, and then click Create and open.
  3. In the Edit Repository rule form, on the Definition tab, click Select.
  4. In the Select repository type dialog box, click Nexus 2.
  5. In the Repository configuration section, configure location information for the repository:
    1. In the System URL field, enter the URL of your repository.
    2. In the Repository ID field, enter the ID of the repository, which you can find on the Configuration tab in Nexus Repository Manager 2.
      For more information, see the documentation for Nexus Repository Manager 2.
    3. In the Root path field, enter the path of the folder where repository assets are stored. Do not include the repository folder in the path, and do not start or end the path with the slash (/) character.
      For example: To store assets in a folder with the URL http://myexusrepo.com/repository/raw/myCo/devops, enter the following information:
      • System URL: http://mynexusrepo.com
      • Repository ID: raw
      • Root path: myCo/devops
      The connector will allow you to browse the assets in this folder from inside Pega Platform.
  6. In the Authentication section, configure authentication information:
    1. In the Authentication profile field, enter the name of a new authentication profile and click the Open icon to configure the profile.

      The authentication profile stores the credentials that Pega Platform needs to authenticate with the Nexus Repository Manager 2 API.

    2. In the Create Authentication Profile rule form, in the Type list, select Basic.
      Only Basic authentication is supported.
    3. Enter a name and description for your authentication profile.
    4. Click Create and open.
  7. In the Edit Authentication Profile rule form, configure authentication information:
    1. Enter the user name, password, realm, and host name required to authenticate with Nexus Repository Manager 2. For more information, see the Nexus Repository Manager 2 documentation.
    2. Select the Preemptive authentication check box.
    3. Click Save.
  8. To verify that the system URL and authentication profile are configured properly, in the Edit Repository rule form, on the Definition tab, click Test connectivity.

    If there are any errors, ensure that the credentials in the authentication profile are correct and that Pega Platform can access the system URL that you entered.

    Note: Testing connectivity does not verify that the repository ID or root path are configured properly.
  9. Click Save.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us