code: private Map<String, String> indexWebjars() {
          Map<String, String> pathAliases = new TreeMap<>();
          for (String pomProperties : locatePomProperties()) {
              log.debug("Parsing Webjars metadata {}", pomProperties);
              URL url = ClasspathUtils.locateOnClasspath(pomProperties);
              Properties pom = new Properties();
              try (InputStream is = url.openStream()) {
                  pom.load(is);
              } catch (IOException e) {
                  log.error("Failed to read {}", url);
                  continue;
              }
  
              String artifactId = pom.getProperty("artifactId");
              String version = pom.getProperty("version");
              String fixedPath = artifactId + '/' + version + '/';
              String aliasPath = artifactId + '/';
              pathAliases.put(aliasPath, fixedPath);
          }
  
          for (Map.Entry<String, String> alias : pathAliases.entrySet()) {
              log.debug("Registered Webjars path alias '{}' => '{}'", alias.getKey(), alias.getValue());
          }
  
          return pathAliases;
      }
docs: Scans the classpath for Webjars metadata and creates an alias registry of path aliases to fixed version paths
  for all Webjars on the classpath.
  <p>
  This allows specifications of a path like "jquery/jquery.min.js" which will be substituted
  at runtime as "jquery/1.11.1/jquery.min.js".</p>
  
  @return a map of path pathAliases