aQute.bnd.maven.support
Class Pom
java.lang.Object
aQute.bnd.maven.support.Pom
- Direct Known Subclasses:
- CachedPom, ProjectPom
public abstract class Pom
- extends java.lang.Object
|
Constructor Summary |
Pom(Maven maven,
java.io.File pomFile,
java.net.URI home)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Pom
public Pom(Maven maven,
java.io.File pomFile,
java.net.URI home)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDescription
public java.lang.String getDescription()
parse
protected void parse(org.w3c.dom.Document doc,
javax.xml.xpath.XPath xp)
throws javax.xml.xpath.XPathExpressionException,
java.lang.Exception
- Throws:
javax.xml.xpath.XPathExpressionException
java.lang.Exception
getArtifactId
public java.lang.String getArtifactId()
throws java.lang.Exception
- Throws:
java.lang.Exception
getGroupId
public java.lang.String getGroupId()
throws java.lang.Exception
- Throws:
java.lang.Exception
getVersion
public java.lang.String getVersion()
throws java.lang.Exception
- Throws:
java.lang.Exception
getDependencies
public java.util.List<Pom.Dependency> getDependencies()
throws java.lang.Exception
- Throws:
java.lang.Exception
getDependencies
public java.util.Set<Pom> getDependencies(Pom.Scope scope,
java.net.URI... urls)
throws java.lang.Exception
- Throws:
java.lang.Exception
replace
protected java.lang.String replace(java.lang.String in)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getLibrary
public java.io.File getLibrary(Pom.Scope action,
java.net.URI... repositories)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPomFile
public java.io.File getPomFile()
getName
public java.lang.String getName()
getArtifact
public abstract java.io.File getArtifact()
throws java.lang.Exception
- Throws:
java.lang.Exception