AEM 6.2 Sp1 - Replace dependency entries in pom with uber jar | Community
Skip to main content
cquser1
Level 7
September 20, 2018
Solved

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

  • September 20, 2018
  • 3 replies
  • 1539 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by cquser1

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

3 replies

smacdonald2008
Level 10
September 20, 2018

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. 

cquser1
cquser1Author
Level 7
September 21, 2018

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.

cquser1
cquser1AuthorAccepted solution
Level 7
September 21, 2018

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