I'm having some ugly load issues with ivy. The source of this is loading xml-apis, where apparently someone decided it would be a good idea for version numbers to go backwards. The version I need is 1.4.01. Ivy reasonably ( but in this case incorrectly ) evicts this for 2.0 based on some other dependencies I have.
There's a way you can tell ivy to use a specific version, apparently. According to the docs, as well as a typical example here, the syntax looks like this:
<dependencies>
...
<dependency ... />
<dependency ... />
<conflict org="..." module="..." rev="..." />
This fails for me- using ivy 2.4, I get the error
"ivy:retrieve] [xml parsing: ivy.xml:49:55: cvc-complex-type.2.4.a: Invalid content was found starting with element 'dependency'. One of '{conflict}' is expected. in file:/project/ivy.xml"
In ivy 2.0 I get
Invalid content was found starting with element 'conflict'. One of '{dependency, exclude}' is expected. in file:/project/ivy.xml
According to the ivy docs, "conflict" was added in version 2.0. Anyone have any ideas about what might be going on here?