org.guvnor.common.services.project.backend.server
@Dependent public class POMContentHandler extends Object
public String toString(POM pomModel) throws IOException
IOException
public String toString(POM gavModel, String originalPomAsText) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
gavModel
- The model that is savedoriginalPomAsText
- The original pom in text form, since the guvnor POM model does not cover all the pom.xml features.IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
public POM toModel(String pomAsString) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.