Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
nvtd4000
Contributor III

How to update pom.xml for a Talend job to get dependencies from mvn (not Talend)

I am using eclipse and love to maven project with dependencies in pom.xml

Now, my project is using Talend Studio for Big data.

And I would like to use 3rd party jar file that Talend doesn't support. I would like to use 3rd party jar file (artifact) from mvn repository (https://mvnrepository.com/).

Ex:

<dependency>

   <groupId>org.json</groupId>

<artifactId>json</artifactId>

   <version>20171018</version>

</dependency>

 

In talend studio, I open Java view. Goto java project for the job I am working on.

Open pom.xml and update the dependency. Save it.

But i dont see any artifact get downloaded and in project/maven lib

I also see error in pom.xml: Offline / Missing artifact org.json:json:jar:20171018

Labels (4)
2 Replies
Anonymous
Not applicable

Hello,

Which Talend Studio for Big data build version are you using?

Talend 6 uses Apache Maven commands to build jobs and routes/service and uses Sonatype Nexus to share libraries for each Studio/command line and to store jobs for nexus jobs on TAC.

To resolve library dependency issues on each Studio/CommandLine, Nexus repository should be configured on TAC > configuration > custom libraries. Local repositories are defined in studio\configuration\maven_user_settings.xml for Studio and cmdline\studio\configuration\maven_user_settings.xml for CommandLine. By default the local repository path is (cmdline) /studio/configuration/.m2/repository.

0695b00000H9mT2AAJ.pngThe following nexus repositories are used for the library sync.

For Talend 6.0 and 6.1

  • talend-custom-libs

For Talend 6.2, 6.3 and 6.4

  • talend-custom-libs-snapshot
  • talend-custom-libs-release

0695b00000H9mTqAAJ.png0695b00000H9mU0AAJ.png 

Best regards

Sabrina

nvtd4000
Contributor III
Author

I am using Talend Studio for Bigdata v7.3.1.

and I want to get artifact (3rd party jar) from mvn (https://repo1.maven.org/maven2/) not the local .m2 folder or local repository.