org.apache.maven.archetype.common
Interface PomManager
- All Known Implementing Classes:
- DefaultPomManager
public interface PomManager
ROLE
static final String ROLE
addModule
void addModule(File basedirPom,
String artifactId)
throws IOException,
XmlPullParserException,
org.dom4j.DocumentException,
InvalidPackaging
- Throws:
IOException
XmlPullParserException
org.dom4j.DocumentException
InvalidPackaging
addParent
void addParent(File pom,
File basedirPom)
throws IOException,
XmlPullParserException
- Throws:
IOException
XmlPullParserException
mergePoms
void mergePoms(File pom,
File temporaryPom)
throws IOException,
XmlPullParserException
- Throws:
IOException
XmlPullParserException
readPom
Model readPom(File pomFile)
throws IOException,
XmlPullParserException
- Throws:
IOException
XmlPullParserException
readPom
Model readPom(InputStream pomStream)
throws IOException,
XmlPullParserException
- Throws:
IOException
XmlPullParserException
writePom
void writePom(Model model,
File pomFile,
File initialPomFile)
throws IOException
- Throws:
IOException
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.