Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
maven-scr-plugin 1.25.0, scr ant task 1.17.0, scr generator 1.17.0, scr bnd plugin 1.8.0
-
None
-
Patch
Description
When using the scr bnd plugin to generate SCR descriptors and an `l10n/metatype.properties` file is found, the name of the metatype.properties file is incorrect.
The error I'm getting is
[ERROR] Manifest org.apache.jackrabbit:oak-segment-tar:bundle:1.10-SNAPSHOT : Got unexpected exception while analyzing:org.apache.felix.scrplugin.SCRDescriptorException: metatype properties file must be stored outside of OSGI-INF/metatype, move it to OSGI-INF/l10n
Note the missing '/' between l10n and the file name.
I've traced it down to a problem in the scr.generator project, I'll attach a trivial patch which makes it work.
Attachments
Attachments
Issue Links
- blocks
-
OAK-7137 Upgrade to scr bnd plugin that places the metatype files in the correct location
- Closed