Expand my Community achievements bar.

SOLVED

AWS SDK dependencies are not resolved in core Bundle in AEM Cloud

Avatar

Community Advisor

Hi,

We are using AWS secret manager service to get the secret key values in AEM project

When I add AWS SDK maven dependency in pom.xml, i am facing error as bundle cannot be resolved

 

AAMANATHULLAH_0-1674058081700.png

 

Below is the AWS SDK dependency i am using

<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>secretsmanager</artifactId>
<version>2.19.16</version>
</dependency>

 

We are using AEM cloud 

 

Please suggest on how to resolve this issue 


Amanath Ullah
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Given dependency is only jar which is not bundle supported in AEM. So you have to convert it to bundle http://ykyuen.wordpress.com/2010/03/12/maven-create-a-osgi-bundle-using-maven-bundle-plugin/

BrijeshYadav_0-1674116506760.png

 

View solution in original post

3 Replies

Avatar

Level 7

Hi @AMANATH_ULLAH,

 

Why don't you use Cloud manager Environment variables to store AEM related secrets instead?

 

Thanks,

Ram

Avatar

Community Advisor

Hi @AMANATH_ULLAH 

 

It might be possible the jar you are adding via maven dependency is not available as a bundle in target AEM. You need to add third party bundle.

 

You can follow this blog for the same. 

https://www.linkedin.com/pulse/how-add-third-party-bundle-you-aem-package-veena-vikraman

 

Regards,

Arpit Varshney

Avatar

Correct answer by
Community Advisor

Given dependency is only jar which is not bundle supported in AEM. So you have to convert it to bundle http://ykyuen.wordpress.com/2010/03/12/maven-create-a-osgi-bundle-using-maven-bundle-plugin/

BrijeshYadav_0-1674116506760.png