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)
           
 Model readPom(File pomFile)
           
 Model readPom(InputStream pomStream)
           
 void writePom(Model model, File pomFile, File initialPomFile)
           
 

Field Detail

ROLE

static final String ROLE
Method Detail

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.