@ApplicationScoped public class PomEditor extends Object implements org.guvnor.common.services.project.backend.server.PomEnhancer
| Constructor and Description |
|---|
PomEditor() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.maven.model.Model |
execute(org.apache.maven.model.Model model) |
org.apache.maven.model.Model |
getModel(byte[] bytez) |
org.apache.maven.model.Model |
getModel(org.uberfire.java.nio.file.Path pom) |
org.apache.maven.model.Model |
updatePomWithoutWrite(org.uberfire.java.nio.file.Path pom) |
org.apache.maven.model.Model |
updatePomWithoutWrite(org.uberfire.java.nio.file.Path pom,
String pathJsonFile) |
public org.apache.maven.model.Model execute(org.apache.maven.model.Model model)
execute in interface org.guvnor.common.services.project.backend.server.PomEnhancerpublic org.apache.maven.model.Model updatePomWithoutWrite(org.uberfire.java.nio.file.Path pom)
public org.apache.maven.model.Model updatePomWithoutWrite(org.uberfire.java.nio.file.Path pom,
String pathJsonFile)
public org.apache.maven.model.Model getModel(byte[] bytez)
throws Exception
Exceptionpublic org.apache.maven.model.Model getModel(org.uberfire.java.nio.file.Path pom)
throws IOException,
org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserExceptionCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.