aQute.bnd.maven.support
Class Pom

java.lang.Object
  extended by aQute.bnd.maven.support.Pom
Direct Known Subclasses:
CachedPom, ProjectPom

public abstract class Pom
extends Object


Nested Class Summary
 class Pom.Dependency
           
static class Pom.Scope
           
 
Constructor Summary
Pom(Maven maven, File pomFile, URI home)
           
 
Method Summary
abstract  File getArtifact()
           
 String getArtifactId()
           
 List<Pom.Dependency> getDependencies()
           
 Set<Pom> getDependencies(Pom.Scope scope, URI... urls)
           
 String getDescription()
           
 String getGroupId()
           
 File getLibrary(Pom.Scope action, URI... repositories)
           
 String getName()
           
 File getPomFile()
           
 String getVersion()
           
protected  void parse(Document doc, XPath xp)
           
protected  String replace(String in)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Pom

public Pom(Maven maven,
           File pomFile,
           URI home)
    throws Exception
Throws:
Exception
Method Detail

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.