code: public static File getM2Path(File m2Dir, PluginCoordinates coordinates) {
          String artifactSubPath = getMavenPath(coordinates);
          return new File(m2Dir, artifactSubPath);
      }
docs: Find the plugin artifact in the local .m2 directory.
  @param m2Dir the maven m2 directory
  @param coordinates the coordinates
  @return the M2 path