Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

AEM 6.2 Sp1 - Replace dependency entries in pom with uber jar

Avatar

Level 8

Hi All,

We are on 6.2 sp1.

We want to replace unwanted dependencies from our project pom files with uber 6.2.0 [obfuscated] version.

Our code builds successfully on having the uber jar, but one of the core bundle goes to installed state and lists many entries with "Cannot be Resolved".

Sample entries as attached in the screenshot.

We noticed that the ones in the screenshot are not listed in our bundle before updating our code with uber.

Not sure what is the issue.

Any thoughts/pointers will be really helpful.

forum1.PNG

1 Accepted Solution

Avatar

Correct answer by
Level 8

Using obfuscated version was the issue. Bundle is now working fine.

View solution in original post

3 Replies

Avatar

Level 10

Looks like Adobe Social APIs are not part of your AEM code base. This error indicates that you bundle is looking in the OSGi service container and cannot find these Java packages. 

Avatar

Level 8

Hi,

But these packages are not referenced in the same bundle[before making changes with uber jar]. So, looks like these are getting added by uber and is failing.

How can this be resolved, since it is not present in our codebase, but getting added by uber itself.

Any thoughts/pointers will be helpful.

Avatar

Correct answer by
Level 8

Using obfuscated version was the issue. Bundle is now working fine.