Thank you for the answer Guillaume and David!
We were using maven-bundle-plugin (2.5.x) for building the bundles.
Switching to the latest version of the plugin (3.2.0) changes the things:
the Provide-Capability/Require-Capability headers no longer contain
service properties for filters, but
The bnd plugin from the maven bundle plugin used to do that:
https://github.com/apache/felix/blob/trunk/tools/maven-bundle-plugin/src/main/resources/org/apache/felix/bundleplugin/scr.xsl
I think it's now disabled by default and the bnd one is used.
Maybe an upgrade of the maven bundle plugin
What is generating the Require-Capabiility header? The target filter isn’t
supposed to be there on either Provide- or Require-Capability since it can
generally be overridden by configuration. AFAICT the bnd DS processing doesn’t
add the target filter to the Require-Capability header.
david
Hello guys,
we are migrating from Karaf 4.0.5 to 4.0.7 and facing a small issue with
the feature resolution.
I know that in Karaf 4.0.6 the enforcement of service capabilities when
feature is installed became effective.
But in our case we use a filter when consuming the service.
In Java