One Star

External jar libraries configuration via maven for custom component

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="mvnSmiley Surprisedrg.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?
1 REPLY
Moderator

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
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.