Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
dependencymanager.annotations-3.2.0, dependencymanager.runtime-3.2.0
-
None
Description
The DependencyManager Runtime should declare the following Provide-Capability header:
Provide-Capability: osgi.extender; osgi.extender="org.apache.felix.dependencymanager.runtime";\ uses:="org.apache.felix.dm";version:Version="4.0.0"
And the DependencyManager Annotations Bnd Plugin should generate the following Require-Capability header:
Require-Capability: osgi.extender; filter:="(&(osgi.extender=org.apache.felix.dependencymanager.runtime)(version>=4.0.0))"
This allows to ensure that a DM Runtime is resolved from an OBR when a DM annoted bundle is deployed.
A new "add-require-capability" bndplugin option should be added in order to turn on/off the generation of the Require-Capability header with default value=true.
Also, the Import-Service/Export-Service headers should not be generated by default anymore by the DM bndplugin, because these headers are deprecated.