use of org.eclipse.tycho.test.util.LocalMavenRepositoryTool in project tycho by eclipse.
the class PomDependencyOnLocallyBuiltTychoArtifactTest method setUpBundleWithSourceBundle.
private void setUpBundleWithSourceBundle() throws Exception {
Verifier testDataProject = getVerifier("pomDependencyConsider.p2Data.reuse/testDataBundle", false);
testDataProject.executeGoal("install");
testDataProject.verifyErrorFreeLog();
// prevent that the created bundle & source bundle can be automatically seen by other Tycho builds
LocalMavenRepositoryTool localRepo = new DefaultPlexusContainer().lookup(LocalMavenRepositoryTool.class);
localRepo.removeLinesFromMetadataIndex(TEST_PROJECT_POM_DEPENDENCY.getGroupId() + ":" + TEST_PROJECT_POM_DEPENDENCY.getArtifactId() + ":" + TEST_PROJECT_POM_DEPENDENCY.getVersion());
}
Aggregations