properties.put(GitOBRRepo.PROP_GIT_BRANCH, "master");
properties.put(GitOBRRepo.PROP_LOCAL_DIR, checkoutDir.getAbsolutePath());
properties.put(GitOBRRepo.PROP_LOCAL_SUB_DIR, "jars");
properties.put(GitOBRRepo.PROP_REPO_TYPE, GitOBRRepo.REPO_TYPE_OBR);
GitOBRRepo repo = new GitOBRRepo();
repo.setProperties(properties);
Properties props = new Properties();
props.put(Processor.PLUGIN, org.osgi.impl.bundle.bindex.BundleIndexerImpl.class.getName());
Processor processor = new Processor();
processor.setProperties(props);
repo.setReporter(processor);
repo.setRegistry(processor);
return repo;
}