@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) |
org.apache.maven.model.Model |
readPom(File pomFile) |
org.apache.maven.model.Model |
readPom(InputStream pomStream) |
void |
writePom(org.apache.maven.model.Model model,
File pomFile,
File initialPomFile) |
public void addModule(File pom, String artifactId) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException, org.dom4j.DocumentException, InvalidPackaging
addModule in interface PomManagerIOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserExceptionorg.dom4j.DocumentExceptionInvalidPackagingpublic void addParent(File pom, File parentPom) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
addParent in interface PomManagerIOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic void mergePoms(File pom, File temporaryPom) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
mergePoms in interface PomManagerIOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic org.apache.maven.model.Model readPom(File pomFile) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
readPom in interface PomManagerIOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic org.apache.maven.model.Model readPom(InputStream pomStream) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
readPom in interface PomManagerIOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic void writePom(org.apache.maven.model.Model model,
File pomFile,
File initialPomFile)
throws IOException
writePom in interface PomManagerIOExceptionCopyright © 2007-2017 The Apache Software Foundation. All Rights Reserved.