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)
           
 void writePom(org.apache.maven.model.Model model, File pomFile)
           
 

Field Detail

ROLE

static final String ROLE
Method Detail

addModule

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

addParent

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

mergePoms

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

readPom

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

writePom

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


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