Package org.eclipse.tycho.p2maven
Class MavenProjectDependencyProcessor
java.lang.Object
org.eclipse.tycho.p2maven.MavenProjectDependencyProcessor
@Component(role=MavenProjectDependencyProcessor.class)
public class MavenProjectDependencyProcessor
extends Object
THis component computes dependencies between projects
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeProjectDependencyClosure(Collection<org.apache.maven.project.MavenProject> projects, org.apache.maven.execution.MavenSession session) Computes theMavenProjectDependencyProcessor.ProjectDependencyClosureof the given collection of projects.
-
Constructor Details
-
MavenProjectDependencyProcessor
public MavenProjectDependencyProcessor()
-
-
Method Details
-
computeProjectDependencyClosure
public MavenProjectDependencyProcessor.ProjectDependencyClosure computeProjectDependencyClosure(Collection<org.apache.maven.project.MavenProject> projects, org.apache.maven.execution.MavenSession session) throws org.eclipse.core.runtime.CoreException Computes theMavenProjectDependencyProcessor.ProjectDependencyClosureof the given collection of projects.- Parameters:
projects- the projects to include in the closuresession- the maven session for this requestprofilePropertiesSupplier- supplier of context IUs for a project that represent the the profile properties to consider during resolution, can be empty in which case a filter is always considered a match- Returns:
- the computed
MavenProjectDependencyProcessor.ProjectDependencyClosure - Throws:
org.eclipse.core.runtime.CoreException- if computation failed
-