How to deploy a custom component that was developed in the Talend component kit?(without maven)

Four Stars

How to deploy a custom component that was developed in the Talend component kit?(without maven)

Hello!

I use Talend Komponent KIT for develop my custom component. And I'm successfully added it to Talend Open Studio for ESB(Version: 7.1.1) (with the command talend-component:deploy-in-studio). But how can someone install it into yourself studio without maven? In the target folder I get a .jar file for my component. I tried to add this jar to the folder with another custom components(I mean Preferences -> Talend->Components), but didn't work

 


Accepted Solutions
Employee

Re: How to deploy a custom component that was developed in the Talend component kit?(without maven)

To deploy the component without maven plugin.
You will need to do that manually or by scripting the bellow steps : (there is no feature in the studio that let you import a jar for the moment)

  • Copy the component jar and all it's dependencies into <studio home>/configuration/.m2 by keeping the maven repository layout (gourpId/artifatcId/version/jar)
  • Create a file (if not already exist) named components-registration.properties in <studio home>/configuration/
  • Register your component by adding a new line in the file containing [component family]=groupId\:artifactId\:version
    • for example if you have a jdbc component, the line will be jdbc=org.talend.components\:jdbc\:1.0.0
  • In config.ini file from <studio home>/configuration/ add a line pointing to the registration file component.java.registry=<studio home>/configuration/components-registration.properties
  • Restart the studio
  • The component should show up in the pallet

If you did some changed to the component properties. and redeploy it to the studio you will need to clear the studio cache by deleting all the org.eclipse.* folders from <studio home>/configuraiton

 

The maven plugin automate all that for you.

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

All Replies
Employee

Re: How to deploy a custom component that was developed in the Talend component kit?(without maven)

To deploy the component without maven plugin.
You will need to do that manually or by scripting the bellow steps : (there is no feature in the studio that let you import a jar for the moment)

  • Copy the component jar and all it's dependencies into <studio home>/configuration/.m2 by keeping the maven repository layout (gourpId/artifatcId/version/jar)
  • Create a file (if not already exist) named components-registration.properties in <studio home>/configuration/
  • Register your component by adding a new line in the file containing [component family]=groupId\:artifactId\:version
    • for example if you have a jdbc component, the line will be jdbc=org.talend.components\:jdbc\:1.0.0
  • In config.ini file from <studio home>/configuration/ add a line pointing to the registration file component.java.registry=<studio home>/configuration/components-registration.properties
  • Restart the studio
  • The component should show up in the pallet

If you did some changed to the component properties. and redeploy it to the studio you will need to clear the studio cache by deleting all the org.eclipse.* folders from <studio home>/configuraiton

 

The maven plugin automate all that for you.

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Highlighted
Employee

Re: How to deploy a custom component that was developed in the Talend component kit?(without maven)

Hello,

 

Just a quick message to mention that a simpler way to share a component can be to use the Component ARchive. In short you will package your component as a .car which is executable and enables to deploy into a studio the component.

 

You can find more about it on our official documentation.

Romain
Talend Component Kit Documentation: https://talend.github.io/component-runtime/
Five Stars

Re: How to deploy a custom component that was developed in the Talend component kit?(without maven)

Is it possible to install a component (using the toolkit) built with 7.1 into a 6.5 environment?

Employee

Re: How to deploy a custom component that was developed in the Talend component kit?(without maven)

Hi @serdarkilic ,

 

No, 6.5 does not support the Kit components at all.

 

Romain
Talend Component Kit Documentation: https://talend.github.io/component-runtime/

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download