how to add maven dependency

Four Stars

how to add maven dependency

I want to add below maven dependency , How i can configure it in talend.

<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk</artifactId>
<version>1.11.350</version>
</dependency>

 

 

I want to import below packages .

 

 

 

import com.amazonaws.auth.AWSCredentialsProvider;
import com.amazonaws.auth.BasicSessionCredentials;
import com.amazonaws.auth.profile.ProfileCredentialsProvider;
import com.amazonaws.auth.profile.ProfilesConfigFile;
import com.amazonaws.regions.Region;
import com.amazonaws.regions.Regions;
import com.amazonaws.services.s3.AmazonS3;
import com.amazonaws.services.s3.AmazonS3Client;
import com.amazonaws.services.s3.model.Bucket;
import com.amazonaws.services.s3.model.S3Object;
import com.amazonaws.services.securitytoken.AWSSecurityTokenServiceClient;
import com.amazonaws.services.securitytoken.model.AssumeRoleRequest;
import com.amazonaws.services.securitytoken.model.AssumeRoleResult;

 

Thanks

Pravin 

Moderator

Re: how to add maven dependency

Hello,

Is it enough for you to set customization of assembly and maven pom.xml in Talend Studio configuration?

https://help.talend.com/reader/QrWkwPvKmKybs~JNLeBt3Q/3baqcOWkcGX8AZZdEeP5tA

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.
Four Stars

Re: how to add maven dependency

Hi xdshi,

Thanks For Quick reply. I will try with this.

 

I need one more help Regarding assume role configuration in Talend, Below is the java code I want to configure these parameters in Talend.

I found option to set Role ARN, RoleSessionName and Duration . But didn't found option to set External ID (Mentioned in below java code) .

Where I should set this external id in Talend. picture information is more useful .

 

 

AssumeRoleRequest assumeRequest = new AssumeRoleRequest()
.withRoleArn(ROLE_ARN)
.withDurationSeconds(900)
.withRoleSessionName(SESSION_NAME)
.withExternalId(EXTERNAL_ID) ;

 

Thanks

Pravin 

 

 

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads