Hey Guys,
I want to add a third party bundle to my AEM project, Please let me know how it can be done and also I want to know when to use an embedded dependency.
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @Prashanth_02a ,
For most of the third-party bundles adding maven dependency in main pom.xml and core pom.xml the dependency bundle should be resolved.
However sometimes for some dependencies, the process is not done automatically. In that case, you need to make it OSGI-ready and embed the dependency. To do this you can follow this documentation:
Again if this documentation seems complex and not understandable exactly where to change you can follow this GitHub commit. Here this is shown the exact changes and processes:
https://github.com/Sady-Rifat/aem-demo/commit/65f8ce112744134728bf2f85d7bc5f131a2ef290
Hope this helps you.
Sharing a blog which explains how to use Third-party bundles when:
https://techrevel.blog/2023/09/27/managing-third-party-dependencies-in-aem/
Hello @Prashanth_02a ,
For most of the third-party bundles adding maven dependency in main pom.xml and core pom.xml the dependency bundle should be resolved.
However sometimes for some dependencies, the process is not done automatically. In that case, you need to make it OSGI-ready and embed the dependency. To do this you can follow this documentation:
Again if this documentation seems complex and not understandable exactly where to change you can follow this GitHub commit. Here this is shown the exact changes and processes:
https://github.com/Sady-Rifat/aem-demo/commit/65f8ce112744134728bf2f85d7bc5f131a2ef290
Hope this helps you.
You can check the below file for an example, I have added external sdi bundle in below project
Views
Likes
Replies
Views
Likes
Replies