public class MavenDependencyGraph
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
MavenDependencyGraph.Artifact |
(package private) static class |
MavenDependencyGraph.Scope |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Map<java.net.URI,MavenDependencyGraph.Artifact> |
cache |
(package private) java.util.List<MavenDependencyGraph.Artifact> |
dependencies |
(package private) static javax.xml.parsers.DocumentBuilderFactory |
docFactory |
(package private) java.util.List<java.net.URL> |
repositories |
(package private) MavenDependencyGraph.Artifact |
root |
(package private) javax.xml.xpath.XPath |
xpath |
(package private) static javax.xml.xpath.XPathFactory |
xpathFactory |
Constructor and Description |
---|
MavenDependencyGraph() |
Modifier and Type | Method and Description |
---|---|
void |
addArtifact(MavenDependencyGraph.Artifact artifact) |
void |
addRepository(java.net.URL repository) |
MavenDependencyGraph.Artifact |
getArtifact(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version) |
private java.lang.String |
getPath(java.lang.String path,
java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version) |
static final javax.xml.parsers.DocumentBuilderFactory docFactory
static final javax.xml.xpath.XPathFactory xpathFactory
final java.util.List<MavenDependencyGraph.Artifact> dependencies
final java.util.List<java.net.URL> repositories
final javax.xml.xpath.XPath xpath
final java.util.Map<java.net.URI,MavenDependencyGraph.Artifact> cache
MavenDependencyGraph.Artifact root
public void addRepository(java.net.URL repository)
public MavenDependencyGraph.Artifact getArtifact(java.lang.String groupId, java.lang.String artifactId, java.lang.String version)
private java.lang.String getPath(java.lang.String path, java.lang.String groupId, java.lang.String artifactId, java.lang.String version)
public void addArtifact(MavenDependencyGraph.Artifact artifact) throws java.lang.Exception
java.lang.Exception