void (File repository, MavenPlugin plugin, Set<? super String> list) { MavenPluginInfo info = MavenArtifactUtil.readPluginInfo(repository, plugin.getMavenId()); if (info == null) return; for (MavenPluginInfo.Mojo m : info.getMojos()) { list.add(m.getQualifiedGoal()); } }