docs: public static String getProductVersion(RepositoryResource installResource) {
          String resourceVersion = null;
          try {
              Collection<ProductDefinition> pdList = new ArrayList<ProductDefinition>();
              for (ProductInfo pi : ProductInfo.getAllProductInfo().values()) {
                  pdList.add(new ProductInfoProductDefinition(pi));
              }
              resourceVersion = installResource.getAppliesToVersions(pdList);
          } catch (Exception e) {
              logger.log(Level.FINEST, e.getMessage(), e);
          }
  
          if (resourceVersion == null)
              resourceVersion = InstallConstants.NOVERSION;
  
          return resourceVersion;
      }