public final class DependencyGraphBuilder extends Object
| Constructor and Description |
|---|
DependencyGraphBuilder() |
DependencyGraphBuilder(Iterable<String> mavenRepositoryUrls) |
| Modifier and Type | Method and Description |
|---|---|
DependencyGraph |
buildFullDependencyGraph(List<org.eclipse.aether.artifact.Artifact> artifacts)
Finds the full compile time, transitive dependency graph including duplicates, conflicting
versions, and provided and optional dependencies.
|
DependencyGraph |
buildMavenDependencyGraph(org.eclipse.aether.graph.Dependency dependency)
Builds the transitive dependency graph as seen by Maven.
|
DependencyGraph |
buildVerboseDependencyGraph(org.eclipse.aether.artifact.Artifact artifact)
Finds the full compile time, transitive dependency graph including conflicting versions and
provided dependencies.
|
DependencyGraph |
buildVerboseDependencyGraph(List<org.eclipse.aether.artifact.Artifact> artifacts)
Finds the full compile time, transitive dependency graph including duplicates and conflicting
versions, but not optional dependencies.
|
public DependencyGraphBuilder()
public DependencyGraphBuilder(Iterable<String> mavenRepositoryUrls)
mavenRepositoryUrls - remote Maven repositories to search for dependenciesIllegalArgumentException - if a URL is malformed or does not have an allowed schemepublic DependencyGraph buildFullDependencyGraph(List<org.eclipse.aether.artifact.Artifact> artifacts)
In the event of I/O errors, missing artifacts, and other problems, it can return an incomplete graph.
artifacts - Maven artifacts whose dependencies to retrievepublic DependencyGraph buildVerboseDependencyGraph(List<org.eclipse.aether.artifact.Artifact> artifacts)
In the event of I/O errors, missing artifacts, and other problems, it can return an incomplete graph.
artifacts - Maven artifacts whose dependencies to retrievepublic DependencyGraph buildVerboseDependencyGraph(org.eclipse.aether.artifact.Artifact artifact)
In the event of I/O errors, missing artifacts, and other problems, it can return an incomplete graph.
artifact - the rootpublic DependencyGraph buildMavenDependencyGraph(org.eclipse.aether.graph.Dependency dependency)
In the event of I/O errors, missing artifacts, and other problems, it can return an incomplete graph.
Copyright © 2018–2021 Google LLC.. All rights reserved.