in src/main/java/org/apache/sling/tooling/support/source/impl/SourceReferencesServlet.java [209:221]
private static void collectMavenSourceReferences(JSONWriter w, URL entry) throws IOException {
try (InputStream wrappedIn = entry.openStream();
JarInputStream jarIs = new JarInputStream(wrappedIn)) {
JarEntry jarEntry;
while ((jarEntry = jarIs.getNextJarEntry()) != null) {
String entryName = jarEntry.getName();
if (entryName.startsWith("META-INF/maven/") && entryName.endsWith("/pom.properties")) {
writeMavenGav(w, jarIs);
}
}
}
}