Package aQute.bnd.maven
Class MavenDependencyGraph
- java.lang.Object
-
- aQute.bnd.maven.MavenDependencyGraph
-
public class MavenDependencyGraph extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
MavenDependencyGraph.Artifact
(package private) static class
MavenDependencyGraph.Scope
-
Field Summary
Fields Modifier and Type Field 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) static javax.xml.xpath.XPathFactory
xpathFactory
-
Constructor Summary
Constructors Constructor Description MavenDependencyGraph()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
docFactory
static final javax.xml.parsers.DocumentBuilderFactory docFactory
-
xpathFactory
static final javax.xml.xpath.XPathFactory xpathFactory
-
dependencies
final java.util.List<MavenDependencyGraph.Artifact> dependencies
-
repositories
final java.util.List<java.net.URL> repositories
-
cache
final java.util.Map<java.net.URI,MavenDependencyGraph.Artifact> cache
-
root
MavenDependencyGraph.Artifact root
-
-
Method Detail
-
addRepository
public void addRepository(java.net.URL repository)
-
getArtifact
public MavenDependencyGraph.Artifact getArtifact(java.lang.String groupId, java.lang.String artifactId, java.lang.String version)
-
getPath
private java.lang.String getPath(java.lang.String path, java.lang.String groupId, java.lang.String artifactId, java.lang.String version)
-
addArtifact
public void addArtifact(MavenDependencyGraph.Artifact artifact) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-