The OSGi metadata generated for the Ehcache jar mandates the use of Declarative Services with this output:
Require-Capability: osgi.extender;filter:="(&(osgi.extender=osgi.compo
nent)(version>=1.3.0)(!(version>=2.0.0)))",osgi.ee;filter:="(&(osgi.e
e=JavaSE)(version=1.8))"
However the use of Declarative Services is not required at runtime, and this Require-Capability metadata prevents Ehcache from loading in OSGi when a Declarative Services runtime is not present. Could this Require-Capability metadata be removed? For example by adding
instruction Constants.REMOVEHEADERS, 'Require-Capability'
to ehcache/build.gradle?
The OSGi metadata generated for the Ehcache jar mandates the use of Declarative Services with this output:
However the use of Declarative Services is not required at runtime, and this
Require-Capabilitymetadata prevents Ehcache from loading in OSGi when a Declarative Services runtime is not present. Could thisRequire-Capabilitymetadata be removed? For example by addingto
ehcache/build.gradle?