Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
maven-scr-plugin-1.0.3
-
None
Description
Consider a bundle which only contains a single component which does not lead to the creation of a serviceComponents.xml file (that is either only metatypes.xml or an abstract component). In this case the data generated in the target/scr-plugin-generated folder is not included in the generated bundle because the plugin does not add the folder to the plugin resources.
Workaround is to manually include the resources as in:
<Include-Resource>
,target/scr-plugin-generated
</Include-Resource>