static List<Export> exportedPackages(File jarFile) {
        var manifest = getOsgiManifest(jarFile);
        if (manifest == null) return List.of();
        try {
            return parseExports(manifest);
        } catch (Exception e) {
            throw new RuntimeException(String.format("Invalid manifest in bundle '%s'", jarFile.getPath()), e);
        }
    }
Static utilities for analyzing jar files.

@author Tony Vaagenes
@author ollivir
@author gjoranv
bundle-plugin/src/main/java/com/yahoo/container/plugin/bundle/AnalyzeBundle.java