[ 
https://issues.apache.org/jira/browse/FELIX-5700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved FELIX-5700.
-------------------------------------
    Resolution: Fixed

I've changed the generator to use the l10n directory by default instead of the 
metatype directory for properties.
In addition if a module is using the metatype directory for properties the 
build will fail now. While this makes upgrading the plugin a little bit harder, 
it ensures that the spec is respected. And projects basically just need to 
rename their directory.

> Metatype generation wrongly puts properties files into metatype directory
> -------------------------------------------------------------------------
>
>                 Key: FELIX-5700
>                 URL: https://issues.apache.org/jira/browse/FELIX-5700
>             Project: Felix
>          Issue Type: Bug
>          Components: SCR Tooling
>    Affects Versions: maven-scr-plugin-1.24.0, scr generator 1.16.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: maven-scr-plugin-1.25.0, scr ant task 1.18.0, scr 
> generator 1.17.0, scr bnd plugin 1.8.0
>
>
> The maven scr plugin currently assumes that the properties file for 
> localization is in OSGI-INF/metatype. However this wrong and not according to 
> the spec.
> The Eclipse metatype implementation actually creates an error while the Felix 
> implementation is more lenient.
> The OSGI-INF/metatype directory must only contain XML files



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to