Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8748

[CA-Config] integration of ConfigurationClassScannerPlugin

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Documentation
    • 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

          Activity

            People

              sseifert Stefan Seifert
              joerghoh Joerg Hoh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m