LinkedIn
Copied!

Table of Contents

Creating a Sonatype Nexus Repository Manager 3 repository

Version:

Only available versions of this content are shown in the dropdown

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

You can create only raw type repositories.
To create a repository, do the following steps:
  1. In the header of Dev Studio, click Create SysAdmin Repository .

  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 3.

  5. In the Repository configuration section, configure location information for the repository:

    1. In the System URL field, enter the URL of your Nexus Repository Manager 3 server.

    2. In the Repository name field, enter the name of the repository.

    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.

      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 name: 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 then 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 3 API.

    2. In the Create Authentication Profile rule form, in the Type list, select Basic.

      Only Basic authentication is supported. For more information about Basic authentication profiles, see Configuring a Basic authentication profile.

    3. Enter a name and description for the 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 Sonatype Nexus Repository Manager 3. For more information, see the Sonatype Nexus Repository Manager 3 documentation.

    2. Select the Preemptive authentication check box.

    3. Click Save.

  8. To verify that the system URL, authentication profile, and repository name 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.

    Testing connectivity does not verify that the root path is configured properly.
  9. Click Save.

Suggest Edit

100% found this useful

Have a question? Get answers now.

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