AEM 6.2 Sp1 - Replace dependency entries in pom with uber jar | Community
Skip to main content
cquser1
Level 7
Sep 20, 2018 4:07 PM UTC
Solved

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

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.
cquser1
cquser1Accepted solution
Level 7
Sep 21, 2018 6:01 AM UTC

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

3 replies

cquser1
cquser1AuthorAccepted solution
Level 7
Sep 21, 2018 6:01 AM UTC

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

Translate
cquser1
cquser1Author
Level 7
Sep 21, 2018 3:28 AM UTC

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.

Translate
smacdonald2008
Level 10
Sep 20, 2018 5:08 PM UTC

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. 

Translate