public static File getM2Path(File m2Dir, PluginCoordinates coordinates) {
        String artifactSubPath = getMavenPath(coordinates);
        return new File(m2Dir, artifactSubPath);
    }
Find the plugin artifact in the local .m2 directory.
@param m2Dir the maven m2 directory
@param coordinates the coordinates
@return the M2 path
common/plugin/src/main/java/io/apiman/common/plugin/PluginUtils.java