@Component(role=PomManager.class) public class DefaultPomManager extends org.codehaus.plexus.logging.AbstractLogEnabled implements PomManager
ROLE| Constructor and Description |
|---|
DefaultPomManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addModule(File pom,
String artifactId) |
void |
addParent(File pom,
File parentPom) |
void |
mergePoms(File pom,
File temporaryPom) |
Model |
readPom(File pomFile) |
Model |
readPom(InputStream pomStream) |
void |
writePom(Model model,
File pomFile,
File initialPomFile) |
public void addModule(File pom, String artifactId) throws IOException, XmlPullParserException, org.dom4j.DocumentException, InvalidPackaging
addModule in interface PomManagerIOExceptionXmlPullParserExceptionorg.dom4j.DocumentExceptionInvalidPackagingpublic void addParent(File pom, File parentPom) throws IOException, XmlPullParserException
addParent in interface PomManagerIOExceptionXmlPullParserExceptionpublic void mergePoms(File pom, File temporaryPom) throws IOException, XmlPullParserException
mergePoms in interface PomManagerIOExceptionXmlPullParserExceptionpublic Model readPom(File pomFile) throws IOException, XmlPullParserException
readPom in interface PomManagerIOExceptionXmlPullParserExceptionpublic Model readPom(InputStream pomStream) throws IOException, XmlPullParserException
readPom in interface PomManagerIOExceptionXmlPullParserExceptionpublic void writePom(Model model, File pomFile, File initialPomFile) throws IOException
writePom in interface PomManagerIOExceptionCopyright © 2007–2015 The Apache Software Foundation. All rights reserved.