public static void PrintPomXml(PomXmlIdentifier project, List <PomXmlIdentifier> dependencies, List <PomXmlIdentifier> plugins, string root) { using (StreamWriter writer = new StreamWriter(Path.Combine(root, "pom.xml"))) { PomXmlGenerator pomGen = new PomXmlGenerator(); writer.WriteLine(pomGen.Generate(project, dependencies, plugins)); } }
public static void GeneratePomXml(PomXmlIdentifier projectInfo, List <PomXmlIdentifier> dependencies, List <PomXmlIdentifier> plugins, MavenProjectStructure paths) { JavaEePrinter.PrintPomXml(projectInfo, dependencies, plugins, paths.projectPath); }