java - ivy conflict resolution fails? -
i'm having ugly load issues ivy. source of loading xml-apis, apparently decided idea version numbers go backwards. version need 1.4.01. ivy reasonably ( in case incorrectly ) evicts 2.0 based on other dependencies have.
there's way can tell ivy use specific version, apparently. according docs, typical example here, syntax looks this:
<dependencies> ... <dependency ... /> <dependency ... /> <conflict org="..." module="..." rev="..." />
this fails me- using ivy 2.4, error
"ivy:retrieve] [xml parsing: ivy.xml:49:55: cvc-complex-type.2.4.a: invalid content found starting element 'dependency'. 1 of '{conflict}' expected. in file:/project/ivy.xml"
in ivy 2.0 get
invalid content found starting element 'conflict'. 1 of '{dependency, exclude}' expected. in file:/project/ivy.xml
according ivy docs, "conflict" added in version 2.0. have ideas might going on here?
found answer, in case else runs issue - @ least in case, conflict tag works @ end, not mixed in dependency elements - i.e.
<dependencies> <dependency ../> <dependency ../> <conflict /> <dependency ../> <- conflict fails dependency after it.
additionally, works in 2.4 not in 2.0.
Comments
Post a Comment