org.apache.maven.archetype.common
Interface PomManager

All Known Implementing Classes:
DefaultPomManager

public interface PomManager


Field Summary
static String ROLE
           
 
Method Summary
 void addModule(File basedirPom, String artifactId)
           
 void addParent(File pom, File basedirPom)
           
 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)
           
 

Field Detail

ROLE

static final String ROLE
Method Detail

addModule

void addModule(File basedirPom,
               String artifactId)
               throws IOException,
                      org.codehaus.plexus.util.xml.pull.XmlPullParserException,
                      org.dom4j.DocumentException,
                      InvalidPackaging
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
org.dom4j.DocumentException
InvalidPackaging

addParent

void addParent(File pom,
               File basedirPom)
               throws IOException,
                      org.codehaus.plexus.util.xml.pull.XmlPullParserException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException

mergePoms

void mergePoms(File pom,
               File temporaryPom)
               throws IOException,
                      org.codehaus.plexus.util.xml.pull.XmlPullParserException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException

readPom

org.apache.maven.model.Model readPom(File pomFile)
                                     throws IOException,
                                            org.codehaus.plexus.util.xml.pull.XmlPullParserException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException

readPom

org.apache.maven.model.Model readPom(InputStream pomStream)
                                     throws IOException,
                                            org.codehaus.plexus.util.xml.pull.XmlPullParserException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException

writePom

void writePom(org.apache.maven.model.Model model,
              File pomFile,
              File initialPomFile)
              throws IOException
Throws:
IOException


Copyright © 2007-2012 Apache Software Foundation. All Rights Reserved.