Invalid content was found starting with element 'dependency'. One of '{exclude, override, conflict}' is expected.
Try to move it to the bottom of the file and build again. It's a bug in the spec and should go away just like that.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ivy:resolve] :: Apache Ivy 2.3.0 - 20130110142753 :: http://ant.apache.org/ivy/ :: | |
[ivy:resolve] [xml parsing: ivy.xml:54:84: cvc-complex-type.2.4.a: Invalid content was found starting with element 'dependency'. One of '{exclude, override, conflict}' is expected. in file:/Users/elomonaco/dev/workspace/platform-services/ivy.xml | |
BUILD FAILED | |
/Users/elomonaco/dev/workspace/module-tools/build/install/ant/ivy.xml:88: syntax errors in ivy file: java.text.ParseException: [xml parsing: ivy.xml:54:84: cvc-complex-type.2.4.a: Invalid content was found starting with element 'dependency'. One of '{exclude, override, conflict}' is expected. in file:/Users/elomonaco/dev/workspace/platform-services/ivy.xml | |
] |
Thank you so much. I encountered the same problem and your solution helped me build.
ReplyDeleteIvy documentation isn't very complete and requires a bit of empiricism. Good luck
Delete..
ReplyDelete