Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
scr bnd plugin 1.3.0
-
None
Description
The Scr Bnd plugin is now called twice by BndTools 2.4.1 and onwards versions. This causes a problem because the second time the plugin is called, then "Service-Component" header is appended a second time with the same set of component descriptors paths; and we get some compilation errors like this one:
"Service-Component entry can not be located in JAR: OSGI-INF/greeting.impl.GreetingImpl.xml~
To work around, the Scr bnd plugin must check for duplicated component descriptors paths, when generating the Service-Component header.