You are not logged in.

Unanswered posts



Important! This site has been replaced. All content here is read-only. Please visit our brand-new community at https://community.talend.com/. We look forward to hearing from you there!



#1 2017-03-27 14:36:55

tvelykyy
Member
1 post

tvelykyy said:

External jar libraries configuration via maven for custom component

Tags: [development, java]

Hi, we're developing custom components for out needs and we have a dependency on external jar provided by us.
I took tMysqlConnection as an example reference, and I can see, there is something like:

<IMPORT NAME="Mysql_Driver5" MODULE="mysql-connector-java-5.1.30-bin.jar" MVN="mvn:org.talend.libraries/mysql-connector-java-5.1.30-bin/6.0.0" REQUIRED_IF="(DB_VERSION == 'MYSQL_5') AND (USE_EXISTING_CONNECTION == 'false')" />

where we can configure external dependency via MVN attribute.

My question is how I can describe MVN attribute to use jar from local maven repository for development purpose. Maybe you have some documentation on external dependencies for custom components?

Offline

#2 2017-03-31 07:59:26

xdshi
Talend Team


xdshi said:

Re: External jar libraries configuration via maven for custom component

Hi,
If your newly created component requires some jars to function, make sure those jars are always available in <studio>/configuration/.m2/repository/org/talend/libraries。
Please take a look at KB article about:TalendHelpCenter:How+to+create+a+custom+component
Best regards
Sabrina


What we can do is to make sure that Talend will be your best choice!

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy