I've turned up felix logging to debug and I'm getting the following message
during startup:
DEBUG: Candidate permutation failed due to a conflict between imports; will
try another if possible. (org.osgi.service.resolver.ResolutionException:
Uses constraint violation. Unable to resolve resource core [core [19](R
19.0)] because it is exposed to package 'com.mine.foo' from resources foo [
foo [5](R 5.0)] and bar [bar [7](R 7.0)] via two dependency chains.
Chain 1:
core [core [19](R 19.0)]
import: (&(osgi.wiring.package=com.mine.foo
)(version>=1.5.0)(!(version>=2.0.0)))
|
export: osgi.wiring.package: com.mine.foo
foo [foo [5](R 5.0)]
Chain 2:
core [core [19](R 19.0)]
import: (osgi.wiring.package=com.mine.init)
|
export: osgi.wiring.package: com.mine.init; uses:=com.mine.foo
export: osgi.wiring.package=com.mine.foo
bar [bar [7](R 7.0)])
Why is it complaining? Only the 'foo' bundle exports com.mine.foo, so
there can't be conflicting exports.
--Andy