// ${pom.version}. The parent version should take precidence over parent2,
// so the version should be test2 version 2.0. Test3 is also a dependency of parent, and
// it's version is listed
// as 1.0 in parent2 (dependencies inherited from parent comes after).
Ivy ivy = new Ivy();
ivy.configure(new File("test/repositories/parentPom/ivysettings.xml"));
ivy.getSettings().setDefaultResolver("parentChain");
ResolveReport report = ivy.resolve(new File(
"test/repositories/parentPom/org/apache/dm/test/1.0/test-1.0.pom"),
getResolveOptions(new String[] {"*"}));