[
https://issues.apache.org/jira/browse/SLING-7157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16182799#comment-16182799
]
Konrad Windszus commented on SLING-7157:
----------------------------------------
Wouldn't it be better to rely on the default localization, which is {{OSGI-INF/
l10n/<id>}} and at the same time migrate to OSGi6 Metatype annotations instead
of manually fiddling around with the metatype.xmls?
> metatype.properties file must not be in OSGI-INF/metatype
> ---------------------------------------------------------
>
> Key: SLING-7157
> URL: https://issues.apache.org/jira/browse/SLING-7157
> Project: Sling
> Issue Type: Bug
> Affects Versions: JCR Web Console 1.0.2, JCR Registration 1.0.2, JCR
> ClassLoader 3.2.2, Form Based Authentication 1.0.8, Settings 1.3.8, Commons
> Threads 3.2.6, Auth Core 1.4.0, SLF4J MDC Filter 1.0.0, Authentication XING
> OAuth 0.0.2, Authentication XING Login 0.0.2, URL Rewriter 0.0.2, DataSource
> Provider 1.0.4, NoSQL MongoDB Resource Provider 1.1.0, Commons Log 5.0.2,
> Discovery Impl 1.2.12, Discovery Oak 1.2.18, JCR Davex 1.3.8, JCR Webdav
> 2.3.8, JCR Installer 3.1.26
> Reporter: Carsten Ziegeler
> Priority: Blocker
> Fix For: JCR Web Console 1.0.4, JCR Registration 1.0.4, JCR
> ClassLoader 3.2.4, Form Based Authentication 1.0.10, Settings 1.3.10, Auth
> Core 1.4.2, Mongo Resource Provider 1.0.0, Authentication XING OAuth 0.0.4,
> Authentication XING Login 0.0.4, DataSource Provider 1.0.4, URL Rewriter
> 0.0.4, Commons Log 5.0.4, Commons Threads 3.2.10, SLF4J MDC Filter 1.0.2, JCR
> Davex 1.3.10, JCR Webdav 2.3.10, JCR Installer 3.1.28, Discovery Impl 1.2.14,
> Discovery Oak 1.2.22
>
>
> 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
> 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
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)