Interface PomManager

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ROLE  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addModule​(java.io.File basedirPom, java.lang.String artifactId)  
      void addParent​(java.io.File pom, java.io.File basedirPom)  
      void mergePoms​(java.io.File pom, java.io.File temporaryPom)  
      org.apache.maven.model.Model readPom​(java.io.File pomFile)  
      org.apache.maven.model.Model readPom​(java.io.InputStream pomStream)  
      void writePom​(org.apache.maven.model.Model model, java.io.File pomFile, java.io.File initialPomFile)  
    • Field Detail

      • ROLE

        static final java.lang.String ROLE
    • Method Detail

      • addParent

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

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

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

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

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