code: private static List<String> normalizePackagePrefixes(List<String> packages)
      {
          if (packages == null)
              return null;
  
          List<String> result = new ArrayList<>(packages.size());
          for (String pkg : packages)
          {
              if(pkg.endsWith(".*")){
                  System.out.println("Warning: removing the .* suffix from the package prefix: " + pkg);
              }
              result.add(StringUtils.removeEndIgnoreCase(pkg, ".*"));
          }
  
          return packages;
      }
docs: Removes the .* suffix, which is expectable the users will use.