return RepositoryType.TARBZ2;
}
};
BufferedReader bufferedReader = new BufferedReader(new FileReader(new File(
"testData/index2.txt")));
IndexReader ir = new IndexReader(bufferedReader);
List<ArchiveArtifact> artifacts = ir.parse();
repo.setArtifacts(artifacts);
RepoProvider provider = injector.getInstance(RepoProvider.class);
provider.addRepo(RepositoryType.TARBZ2, "http://localhost", repo);
}