assertTrue(new File("build/test/install/org.apache/test/test-1.0.jar").exists());
// the original descriptor is not installed
assertFalse(new File("build/test/install/org.apache/test/test-1.0.pom").exists());
ivy.install(ModuleRevisionId.newInstance("org.apache", "test", "1.0"), ivy.getSettings()
.getDefaultResolver().getName(), "install", new InstallOptions()
.setInstallOriginalMetadata(true).setOverwrite(true));
// the original descriptor is installed now, too
assertTrue(new File("build/test/install/org.apache/test/test-1.0.pom").exists());