How do you override the defalut value of transitive in IVY?
I'm assuming that you don't want ivy to download the transient dependencies of a dependency declaration in your ivy.xml file?
<dependency org="foo" name="bar" revision="3.0" transitive="false"/>
If the bar module is held in a Maven repository then mapping the default configuration to the master scope will omit other dependencies
<dependency org="foo" name="bar" revision="3.0" conf="default->master"/>
When downloading from a maven repository setting the usepoms parameter to false will ignore the module's dependencies
<ibiblio name="maven" m2compatible="true" usepoms="false"/>
If you want to set transitive statements in your ant-task (your question really isn't that clear on this), you can use the transitive switch directly (default is "true"):
<ivy:resolve ... transitive="false" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With