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": "...