Uses of Class
org.apache.maven.project.MavenProject
Package
Description
-
Uses of MavenProject in org.apache.maven
Modifier and TypeMethodDescriptionprotected <T> Collection
<T> DefaultMaven.getProjectScopedExtensionComponents
(Collection<MavenProject> projects, Class<T> role) -
Uses of MavenProject in org.apache.maven.artifact.repository
Modifier and TypeMethodDescriptionstatic RepositoryRequest
DefaultRepositoryRequest.getRepositoryRequest
(MavenSession session, MavenProject project) -
Uses of MavenProject in org.apache.maven.execution
Modifier and TypeMethodDescriptionMavenSession.getCurrentProject()
BuildSummary.getProject()
Gets the project being summarized.DefaultMavenExecutionResult.getProject()
ExecutionEvent.getProject()
Gets the current project (if any).MavenExecutionResult.getProject()
MojoExecutionEvent.getProject()
ProjectExecutionEvent.getProject()
MavenSession.getTopLevelProject()
Modifier and TypeMethodDescriptionMavenSession.getAllProjects()
This is a provisional method and may be removedProjectDependencyGraph.getAllProjects()
Gets all collected projects.ProjectDependencyGraph.getDownstreamProjects
(MavenProject project, boolean transitive) Gets the downstream projects of the specified project.MavenSession.getProjectMap()
Deprecated.MavenSession.getProjects()
MavenSession.getSortedProjects()
Deprecated.ProjectDependencyGraph.getSortedProjects()
Gets all projects in their intended build order, i.e.ReactorManager.getSortedProjects()
Deprecated.DefaultMavenExecutionResult.getTopologicallySortedProjects()
MavenExecutionResult.getTopologicallySortedProjects()
ProjectDependencyGraph.getUpstreamProjects
(MavenProject project, boolean transitive) Gets the upstream projects of the specified project.Modifier and TypeMethodDescriptionvoid
BuildResumptionDataRepository.applyResumptionData
(MavenExecutionRequest request, MavenProject rootProject) Uses previously stored resumption data to enrich an existing execution request.void
DefaultBuildResumptionDataRepository.applyResumptionData
(MavenExecutionRequest request, MavenProject rootProject) void
ReactorManager.blackList
(MavenProject project) Deprecated.ReactorManager.getBuildFailure
(MavenProject project) Deprecated.ReactorManager.getBuildSuccess
(MavenProject project) Deprecated.DefaultMavenExecutionResult.getBuildSummary
(MavenProject project) MavenExecutionResult.getBuildSummary
(MavenProject project) Gets the build summary for the specified project.ProjectDependencyGraph.getDownstreamProjects
(MavenProject project, boolean transitive) Gets the downstream projects of the specified project.MavenSession.getPluginContext
(PluginDescriptor plugin, MavenProject project) Returns the plugin context for given key (PluginDescriptor.getPluginLookupKey()
andMavenProject
, never returnsnull
as if context not present, creates it.ReactorManager.getPluginContext
(PluginDescriptor plugin, MavenProject project) Deprecated.ProjectDependencyGraph.getUpstreamProjects
(MavenProject project, boolean transitive) Gets the upstream projects of the specified project.boolean
ReactorManager.hasBuildFailure
(MavenProject project) Deprecated.boolean
ReactorManager.hasBuildSuccess
(MavenProject project) Deprecated.boolean
ReactorManager.isBlackListed
(MavenProject project) Deprecated.void
BuildResumptionDataRepository.persistResumptionData
(MavenProject rootProject, BuildResumptionData buildResumptionData) Persists any data needed to resume the build at a later point in time, using a new Maven invocation.void
DefaultBuildResumptionDataRepository.persistResumptionData
(MavenProject rootProject, BuildResumptionData buildResumptionData) void
ReactorManager.registerBuildFailure
(MavenProject project, Exception error, String task, long time) Deprecated.void
ReactorManager.registerBuildSuccess
(MavenProject project, long time) Deprecated.void
BuildResumptionDataRepository.removeResumptionData
(MavenProject rootProject) Removes previously stored resumption data.void
DefaultBuildResumptionDataRepository.removeResumptionData
(MavenProject rootProject) void
MavenSession.setCurrentProject
(MavenProject currentProject) DefaultMavenExecutionResult.setProject
(MavenProject project) MavenExecutionResult.setProject
(MavenProject project) Modifier and TypeMethodDescriptionvoid
MavenSession.setAllProjects
(List<MavenProject> allProjects) This is a provisional method and may be removedvoid
MavenSession.setProjectMap
(Map<String, MavenProject> projectMap) void
MavenSession.setProjects
(List<MavenProject> projects) DefaultMavenExecutionResult.setTopologicallySortedProjects
(List<MavenProject> topologicallySortedProjects) MavenExecutionResult.setTopologicallySortedProjects
(List<MavenProject> projects) ModifierConstructorDescriptionBuildFailure
(MavenProject project, long time, Throwable cause) Creates a new build summary for the specified project.BuildSuccess
(MavenProject project, long time) Creates a new build summary for the specified project.protected
BuildSummary
(MavenProject project, long time) Creates a new build summary for the specified project.MavenSession
(org.codehaus.plexus.PlexusContainer container, MavenExecutionRequest request, MavenExecutionResult result, MavenProject project) Deprecated.MojoExecutionEvent
(MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo) MojoExecutionEvent
(MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo, Throwable cause) ProjectExecutionEvent
(MavenSession session, MavenProject project) ProjectExecutionEvent
(MavenSession session, MavenProject project, Throwable cause) ProjectExecutionEvent
(MavenSession session, MavenProject project, List<MojoExecution> executionPlan) ProjectExecutionEvent
(MavenSession session, MavenProject project, List<MojoExecution> executionPlan, Throwable cause) ModifierConstructorDescriptionMavenSession
(org.codehaus.plexus.PlexusContainer container, MavenExecutionRequest request, MavenExecutionResult result, List<MavenProject> projects) Deprecated.ReactorManager
(List<MavenProject> projects) Deprecated. -
Uses of MavenProject in org.apache.maven.graph
Modifier and TypeMethodDescriptionDefaultProjectDependencyGraph.getAllProjects()
DefaultProjectDependencyGraph.getDownstreamProjects
(MavenProject project, boolean transitive) ProjectSelector.getOptionalProjectsBySelectors
(MavenExecutionRequest request, List<MavenProject> projects, Set<String> projectSelectors) ProjectSelector.getRequiredProjectsBySelectors
(MavenExecutionRequest request, List<MavenProject> projects, Set<String> projectSelectors) DefaultProjectDependencyGraph.getSortedProjects()
DefaultProjectDependencyGraph.getUpstreamProjects
(MavenProject project, boolean transitive) Modifier and TypeMethodDescriptionDefaultProjectDependencyGraph.getDownstreamProjects
(MavenProject project, boolean transitive) DefaultProjectDependencyGraph.getUpstreamProjects
(MavenProject project, boolean transitive) Modifier and TypeMethodDescriptionProjectSelector.getOptionalProjectsBySelectors
(MavenExecutionRequest request, List<MavenProject> projects, Set<String> projectSelectors) ProjectSelector.getRequiredProjectsBySelectors
(MavenExecutionRequest request, List<MavenProject> projects, Set<String> projectSelectors) ModifierConstructorDescriptionDefaultProjectDependencyGraph
(Collection<MavenProject> projects) Creates a new project dependency graph based on the specified projects.DefaultProjectDependencyGraph
(Collection<MavenProject> allProjects, Collection<MavenProject> projects) Creates a new project dependency graph based on the specified projects.DefaultProjectDependencyGraph
(List<MavenProject> allProjects, Collection<MavenProject> projects) Deprecated.DefaultProjectDependencyGraph
(List<MavenProject> allProjects, Collection<MavenProject> projects) Deprecated. -
Uses of MavenProject in org.apache.maven.internal.impl
-
Uses of MavenProject in org.apache.maven.internal.transformation
Modifier and TypeMethodDescriptionorg.apache.maven.internal.transformation.ConsumerPomArtifactTransformer.ConsumerPomArtifact
ConsumerPomArtifactTransformer.createConsumerPomArtifact
(MavenProject project, Path consumer, org.eclipse.aether.RepositorySystemSession session) void
ConsumerPomArtifactTransformer.injectTransformedArtifacts
(MavenProject project, org.eclipse.aether.RepositorySystemSession session) -
Uses of MavenProject in org.apache.maven.lifecycle
Modifier and TypeMethodDescriptionDefaultLifecycleExecutor.executeForkedExecutions
(MojoExecution mojoExecution, MavenSession session) LifecycleExecutor.executeForkedExecutions
(MojoExecution mojoExecution, MavenSession session) Modifier and TypeMethodDescriptionLifecycleMappingDelegate.calculateLifecycleMappings
(MavenSession session, MavenProject project, Lifecycle lifecycle, String lifecyclePhase) void
MojoExecutionConfigurator.configure
(MavenProject project, MojoExecution mojoExecution, boolean allowPluginLevelConfig) Create the MojoExecution configuration based on configuration for a Mojo in the MavenProject and the default configuration for the Mojo from the containing plugin's plugin.xml descriptor.ModifierConstructorDescriptionLifecycleExecutionException
(String message, MojoExecution execution, MavenProject project) LifecycleExecutionException
(String message, MojoExecution execution, MavenProject project, Throwable cause) LifecycleExecutionException
(String message, MavenProject project) LifecycleExecutionException
(MessageBuilderFactory messageBuilderFactory, MojoExecution execution, MavenProject project, Throwable cause) LifecycleExecutionException
(MojoExecution execution, MavenProject project, Throwable cause) -
Uses of MavenProject in org.apache.maven.lifecycle.internal
Modifier and TypeMethodDescriptionMojoExecutor.executeForkedExecutions
(MojoExecution mojoExecution, MavenSession session, ProjectIndex projectIndex) ProjectSegment.getImmediateUpstreamProjects()
static List
<MavenProject> LifecycleDependencyResolver.getProjects
(MavenProject project, MavenSession session, boolean aggregator) ProjectBuildList.getProjects()
ProjectIndex.getProjects()
ProjectSegment.getTransitiveUpstreamProjects()
ProjectBuildList.selectSegment
(TaskSegment taskSegment) Modifier and TypeMethodDescriptionvoid
ReactorBuildStatus.blackList
(MavenProject project) void
LifecycleModuleBuilder.buildProject
(MavenSession session, MavenSession rootSession, ReactorContext reactorContext, MavenProject currentProject, TaskSegment taskSegment) void
LifecycleModuleBuilder.buildProject
(MavenSession session, ReactorContext reactorContext, MavenProject currentProject, TaskSegment taskSegment) DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan
(MavenSession session, MavenProject project, List<Object> tasks) DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan
(MavenSession session, MavenProject project, List<Object> tasks, boolean setup) LifecycleExecutionPlanCalculator.calculateExecutionPlan
(MavenSession session, MavenProject project, List<Object> tasks) LifecycleExecutionPlanCalculator.calculateExecutionPlan
(MavenSession session, MavenProject project, List<Object> tasks, boolean setup) DefaultLifecycleMappingDelegate.calculateLifecycleMappings
(MavenSession session, MavenProject project, Lifecycle lifecycle, String lifecyclePhase) DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions
(MavenSession session, MavenProject project, List<Object> tasks) void
DefaultMojoExecutionConfigurator.configure
(MavenProject project, MojoExecution mojoExecution, boolean allowPluginLevelConfig) DefaultProjectArtifactFactory.createArtifacts
(ArtifactFactory artifactFactory, List<Dependency> dependencies, String inheritedScope, ArtifactFilter dependencyFilter, MavenProject project) DefaultProjectArtifactFactory.createArtifacts
(MavenProject project) ProjectArtifactFactory.createArtifacts
(MavenProject project) static List
<ExecutionPlanItem> ExecutionPlanItem.createExecutionPlanItems
(MavenProject mavenProject, List<MojoExecution> executions) void
LifecycleDebugLogger.debugProjectPlan
(MavenProject currentProject, MavenExecutionPlan executionPlan) ProjectBuildList.findByMavenProject
(MavenProject mavenProject) Finds the first ProjectSegment matching the supplied projectMojoDescriptorCreator.getMojoDescriptor
(String task, MavenSession session, MavenProject project) static List
<MavenProject> LifecycleDependencyResolver.getProjects
(MavenProject project, MavenSession session, boolean aggregator) boolean
ReactorBuildStatus.isBlackListed
(MavenProject project) boolean
ReactorBuildStatus.isHaltedOrBlacklisted
(MavenProject mavenProject) void
LifecyclePluginResolver.resolveMissingPluginVersions
(MavenProject project, MavenSession session) LifecycleDependencyResolver.resolveProjectArtifacts
(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, MavenSession session, boolean aggregating, Set<Artifact> projectArtifacts) void
LifecycleDependencyResolver.resolveProjectDependencies
(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, MavenSession session, boolean aggregating, Set<Artifact> projectArtifacts) void
DefaultLifecycleExecutionPlanCalculator.setupMojoExecution
(MavenSession session, MavenProject project, MojoExecution mojoExecution, Set<MojoDescriptor> alreadyPlannedExecutions) void
LifecycleExecutionPlanCalculator.setupMojoExecution
(MavenSession session, MavenProject project, MojoExecution mojoExecution, Set<MojoDescriptor> alreadyPlannedExecutions) ModifierConstructorDescriptionDependencyContext
(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve) PhaseRecorder
(MavenProject project) ProjectSegment
(MavenProject project, TaskSegment taskSegment, MavenSession copiedSession) -
Uses of MavenProject in org.apache.maven.lifecycle.internal.builder
Modifier and TypeMethodDescriptionstatic void
BuilderCommon.attachToThread
(MavenProject currentProject) static String
BuilderCommon.getKey
(MavenProject project) void
BuilderCommon.handleBuildError
(ReactorContext buildContext, MavenSession rootSession, MavenSession currentSession, MavenProject mavenProject, Throwable t, long buildStartTime) BuilderCommon.resolveBuildPlan
(MavenSession session, MavenProject project, TaskSegment taskSegment, Set<Artifact> projectArtifacts) -
Uses of MavenProject in org.apache.maven.lifecycle.internal.builder.multithreaded
Modifier and TypeMethodDescriptionConcurrencyDependencyGraph.getActiveDependencies
(MavenProject p) protected List
<MavenProject> ConcurrencyDependencyGraph.getDependencies
(MavenProject p) protected Set
<MavenProject> ConcurrencyDependencyGraph.getFinishedProjects()
ConcurrencyDependencyGraph.getRootSchedulableBuilds()
Gets all the builds that have no reactor-dependenciesConcurrencyDependencyGraph.getUnfinishedProjects()
ConcurrencyDependencyGraph.markAsFinished
(MavenProject mavenProject) Marks the provided project as finished.Modifier and TypeMethodDescriptionConcurrencyDependencyGraph.getActiveDependencies
(MavenProject p) protected List
<MavenProject> ConcurrencyDependencyGraph.getDependencies
(MavenProject p) ConcurrencyDependencyGraph.markAsFinished
(MavenProject mavenProject) Marks the provided project as finished. -
Uses of MavenProject in org.apache.maven.plugin
Modifier and TypeMethodDescriptionvoid
DefaultExtensionRealmCache.register
(MavenProject project, ExtensionRealmCache.Key key, ExtensionRealmCache.CacheRecord record) void
DefaultPluginArtifactsCache.register
(MavenProject project, PluginArtifactsCache.Key cacheKey, PluginArtifactsCache.CacheRecord record) void
DefaultPluginRealmCache.register
(MavenProject project, PluginRealmCache.Key key, PluginRealmCache.CacheRecord record) void
ExtensionRealmCache.register
(MavenProject project, ExtensionRealmCache.Key key, ExtensionRealmCache.CacheRecord record) Registers the specified cache record for usage with the given project.void
PluginArtifactsCache.register
(MavenProject project, PluginArtifactsCache.Key cacheKey, PluginArtifactsCache.CacheRecord record) Registers the specified cache record for usage with the given project.void
PluginRealmCache.register
(MavenProject project, PluginRealmCache.Key key, PluginRealmCache.CacheRecord record) Registers the specified cache record for usage with the given project.MavenPluginManager.setupExtensionsRealm
(MavenProject project, Plugin plugin, org.eclipse.aether.RepositorySystemSession session) Sets up class realm for the specified build extensions plugin.ModifierConstructorDescriptionPluginExecutionException
(MojoExecution mojoExecution, MavenProject project, Exception cause) PluginExecutionException
(MojoExecution mojoExecution, MavenProject project, String message) PluginExecutionException
(MojoExecution mojoExecution, MavenProject project, String message, Throwable cause) PluginExecutionException
(MojoExecution mojoExecution, MavenProject project, DuplicateArtifactAttachmentException cause) PluginManagerException
(Plugin plugin, String message, MavenProject project) protected
PluginManagerException
(Plugin plugin, String message, MavenProject project, Throwable cause) PluginManagerException
(MojoDescriptor mojoDescriptor, String message, MavenProject project, org.codehaus.plexus.PlexusContainerException cause) protected
PluginManagerException
(MojoDescriptor mojoDescriptor, MavenProject project, String message) protected
PluginManagerException
(MojoDescriptor mojoDescriptor, MavenProject project, String message, Throwable cause) PluginManagerException
(MojoDescriptor mojoDescriptor, MavenProject project, String message, org.codehaus.plexus.classworlds.realm.NoSuchRealmException cause) -
Uses of MavenProject in org.apache.maven.plugin.internal
Modifier and TypeMethodDescriptionDefaultMavenPluginManager.setupExtensionsRealm
(MavenProject project, Plugin plugin, org.eclipse.aether.RepositorySystemSession session) -
Uses of MavenProject in org.apache.maven.project
Modifier and TypeMethodDescriptionMavenProject.clone()
MavenProject.getExecutionProject()
DefaultDependencyResolutionRequest.getMavenProject()
DependencyResolutionRequest.getMavenProject()
Gets the project to resolve dependencies for.MavenProject.getParent()
Returns the project corresponding to a declared parent.DefaultModelBuildingListener.getProject()
Gets the project whose model is being built.DefaultProjectBuildingRequest.getProject()
DuplicateArtifactAttachmentException.getProject()
ProjectBuildingRequest.getProject()
ProjectBuildingResult.getProject()
Gets the project that was built.ProjectSorter.getTopLevelProject()
Modifier and TypeMethodDescriptionMavenProject.getCollectedProjects()
ProjectSorter.getProjectMap()
MavenProject.getProjectReferences()
ProjectSorter.getSortedProjects()
Modifier and TypeMethodDescriptionvoid
MavenProject.addProjectReference
(MavenProject project) void
DefaultMavenProjectHelper.addResource
(MavenProject project, String resourceDirectory, List<String> includes, List<String> excludes) void
MavenProjectHelper.addResource
(MavenProject project, String resourceDirectory, List<String> includes, List<String> excludes) Add a resource directory to the project.void
DefaultMavenProjectHelper.addTestResource
(MavenProject project, String resourceDirectory, List<String> includes, List<String> excludes) void
MavenProjectHelper.addTestResource
(MavenProject project, String resourceDirectory, List<String> includes, List<String> excludes) Add a test resource directory to the project.void
DefaultMavenProjectHelper.attachArtifact
(MavenProject project, File artifactFile, String artifactClassifier) void
DefaultMavenProjectHelper.attachArtifact
(MavenProject project, String artifactType, File artifactFile) void
DefaultMavenProjectHelper.attachArtifact
(MavenProject project, String artifactType, String artifactClassifier, File artifactFile) void
DefaultMavenProjectHelper.attachArtifact
(MavenProject project, Artifact artifact) Add an attached artifact or replace the file for an existing artifact.void
MavenProjectHelper.attachArtifact
(MavenProject project, File artifactFile, String artifactClassifier) SeeMavenProjectHelper.attachArtifact(MavenProject, String, String, java.io.File)
, but with type set to null.void
MavenProjectHelper.attachArtifact
(MavenProject project, String artifactType, File artifactFile) * SeeMavenProjectHelper.attachArtifact(MavenProject, String, String, java.io.File)
, but with classifier set to null.void
MavenProjectHelper.attachArtifact
(MavenProject project, String artifactType, String artifactClassifier, File artifactFile) Add or replace an artifact to the current project.DefaultProjectBuildingHelper.createProjectRealm
(MavenProject project, Model model, ProjectBuildingRequest request) ProjectBuildingHelper.createProjectRealm
(MavenProject project, Model model, ProjectBuildingRequest request) Creates the project realm that hosts the build extensions of the specified model.org.eclipse.aether.RepositorySystemSession
RepositorySessionDecorator.decorate
(MavenProject project, org.eclipse.aether.RepositorySystemSession session) Returns possiblynull
Aether repository system session to be used to resolve project dependencies.static String
ProjectSorter.getId
(MavenProject project) MavenProject.getModulePathAdjustment
(MavenProject moduleProject) Deprecated.void
DefaultProjectRealmCache.register
(MavenProject project, ProjectRealmCache.Key key, ProjectRealmCache.CacheRecord record) void
ProjectRealmCache.register
(MavenProject project, ProjectRealmCache.Key key, ProjectRealmCache.CacheRecord record) Registers the specified cache record for usage with the given project.void
DefaultProjectBuildingHelper.selectProjectRealm
(MavenProject project) void
ProjectBuildingHelper.selectProjectRealm
(MavenProject project) Updates the context class loader such that the container will search the project realm when the model builder injects the lifecycle bindings from the packaging in the next step.void
MavenProject.setExecutionProject
(MavenProject executionProject) DefaultDependencyResolutionRequest.setMavenProject
(MavenProject project) DependencyResolutionRequest.setMavenProject
(MavenProject project) Sets the project to resolve dependencies for.void
MavenProject.setParent
(MavenProject parent) void
DefaultProjectBuildingRequest.setProject
(MavenProject mavenProject) void
ProjectBuildingRequest.setProject
(MavenProject mavenProject) Modifier and TypeMethodDescriptionvoid
MavenProject.setCollectedProjects
(List<MavenProject> collectedProjects) ModifierConstructorDescriptionDefaultDependencyResolutionRequest
(MavenProject project, org.eclipse.aether.RepositorySystemSession session) DefaultModelBuildingListener
(MavenProject project, ProjectBuildingHelper projectBuildingHelper, ProjectBuildingRequest projectBuildingRequest) DuplicateArtifactAttachmentException
(MavenProject project, Artifact artifact) MavenProject
(MavenProject project) ModifierConstructorDescriptionProjectSorter
(Collection<MavenProject> projects) Sort a list of projects. -
Uses of MavenProject in org.apache.maven.project.artifact
Modifier and TypeMethodDescriptionDefaultProjectArtifactsCache.createKey
(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, boolean aggregating, org.eclipse.aether.RepositorySystemSession session) ProjectArtifactsCache.createKey
(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, boolean aggregating, org.eclipse.aether.RepositorySystemSession session) void
DefaultProjectArtifactsCache.register
(MavenProject project, ProjectArtifactsCache.Key cacheKey, ProjectArtifactsCache.CacheRecord record) void
ProjectArtifactsCache.register
(MavenProject project, ProjectArtifactsCache.Key cacheKey, ProjectArtifactsCache.CacheRecord record) Registers the specified cache record for usage with the given project.ModifierConstructorDescriptionCacheKey
(MavenProject project, List<org.eclipse.aether.repository.RemoteRepository> repositories, Collection<String> scopesToCollect, Collection<String> scopesToResolve, boolean aggregating, org.eclipse.aether.RepositorySystemSession session) ProjectArtifact
(MavenProject project) -
Uses of MavenProject in org.apache.maven.project.collector
Modifier and TypeMethodDescriptionMultiModuleCollectionStrategy.collectProjects
(MavenExecutionRequest request) PomlessCollectionStrategy.collectProjects
(MavenExecutionRequest request) ProjectCollectionStrategy.collectProjects
(MavenExecutionRequest request) RequestPomCollectionStrategy.collectProjects
(MavenExecutionRequest request) DefaultProjectsSelector.selectProjects
(List<File> files, MavenExecutionRequest request) ProjectsSelector.selectProjects
(List<File> files, MavenExecutionRequest request) Select Maven projects from a list of POM files.
DefaultProjectDependencyGraph(Collection, Collection)
instead.