Interface DependencyGraphBuilder

  • All Known Implementing Classes:
    DefaultDependencyGraphBuilder

    public interface DependencyGraphBuilder
    Maven project dependency graph builder API, neutral against Maven 2 or Maven 3.
    Since:
    2.0
    • Method Detail

      • buildDependencyGraph

        DependencyNode buildDependencyGraph​(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
                                            org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
                                     throws DependencyGraphBuilderException
        Build the dependency graph.
        Parameters:
        buildingRequest - the buildingRequest
        filter - artifact filter (can be null)
        Returns:
        the dependency graph
        Throws:
        DependencyGraphBuilderException - if some of the dependencies could not be resolved.