public static List<MavenPlugin> convertPlugins(Model mavenModel) {
    List<MavenPlugin> result = new ArrayList<>();
    Build build = mavenModel.getBuild();

    if (build != null) {
      List<Plugin> plugins = build.getPlugins();
      if (plugins != null) {
        for (Plugin each : plugins) {
          result.add(convertPlugin(false, each));
        }
      }
    }

    return result;
  }
public static List<MavenPlugin> convertPlugins(Model mavenModel)