After seeing Robert Dunne's OSGi Dependencies: Heaven and Hell, I am specially interested in the following :
If you were using a resolver that wasn’t aware of
ACTIVE
bundle dependencies then you’d have to manage all of this yourself. With Nimble you just ask for what you need and let the resolver take care of the rest. This speeds up the development life-cycle and keeps redundant clutter out of your scripts.
Just as Richard said, using obr can resolve resolving-time dependencies. However, I think that if not scanning the bundle's source , it is difficult to resolve active-time dependencies (active bundle's dependencies automatically) .
For example, if a bundle A used a service which was registered on bundle B using BundleContext.register
method, then, when activating the bundle A, how can we know the fact that we must activate the bundle B too?