Configuring Artifactory Remote Repositories for Nexus

Overview

Talend supports only the Nexus Artifact Repository. To satisfy compliance requirements, some customers need to replicate the Nexus repository to Artifactory.

 

Important note: Artifactory support should be available in a future release. Be sure to check out the latest releases and release notes on Talend Help Center.

 

In this configuration, Nexus is considered to be the master repository and will continue to be used for Talend deployments. Talend Administration Center (TAC), Talend Studio, and any configured Continuous Integration and Deployment (CI/CD) processes would still use Nexus while any artifacts created by these processes would be replicated to Artifactory.

 

This article illustrates how to create remote repository entries in Artifactory.

 

Assumptions

  • Nexus is installed and configured as part of the standard Talend installation

  • Network firewalls are open between Nexus and Artifactory or through a proxy

 

Environment

This article applies to Artifactory 4.14.3, but the steps should be the same for other versions.

 

Creating an Artifactory remote repository

  1. Log in to Artifactory as an Administrator.

    You need to log in as a user that has access to create repositories. Once logged in, proceed to the next step.

     

  2. Navigate to the Admin menu. From the list of Repositories, select Remote.

    artifactory1.pngFigure 1: Repositories

     

  3. In the upper-right corner, click the New button to create a new remote repository.

    artifactory2.pngFigure 2: Remote Repositories

     

  4. Select Maven as the Package Type.

    artifactory3.pngFigure 3: Select Package Type

     

  5. Configure the Basic settings.

    In this example, you will create a remote repository for talend-Snapshots.

    Configure the Nexus URL and the repository key for Artifactory, as shown in the following figures. The Nexus URL can be found in Figure 4, or you can ask your Talend administrator.

    Note: you cannot test the connection yet, as it requires credentials that are configured in the next step.

    artifactory4.pngFigure 4: Nexus screen

     

    Configure the remote repository Basic settings.

    artifactory5.pngFigure 5: Basic settings

     

  6. Configure the Advanced settings.

    Configure your Nexus credentials. If you do not have these, ask your Talend administrator. If required by your network, set a proxy.

    artifactory5b.pngFigure 6: New Remote Repository Advanced Settings

     

  7. Click Test, to verify the connection. If everything works, you should see a success message, as shown in Figure 7.

    artifactory6.pngFigure 7: Test Connection

     

  8. Configure Replications.

    Configure how often the remote repository syncs to Artifactory, by selecting Enable the Active Replication of This Repository, and adding a Cron Expression. Figure 8 shows a sync every 5 minutes.

    artifactory7.pngFigure 8: Replication Settings

     

  9. View the new repository in Artifactory, by selecting Artifacts from the main menu.

    artifactory8.pngFigure 9: Artifacts

     

    The newly created talend-Snapshots repository and artifacts are visible in the browser, as shown in Figure 10.

    artifactory9.pngFigure 10: Artifact Repository Browser

Version history
Revision #:
10 of 10
Last update:
‎10-02-2018 06:06 AM
Updated by:
 
Labels (3)
Contributors