public void testExternalArtifacts() throws Exception {
Ivy ivy = Ivy.newInstance();
ivy.getSettings().setVariable("test.base.url",
new File("test/repositories/external-artifacts").toURI().toURL().toExternalForm());
ivy.configure(new File("test/repositories/external-artifacts/ivysettings.xml"));
ResolveReport report = ivy.resolve(
new File("test/repositories/external-artifacts/ivy.xml"),
getResolveOptions(ivy.getSettings(), new String[] {"*"}).setValidate(false));
assertFalse(report.hasError());