indexContexts.put(id, repoContext);
}
File mergedDir = new File(dir, "all");
File cacheDir = new File(mergedDir, "cache");
File indexDir = new File(mergedDir, "index");
ContextMemberProvider members = new StaticContextMemberProvider(indexContexts.values());
mergedContext = indexer.createMergedIndexingContext("all-context", "all", cacheDir, indexDir, true, members);
} catch (Exception e) {
failedRepos++;
LOG.warn("Failed to fetch Maven repository: {}", repository, e);