@Nullable
  public static MavenDomPlugin findCompilerPlugin(MavenDomProjectModel model) {
    MavenDomPlugins plugins = model.getBuild().getPlugins();
    for (MavenDomPlugin plugin : plugins.getPlugins()) {
      if ("org.apache.maven.plugins".equals(plugin.getGroupId().getStringValue()) &&
          "maven-compiler-plugin".equals(plugin.getArtifactId().getStringValue())) {
        return plugin;
      }
    }
    return null;
  }
@Nullable
  public static MavenDomPlugin findCompilerPlugin(MavenDomProjectModel model)