Looks like we can check the manifest file `META-INF/MANIFEST.MF` for the value of `Specification-Version`. That clearly indicates the major version.