Handling 3rd party bundles | Community
Skip to main content
Level 3
March 1, 2024
Solved

Handling 3rd party bundles

  • March 1, 2024
  • 3 replies
  • 831 views

Hello Community - I have a requirement to manage and install more than 30+ 3rd party OSGi bundles in AEM. If the count is very less, I would have added in the existing AEM project and install the bundle it via package installation. Since the count is more, can someone tell me if there is any better way of handling the bundles via AEM project? TIA.

 

 

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

3 replies

SureshDhulipudi
Community Advisor
Community Advisor
March 1, 2024

anaging a large number of OSGi bundles in AEM can be done using the Apache Sling Feature Model. The Feature Model allows you to define and manage sets of OSGi bundles as features


{
"id": "com.mycompany.myproject:myfeature:1.0.0",
"bundles": [
{
"id": "com.test:mybundle1:1.0.0",
"start-order": 1
},
{
"id": "com.test:mybundle:2.0.0",
"start-order": 2
},
// Other bundles...
]
// Other resources...
}

 

https://github.com/apache/sling-org-apache-sling-feature/

s1101vAuthor
Level 3
March 4, 2024

Thanks for your reply. Can you tell me if you implemented this feature to deploy the custom jars? if so, can you share some sample project for the same?

Shiv_Prakash_Patel
Community Advisor
Shiv_Prakash_PatelCommunity AdvisorAccepted solution
Community Advisor
March 1, 2024
kautuk_sahni
Community Manager
Community Manager
March 7, 2024

@s1101v Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni