public class PomModelResolver extends Object
Constructor and Description |
---|
PomModelResolver() |
Modifier and Type | Method and Description |
---|---|
static org.appformer.maven.support.PomModel |
resolveFromJar(InputStream jarStream)
Construct a PomModel from a JAR by parsing first the pom.xml file within the JAR
and if not present a pom.properties file in the JAR.
|
static org.appformer.maven.support.PomModel |
resolveFromPom(InputStream pomStream)
Construct a PomModel from a pom.xml file
|
public static org.appformer.maven.support.PomModel resolveFromJar(InputStream jarStream)
jarStream
- InputStream to the JARpublic static org.appformer.maven.support.PomModel resolveFromPom(InputStream pomStream) throws Exception
pomStream
- InputStream to the pom.xml fileException
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.