Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
selimseddiki
Partner - Contributor III
Partner - Contributor III

Add maven dependency in Talend studio

Hi,

I raised one more time the issue reported in :

https://community.talend.com/s/feed/0D53p00007vCmNWCA0?language=en_US

back in 2019.

and in my own ticket back in 2021 :

https://community.talend.com/s/feed/0D55b00006Xz3VJCAZ

I must add a maven dependency :

<dependency>

<groupId>com.files</groupId>

<artifactId>files-java</artifactId>

<version>$VERSION</version>

</dependency>

to use the SDK provided by the Files.com platform :

https://developers.files.com/# sdks (java SDK)

https://github.com/Files-com/files-sdk-java

I did it in the project setting, in a subfolder, according to :

https://help.talend.com/r/QrWkwPvKmKybs~JNLeBt3Q/zPYTS4PLhRoEK_Mj8ztaJw

I applied and closed. I then created a job in this subfolder and try to "

import com.files.FilesClient"

with a tJava component

0695b00000cfs59AAA.png

but the dependency can not be resolved.

It is quite critical for our project, and I don't find any solution of the community.

Can we have a call to review this please ?

Best regards

Labels (2)
11 Replies
selimseddiki
Partner - Contributor III
Partner - Contributor III
Author

Hi,

> For now you can add the com.files jar again (as all the dependencies are there) it should start to work.

I have added the .jar in the Module view and the dependency seems to have been resolved.

But we have another, uncorrelated issue in the Studio, which prevented me to fully test the Files.com SDK (I reported it in another discussion https://community.talend.com/s/feed/0D55b00008MelhMCAR?language=en_US).

So to summarize (for the support), with Talend 8.0.1 :

1/ adding POM dependencies in project settings is not functional for our case

2/ the new feature of importing a POM file in a routine jar works partially. Direct subdependencies are downloaded but not the main library Files.com

3/ For now, we have to add the library's .jar manually in the Module view

Could you please confirm/correct me ?

Best regards, Sélim

Anonymous
Not applicable

Yes that is correct in order to add the com.files dependency currently you had to:

select POM -> this brings the dependencies

select JAR -> this brings the jar

 

Expectation:

select POM -> this brings the jar + the direct dependencies