FYI, I've just checked in code which uses the proposed syntax. Here's an
extract of an ivy file used in ivy file parsing test:
<dependencies>
[...]
<dependency org="yourorg" name="yourmodule11" rev="11.1"
conf="*->@"/>
<hints>
<exclude module="*servlet*" matcher="glob" conf="myconf1" />
<exclude org="acme" module="test" artifact="test" type="source"
ext="jar" />
<conflict org="yourorg" module=".*" matcher="regexp"
manager="all" />
<conflict org="theirorg" module="theirmodule1" rev="1.0, 1.1"/>
<override org="yourorg" module=".*1" matcher="regexp"
branch="BRANCH" rev="1.0" />
</hints>
</dependencies>
I find this pretty readable. I've also deprecated the use of conflicts
section (if descriptor version is > 1.4), and global exclude directly under
dependencies.
I still need to update the doc, and implement overrides writing to support
pom to ivy file conversion when dependency management is used and resolve
IVY-753.
This is still open to discussion, if you have better ideas for the syntax,
or a better name than 'hints', please give feedback before we cut next
release.
Xavier