Class PomEditor

  • All Implemented Interfaces:
    org.guvnor.common.services.project.backend.server.PomEnhancer

    @ApplicationScoped
    public class PomEditor
    extends Object
    implements org.guvnor.common.services.project.backend.server.PomEnhancer
    • Constructor Detail

      • PomEditor

        public PomEditor()
    • Method Detail

      • execute

        public org.apache.maven.model.Model execute​(org.apache.maven.model.Model model)
        Specified by:
        execute in interface org.guvnor.common.services.project.backend.server.PomEnhancer
      • updatePomWithoutWrite

        public org.apache.maven.model.Model updatePomWithoutWrite​(org.uberfire.java.nio.file.Path pom)
      • updatePomWithoutWrite

        public org.apache.maven.model.Model updatePomWithoutWrite​(org.uberfire.java.nio.file.Path pom,
                                                                  String pathJsonFile)
      • getModel

        public org.apache.maven.model.Model getModel​(byte[] bytez)
                                              throws Exception
        Throws:
        Exception
      • getModel

        public org.apache.maven.model.Model getModel​(org.uberfire.java.nio.file.Path pom)
                                              throws IOException,
                                                     org.codehaus.plexus.util.xml.pull.XmlPullParserException
        Throws:
        IOException
        org.codehaus.plexus.util.xml.pull.XmlPullParserException