Class PomEditor
- java.lang.Object
-
- org.kie.workbench.common.services.backend.pom.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 Summary
Constructors Constructor Description PomEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.maven.model.Modelexecute(org.apache.maven.model.Model model)org.apache.maven.model.ModelgetModel(byte[] bytez)org.apache.maven.model.ModelgetModel(org.uberfire.java.nio.file.Path pom)org.apache.maven.model.ModelupdatePomWithoutWrite(org.uberfire.java.nio.file.Path pom)org.apache.maven.model.ModelupdatePomWithoutWrite(org.uberfire.java.nio.file.Path pom, String pathJsonFile)
-
-
-
Method Detail
-
execute
public org.apache.maven.model.Model execute(org.apache.maven.model.Model model)
- Specified by:
executein interfaceorg.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:
IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
-