Interface DependencyCollector

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.aether.collection.CollectResult collectDependencies​(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.collection.CollectRequest request)
      Collects the transitive dependencies of some artifacts and builds a dependency graph.
    • Method Detail

      • collectDependencies

        org.eclipse.aether.collection.CollectResult collectDependencies​(org.eclipse.aether.RepositorySystemSession session,
                                                                        org.eclipse.aether.collection.CollectRequest request)
                                                                 throws org.eclipse.aether.collection.DependencyCollectionException
        Collects the transitive dependencies of some artifacts and builds a dependency graph. Note that this operation is only concerned about determining the coordinates of the transitive dependencies and does not actually resolve the artifact files. The supplied session carries various hooks to customize the dependency graph that must be invoked throughout the operation.
        Parameters:
        session - The repository session, must not be null.
        request - The collection request, must not be null.
        Returns:
        The collection result, never null.
        Throws:
        org.eclipse.aether.collection.DependencyCollectionException - If the dependency tree could not be built.
        See Also:
        RepositorySystemSession.getDependencyTraverser(), RepositorySystemSession.getDependencyManager(), RepositorySystemSession.getDependencySelector(), RepositorySystemSession.getVersionFilter(), RepositorySystemSession.getDependencyGraphTransformer(), RepositorySystem.collectDependencies(RepositorySystemSession, CollectRequest)