Interface DependencyResolutionResult


  • public interface DependencyResolutionResult
    The result of a project dependency resolution.
    Author:
    Benjamin Bentmann
    • Method Detail

      • getDependencyGraph

        org.eclipse.aether.graph.DependencyNode getDependencyGraph()
        Gets the dependency graph of the project.
        Returns:
        The dependency graph or null if not available.
      • getResolvedDependencies

        List<org.eclipse.aether.graph.Dependency> getResolvedDependencies()
        Gets the dependencies that were successfully resolved.
        Returns:
        The resolved dependencies, never null.
      • getUnresolvedDependencies

        List<org.eclipse.aether.graph.Dependency> getUnresolvedDependencies()
        Gets the dependencies that could not be resolved.
        Returns:
        The unresolved dependencies, never null.
      • getCollectionErrors

        List<Exception> getCollectionErrors()
        Gets the errors that occurred while building the dependency graph.
        Returns:
        The errors that occurred while building the dependency graph, never null.
      • getResolutionErrors

        List<Exception> getResolutionErrors​(org.eclipse.aether.graph.Dependency dependency)
        Gets the errors that occurred while resolving the specified dependency.
        Parameters:
        dependency - The dependency for which to retrieve the errors, must not be null.
        Returns:
        The resolution errors for the specified dependency, never null.