docs: public static PackageType resolve(final MavenProject project) {
          final String packaging = project.getPackaging().toLowerCase(Locale.ROOT);
          if (DEFAULT_TYPES.containsKey(packaging)) {
              return DEFAULT_TYPES.get(packaging);
          }
          return new PackageType(packaging);
      }