public abstract class Pom
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Pom.Dependency |
static class |
Pom.Scope |
Constructor and Description |
---|
Pom(Maven maven,
java.io.File pomFile,
java.net.URI home) |
Modifier and Type | Method and Description |
---|---|
abstract java.io.File |
getArtifact() |
java.lang.String |
getArtifactId() |
java.util.List<Pom.Dependency> |
getDependencies() |
java.util.Set<Pom> |
getDependencies(Pom.Scope scope,
java.net.URI... urls) |
java.lang.String |
getDescription() |
java.lang.String |
getGroupId() |
java.io.File |
getLibrary(Pom.Scope action,
java.net.URI... repositories) |
java.lang.String |
getName() |
java.io.File |
getPomFile() |
java.lang.String |
getVersion() |
protected void |
parse(org.w3c.dom.Document doc,
javax.xml.xpath.XPath xp) |
protected java.lang.String |
replace(java.lang.String in) |
java.lang.String |
toString() |
public Pom(Maven maven, java.io.File pomFile, java.net.URI home) throws java.lang.Exception
java.lang.Exception
public java.lang.String getDescription()
protected void parse(org.w3c.dom.Document doc, javax.xml.xpath.XPath xp) throws javax.xml.xpath.XPathExpressionException, java.lang.Exception
javax.xml.xpath.XPathExpressionException
java.lang.Exception
public java.lang.String getArtifactId() throws java.lang.Exception
java.lang.Exception
public java.lang.String getGroupId() throws java.lang.Exception
java.lang.Exception
public java.lang.String getVersion() throws java.lang.Exception
java.lang.Exception
public java.util.List<Pom.Dependency> getDependencies() throws java.lang.Exception
java.lang.Exception
public java.util.Set<Pom> getDependencies(Pom.Scope scope, java.net.URI... urls) throws java.lang.Exception
java.lang.Exception
protected java.lang.String replace(java.lang.String in)
public java.lang.String toString()
toString
in class java.lang.Object
public java.io.File getLibrary(Pom.Scope action, java.net.URI... repositories) throws java.lang.Exception
java.lang.Exception
public java.io.File getPomFile()
public java.lang.String getName()
public abstract java.io.File getArtifact() throws java.lang.Exception
java.lang.Exception