Interface DependencyCollectorBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      DependencyNode collectDependencyGraph​(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
      collect the project's raw dependency graph, with information to allow the API client to reason on its own about dependencies.
    • Method Detail

      • collectDependencyGraph

        DependencyNode collectDependencyGraph​(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
                                              org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
                                       throws DependencyCollectorBuilderException
        collect the project's raw dependency graph, with information to allow the API client to reason on its own about dependencies.
        Parameters:
        buildingRequest - the request with the project to process its dependencies.
        filter - an artifact filter if not all dependencies are required (can be null)
        Returns:
        the raw dependency tree
        Throws:
        DependencyCollectorBuilderException - if some of the dependencies could not be collected.