public interface PomManager
Modifier and Type | Method and Description |
---|---|
void |
addModule(File basedirPom,
String artifactId) |
void |
addParent(File pom,
File basedirPom) |
void |
mergePoms(File pom,
File temporaryPom) |
Model |
readPom(File pomFile) |
Model |
readPom(InputStream pomStream) |
void |
writePom(Model model,
File pomFile,
File initialPomFile) |
static final String ROLE
void addModule(File basedirPom, String artifactId) throws IOException, ParserConfigurationException, TransformerException, SAXException, InvalidPackaging, ArchetypeTemplateProcessingException
void addParent(File pom, File basedirPom) throws IOException, XmlPullParserException
IOException
XmlPullParserException
void mergePoms(File pom, File temporaryPom) throws IOException, XmlPullParserException
IOException
XmlPullParserException
Model readPom(File pomFile) throws IOException, XmlPullParserException
IOException
XmlPullParserException
Model readPom(InputStream pomStream) throws IOException, XmlPullParserException
IOException
XmlPullParserException
void writePom(Model model, File pomFile, File initialPomFile) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.