aQute.bnd.maven.support
Class Pom
java.lang.Object
aQute.bnd.maven.support.Pom
- Direct Known Subclasses:
- CachedPom, ProjectPom
public abstract class Pom
- extends Object
Pom
public Pom(Maven maven,
File pomFile,
URI home)
throws Exception
- Throws:
Exception
getDescription
public String getDescription()
parse
protected void parse(Document doc,
XPath xp)
throws XPathExpressionException,
Exception
- Throws:
XPathExpressionException
Exception
getArtifactId
public String getArtifactId()
throws Exception
- Throws:
Exception
getGroupId
public String getGroupId()
throws Exception
- Throws:
Exception
getVersion
public String getVersion()
throws Exception
- Throws:
Exception
getDependencies
public List<Pom.Dependency> getDependencies()
throws Exception
- Throws:
Exception
getDependencies
public Set<Pom> getDependencies(Pom.Scope scope,
URI... urls)
throws Exception
- Throws:
Exception
replace
protected String replace(String in)
toString
public String toString()
- Overrides:
toString
in class Object
getLibrary
public File getLibrary(Pom.Scope action,
URI... repositories)
throws Exception
- Throws:
Exception
getPomFile
public File getPomFile()
getName
public String getName()
getArtifact
public abstract File getArtifact()
throws Exception
- Throws:
Exception
Copyright © 2012 aQute SARL. All Rights Reserved.