I am trying to use sling context aware configurations inside AEM 6.5 project to store some configurations.
As described here https://sling.apache.org/documentation/bundles/context-aware-configuration/context-aware-configurati...
I have tried adding bnd statement with below plugin
But still my bundle is not able to identify configuration files (annotated with @Configuration) after deploying it into OSGI.
And If i manually add like below then only it started identifying
Could you guys please let me know how can we do it without adding each class names and should make it work with only plugin? .
I have a working example at https://github.com/joerghoh/cqdump/tree/master/ca-config-example which also includes the mentioned plugin.
The maven-bundle-plugin is configured here: https://github.com/joerghoh/cqdump/blob/master/ca-config-example/core/pom.xml
// Update: I do use the maven-bundle-plugin and not the bnd-maven-plugin.
Did you tried below ?