in src/main/java/org/apache/sling/tooling/lc/LaunchpadComparer.java [116:123]
private Map<ArtifactKey, Artifact> readArtifactsFromOsgiFeature(File toFile) throws IOException {
Feature fromFeature;
try (BufferedReader reader = Files.newBufferedReader(toFile.toPath())) {
fromFeature = FeatureJSONReader.read(reader, toFile.toPath().toString());
}
return fromFeature.getBundles().stream()
.collect(Collectors.toMap(a -> new ArtifactKey(a), Function.identity(), (first, second) -> second));
}