Expand my Community achievements bar.

SOLVED

Handling 3rd party bundles

Avatar

Level 4

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.

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
4 Replies

Avatar

Community Advisor

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/

Avatar

Level 4

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?

Avatar

Correct answer by
Community Advisor

Avatar

Administrator

@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