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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -