Although according to https://stackoverflow.com/q/38322981 every DS reference marked with cardinality=ReferenceCardinality.MULTIPLE doesn't lead to auto-generating an Require-Capability: osgi.service header with the according filter, I explicitly want to state that although the reference is mandatory for this particular DS component, the component itself is optional and therefore its references should never appear within Require-Capability without resolution:=optional.
Although there seem to be global options to tweak the behaviour for all components (#1364, https://bnd.bndtools.org/instructions/dsannotations_options.html) there doesn't seem to be an easy option to just state for a DS component that all its references should be considered optional and therefore its own implemented service should also never be referenced in Provide-Capability either.
Although according to https://stackoverflow.com/q/38322981 every DS reference marked with
cardinality=ReferenceCardinality.MULTIPLEdoesn't lead to auto-generating anRequire-Capability: osgi.serviceheader with the according filter, I explicitly want to state that although the reference is mandatory for this particular DS component, the component itself is optional and therefore its references should never appear withinRequire-Capabilitywithoutresolution:=optional.Although there seem to be global options to tweak the behaviour for all components (#1364, https://bnd.bndtools.org/instructions/dsannotations_options.html) there doesn't seem to be an easy option to just state for a DS component that all its references should be considered
optionaland therefore its own implemented service should also never be referenced inProvide-Capabilityeither.