
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
The 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
Best regards
Sabrina

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
