[ https://issues.apache.org/jira/browse/SLING-8748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16940418#comment-16940418 ]
Jörg Hoh commented on SLING-8748: --------------------------------- I created a PR [1] for it. [1] https://github.com/apache/sling-site/pull/40 > [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 > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > 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)