docs: private static Attributes getJarMainAttributes(final File file) {
          debug("getJarMainAttributes: " + file);
  
          try {
              try(final JarInputStream jarInputStream = new JarInputStream(new FileInputStream(file))){
                  return jarInputStream.getManifest().getMainAttributes();
              }
          } catch (IOException e) {
              return null;
          }
      }