code: private void buildNameMap() {
          nameMap = new HashMap<String, GrailsPlugin>();
          for (GrailsPlugin plugin : originalPlugins) {
              nameMap.put(plugin.getName(), plugin);
          }
      }
docs: Builds a name to plugin map from the original list of plugins supplied