Components are created as .car files, and you can install these files like this:
java -jar myComponent.car studio-deploy C:/Talend/studio/
However, this way, only one Studio user benefits from the component.
This article shows you how to share your custom components with other Studio users and how to upload the components to Nexus automatically.
You have custom components in .car format
If not, read the article, Sharing custom components in the Talend Community Knowledge Base (KB).
You're using Talend Enterprise version
If not, read the Talend blog, Installing Components from a CAR file.
You have Nexus / Artifactory available
If there isn't an artifact repository available for the custom components, they need to be installed for each Studio user individually. Read the Sharing custom components KB article for the steps.
Create a new Maven 2 repository. Make sure that the Version policy is in Release mode and that the Deployment policy is set to Allow redeploy, as shown below:
As of 7.3.1, Studio supports sharing components to a snapshot repository as well.
Talend accesses this Nexus using the user configured on the Configuration page under Artifactory Repository in Talend Administration Center.
In Studio, configure the Repository Share option and create a patches folder by following the steps in Installing and sharing custom components created using Talend Component Kit, available in the Talend Help Center.
After logging into a project, Studio uploads all the installed components to Nexus. Then, Studio generates an index file, for example:
This file only exists in Nexus. Studio doesn't have a copy of it locally only in memory.
Using this method uploads all the components from studio/configuration/components/installed/.
The components are installed through the patches folder and are uploaded to Nexus. Then, after a restart, other Studio users can download the components from Nexus.
Open the project, select Yes to restart Studio.
Notice that the custom components are now available to use.
Review the Nexus contents, they should look similar to this: