public abstract class Pom extends Object
Modifier and Type | Class and Description |
---|---|
class |
Pom.Dependency |
static class |
Pom.Scope |
Constructor and Description |
---|
Pom(Maven maven,
File pomFile,
URI home) |
Modifier and Type | Method and Description |
---|---|
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() |
public String getDescription()
protected void parse(Document doc, XPath xp) throws XPathExpressionException, Exception
XPathExpressionException
Exception
public List<Pom.Dependency> getDependencies() throws Exception
Exception
public Set<Pom> getDependencies(Pom.Scope scope, URI... urls) throws Exception
Exception
public File getLibrary(Pom.Scope action, URI... repositories) throws Exception
Exception
public File getPomFile()
public String getName()
Copyright © 2021 aQute SARL. All rights reserved.