I use Ivy to resolve OSGi bundles, like org.eclipse.jdt
:
<dependencies>
<dependency org="bundle" name="org.eclipse.jdt" rev="x.y.z"/>
</dependencies>
It works fine and gives me all mandatory dependencies.
My question is, how can I select some (not all) optional dependencies of transitive bundles?
I can:
- Select optional dependencies of
org.eclipse.jdt
by activatinguse_xxx
configuration - Select all optional dependencies using
transitive-optional
configuration
What I actually need is a possibility to globally activate a configuration use_yyy
. Globally means (applying to all transitive dependencies):
- If a module doesn't have this configuration, do nothing
- If a module does have this configuration, activate it