private static boolean isJavaxManifest()

in tools/ci/paimon-ci-tools/src/main/java/org/apache/paimon/tools/ci/licensecheck/JarFileChecker.java [314:324]


    private static boolean isJavaxManifest(Path jar, Path potentialManifestFile) {
        try {
            return equals(potentialManifestFile, "/META-INF/versions/11/META-INF/MANIFEST.MF")
                    && readFile(potentialManifestFile).contains("Specification-Title: jaxb-api");
        } catch (IOException e) {
            throw new RuntimeException(
                    String.format(
                            "Error while reading file %s from jar %s.", potentialManifestFile, jar),
                    e);
        }
    }