Details
Description
The new versions of Felix maven-bundle-plugin (starting from 2.4.1 and 2.5.0) introduces a osgi.ee requirement in the META-INF generate for the client bundle.
If it works fine with the Felix framework, this requirement is not match for Equinox framework.
To avoid this problem, we should modify the etc/config.properties to remove the ${services-${karaf.framework}} variable from org.osgi.framework.system.capabilities, meaning that:
org.osgi.framework.system.capabilities= \ ${eecap-${java.specification.version}}, \ service-reference;effective:=active;objectClass=org.osgi.service.packageadmin.PackageAdmin, \ service-reference;effective:=active;objectClass=org.osgi.service.startlevel.StartLevel, \ service-reference;effective:=active;objectClass=org.osgi.service.url.URLHandlers, \ ${services-${karaf.framework}}
becomes
org.osgi.framework.system.capabilities= \ ${eecap-${java.specification.version}}, \ service-reference;effective:=active;objectClass=org.osgi.service.packageadmin.PackageAdmin, \ service-reference;effective:=active;objectClass=org.osgi.service.startlevel.StartLevel, \ service-reference;effective:=active;objectClass=org.osgi.service.url.URLHandlers
Attachments
Issue Links
- relates to
-
KARAF-3069 Karaf is missing the osgi.ee capabilities when using equinox as framework
- Resolved