Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
maven-bundle-plugin-5.1.1
Description
When presented with the following:
@Component(immediate = true, service = { CacheManagers.class, CacheManagersRegistry.class }) public class CacheManagersRegistryImpl implements CacheManagersRegistry {
maven-bundle-plugin-5.1.1 generates the following:
Provide-Capability: osgi.service;uses:="org.opendaylight.infrautils.cach es,org.opendaylight.infrautils.caches.baseimpl";objectClass="org.openda ylight.infrautils.caches.CacheManagers,org.opendaylight.infrautils.cach es.baseimpl.CacheManagersRegistry"
whereas maven-bundle-plugin-4.2.1 generates the following:
Provide-Capability: osgi.service;objectClass:List<String>="org.opendayli ght.infrautils.caches.CacheManagers,org.opendaylight.infrautils.caches. baseimpl.CacheManagersRegistry"
It seems the List<String> part is getting lost, hence the value is treated as a single String – which leads to at least Karaf failing to install dependent bundles.
Attachments
Issue Links
- is caused by
-
FELIX-6269 bundle:manifest generates non-reproducible entries in MANIFEST.MF
- Resolved
- links to