Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Convert jars to OSGi bundles

Level 1
Level 1


I have a maven dependency






The jar and its dependencies don't have any OSGi bundle definition like symbolic bundle name under the manifest file. How do I convert it into OSGi bundle so that the jar and its dependencies can be successfully installed into AEM.

0 Replies
Level 1
Level 1

Hi, this method applies only to jar that doesn't have any dependencies. hive-jdbc has dependency on 12 other jars. please suggest


tapana19997047​ What was the outcome of [1]? If you don't need to have this package in OSGI, you can also embedd it into your application bundle.

[1] AEM Hive error

Level 4
Level 4

How to embed a 3rf party jar file into our bundle as part of maven build?

Level 4
Level 4

Here in this thread we are creating an osgi bundle and manually deploying to system/consile.

But this is not the way we can do it in prod rt...

So my question is what changes we need to make in pom.xml so once the package is build this 3rd party is automatically included into our bundle and deployed into server without deploying the 3rd party jar files to system console.

Level 4
Level 4

Did you try adding the osgi wrapped bundle to your apps install folder
(through code package, with the help of filter.xml) and use the maven-bundle-plugin or content-package-maven-plugin. Please refer [0] & [1] option #4


cq5 - How to use third party JAR into AEM? - Stack Overflow


Adobe CQ/Adobe AEM: How to Integrate 3rd party Jar file in CQ / WEM

Level 1
Level 1

I tried to embed the "hive-jdbc" jar into my application bundle. Following were the changes I did.

core pom.xml



ui-apps pom.xml



main pom.xml


However, the application bundle is in installed stage and found this in the error.log


Anything I am missing here?