Customizing the Maven URI for external module deployment - Cloud - 7.3

Talend Studio User Guide

Version
Cloud
7.3
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development
Last publication date
2024-02-13

In Talend Studio, each external module is given a default URI to identify its deployment in Maven. You can use a specific version of an external module by providing its Maven URI as a custom Maven URI. This will cause the builder to download and use the Jar file specified by the Custom Maven URI instead.

For example, you can use a specific version of a database driver by providing the Maven URI of the database driver, given that the corresponding external module is available.

Note:
  • Changing the Maven URI for an external module will affect all the components and metadata connections that use the module within the project.
  • A customized Maven URI applies to the current project only.
  • Customized Maven URIs apply to the current branch only.
  • Customized Maven URIs are stored in {your-studio-installation-path}/workspace/{your-project}/.settings/custom_uri_mapping.json.
  • When working on a remote project, your custom Maven URI settings will be automatically synchronized to the GIT Repository and will be used when other users working on the same project. CI Builder will also use this when generating the POM files.

Procedure

  1. In the Modules view, click the Maven URI you want to customize and then click the [...] button that appears.
    The Install Module dialog box opens.
  2. If you want to install another version of the external module, specify the full path to the module file in the Module File field, or click the [...] button to browse in your local file system.

    If you have installed the R2020-10 Studio monthly update or a later one provided by Talend, and if the MVN URI of the library is within the jar file and is different from the default MVN URI, it is automatically detected and filled in the Custom MVN URI field.

  3. Select the Custom MVN URI option and enter the MVN URI of the desired module in the field.
  4. Click Detect the module install status and then OK to validate the custom URI and close the dialog box.
    Note: To roll back to the default module, clear the Custom MVN URI option and click Detect the module install status.

Results

The new Maven URI takes effect and is displayed in the Modules view, from which can export all your Maven URI changes into a local JSON file.