Procedure
- If the library to be imported is not available on your machine, either download and install it using the Modules view or download and store it in a local directory.
-
In the Drivers table, add one row to the table by clicking the
[+] button.
- Click the newly added row and click the [...] button to open the Module dialog box where you can import the external library.
-
If you have installed the library using
the Modules view, specify it in either of the following two ways:
- select the Platform option and then select the library from the list, or
- select the Artifact
repository (local m2/nexus) option, enter the search keyword in
the Module Name field, click Search
Local to search in the local repository <TalendStudio>\configuration\.m2 or click Search
Remote to search in the remote artifact repository, then select
the library from the list below. The search keyword can be the partial or full
name of the library.
The Search Remote button is available only when the user libraries is set up in Talend Administration Center or Talend Management Console.
-
If you have stored
the library file in a local directory, select the Install a new module option, and click the [...] button to browse to the library file.
If the MVN URI of the library exists in the file <TalendStudio>\configuration\MavenUriIndex.xml, it is automatically filled in the Default MVN URI field.
If the MVN URI of the library is within the jar file, it is automatically detected and filled in the Custom MVN URI field if it is different from the default MVN URI. Select the Custom MVN URI check box if you want to change the custom Maven URI or use the custom Maven URI to install the library. If neither the default MVN URI nor the custom MVN URI exists, the Default MVN URI field is filled with mvn:org.talend.libraries/<jarname>/6.0.0-SNAPSHOT/jar.
-
Click OK to confirm your changes.
The imported library file is listed in the Drivers table.Note: You can replace or delete the imported library, or import new libraries if needed.