Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
At [1] there is a description how to integrate the ConfigurationClassScannerPlugin with both maven-bundle-plugin and bnd-maven-plugin. But it is not working if you inject raw bnd statements in the configuration of the bnd-maven-plugin (as it is done by the AEM Projects archetype 20, see [2]).
To make the plugin also work in this case, the following bnd statement should be added as a separate line to the bnd statements:
-plugin org.apache.sling.caconfig.bndplugin.ConfigurationClassScannerPlugin
Can you please update the documentation on [1]?
[1] https://sling.apache.org/documentation/bundles/context-aware-configuration/context-aware-configuration.html#context-aware-configuration-bnd-plugin
[2] https://github.com/adobe/aem-project-archetype/blob/aem-project-archetype-20/src/main/archetype/core/pom.xml#L45
Attachments
Issue Links
- links to