Your manifest file is missing the entries:
Bundle-ManifestVersion: 2
Bundle-SymbolicName: .....
Without those your bundle is assumed to comply with the OSGi R3 specification, so resolution:="optional"
is not valid. If you add those manifest entries the bundle will be treated as R4 compliant and should work.