You need to use a conflict indicator, to override the default behaviour which will be to choose the latest revision of the same dependency.
For an example see the following answer:
Question
My project has commons-codec as a dependency and uses Ivy.
Some other dependencies need commons-codec-1.6 and 1.2.
Now my problem is that Ivy evicts my version(1.4) and instead uses 1.6.
<dependency org="commons-codec" name="commons-codec" force="true" rev="1.4" />
Why doesn't force work? Has anyone encountered this yet?
FYI i have used this before and it worked...
Solution
You need to use a conflict indicator, to override the default behaviour which will be to choose the latest revision of the same dependency.
For an example see the following answer: