Using bleeding edge Bndtools, completely empty workspace, create a DS component definition using the DS annotations that gets a @Reference to a org.osgi.service.jdbc.DataSourceFactory.
When I try to resolve that bundle in Bndtools, I get the following resolution error:
org.osgi.service.resolver.ResolutionException: Unable to resolve <<INITIAL>> version=null: missing requirement db.consumer
-> Unable to resolve db.consumer version=0.0.0.201508282146: missing requirement org.osgi.service.jdbc; version=[1.0.0,2.0.0)
-> Unable to resolve osgi.cmpn version=6.0.0.201505202027: missing requirement &(must.not.resolve=*)(must.not.resolve!=*)]]
And my bundle is obviously importing org.osgi.service.jdbc, so the resolution failure makes sense, but this didn't happen with osgi.cmpn 5.0 because it didn't have the Require-Capability.
So what is the "correct" way to resolve (pardon the pun) this problem?