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

metatype.properties file must not be in OSGI-INF/metatype

    XMLWordPrintableJSON

    Details

      Description

      According to the spec the metatype.properties file must not be inside the OSGI-INF/metatype directory. This is against the spec, so we should move it to OSGI-INF/l10n
      We probably should also upgrade the maven-scr-plugin for this 1.25.0 or rather switch to OSGi annotations.

      I found the following files:
      ./bundles/auth/core/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./bundles/auth/form/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./bundles/commons/log/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./bundles/commons/threads/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./bundles/extensions/discovery/impl/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./bundles/extensions/discovery/oak/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./bundles/extensions/settings/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./bundles/jcr/classloader/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./bundles/jcr/davex/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./bundles/jcr/registration/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./bundles/jcr/webconsole/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./bundles/jcr/webdav/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./contrib/auth/org.apache.sling.auth.xing.login/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./contrib/auth/org.apache.sling.auth.xing.oauth/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./contrib/extensions/datasource/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./contrib/extensions/mongodb/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./contrib/extensions/slf4j-mdc/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./contrib/extensions/startup-filter/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./contrib/extensions/urlrewriter/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./installer/providers/jcr/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./samples/path-based-rtp/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./samples/workspacepicker/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./testing/junit/core/src/main/resources/OSGI-INF/metatype/metatype.properties
      ./testing/junit/healthcheck/src/main/resources/OSGI-INF/metatype/metatype.properties

      Module Status
      Auth Core  
      Auth Form
      Commons Log
      Commons Threads
      Discovery Impl  
      Discovery Oak  
      Settings
      JCR ClassLoader  
      JCR DavEx  
      JCR Registration
      JCR WebConsole  
      JCR WebDav  
      Auth XING Login  
      Auth XING Oauth  
      Datasource   SLING-8282
      MongoDB Resource Provider  
      SLF4J MDC Filter  
      Startup Filter  
      URL Rewriter  
      Installer JCR Providers  
      Samples Path-based RTP  
      Samples Workspacepicker  
      Testing JUnit Core  
      Testing JUnit Healthcheck  

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                cziegeler Carsten Ziegeler
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: