Jörg Hoh created SLING-8748: ------------------------------- Summary: [CA-Config] integration of ConfigurationClassScannerPlugin Key: SLING-8748 URL: https://issues.apache.org/jira/browse/SLING-8748 Project: Sling Issue Type: Improvement Components: Documentation Reporter: Jörg Hoh
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: {code} -plugin org.apache.sling.caconfig.bndplugin.ConfigurationClassScannerPlugin {code} 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 -- This message was sent by Atlassian Jira (v8.3.4#803005)