Applying Talend scripts to Nexus 3 - 7.0

Talend Data Management Platform Installation Guide for Linux

Version
7.0
Language
English (United States)
Product
Talend Data Management Platform
Module
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend DQ Portal
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend Log Server
Talend Repository Manager
Talend Runtime
Talend SAP RFC Server
Talend Studio
Content
Installation and Upgrade
Depending on which version of Nexus 3 you downloaded from the Sonatype website, you may need to run Talend scripts in Nexus to fully access its features with Talend Studio and Talend Administration Center.

Before you begin

The package Talend-AdministrationCenterYYYYYYYY_YYYY-VA.B.C.zip delivered by Talend has been downloaded.

Procedure

  1. In case of Nexus 3.22, enable the script related features by adding the following line to the file <NexusDataDirectory>/etc/nexus.properties and restart Nexus to pick up the property change.
    nexus.scripts.allowCreation=true
  2. Log into your Nexus 3 Repository Manager as an administrator.
  3. Click the icon in the header to access the Administration page.
  4. Select System > API from the menu tree.
  5. Scroll down to the script section and click POST.
  6. Locate the Talend scripts to Nexus.
    The scripts are located in the file Nexus3TalendScripts.zip under the migration-<version> folder in the archieve file Artifact-Repository-Nexus-VA.B.C.D.E.zip in the package Talend-AdministrationCenterYYYYYYYY_YYYY-VA.B.C.zip.

    The Nexus3TalendScripts.zip file contains three JSON files:

    • healthCheck.json
    • repositoriesList.json
    • search.json
  7. Copy the content of the JSON file into the body field, then click Try it out to add a script.
    • If you are running Nexus 3.9, add all three scripts individually.
    • If you are running Nexus 3.15, 3.19.1 or 3.22, add only the search.json script.

      If you do not add the search.json script, the patches will not be detected and installed on the Talend Studio side, and you might experience synchronization issues between modules.

    For more information on managing and running scripts in Nexus 3, refer to Managing and Running Scripts on the Sonatype website.

  8. In case of Nexus 3.22, remove the line nexus.scripts.allowCreation=true added to the file <NexusDataDirectory>/etc/nexus.properties to disable the script related features of Nexus after applying the script for security reason and restart Nexus to pick up the property change.