Package org.apache.maven.graph
Class ProjectSelector
java.lang.Object
org.apache.maven.graph.ProjectSelector
Utility class to extract
MavenProject
from the project graph during the execution phase based on optional or
required selectors.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetOptionalProjectsBySelectors
(MavenExecutionRequest request, List<MavenProject> projects, Set<String> projectSelectors) getRequiredProjectsBySelectors
(MavenExecutionRequest request, List<MavenProject> projects, Set<String> projectSelectors)
-
Constructor Details
-
ProjectSelector
public ProjectSelector()
-
-
Method Details
-
getRequiredProjectsBySelectors
public Set<MavenProject> getRequiredProjectsBySelectors(MavenExecutionRequest request, List<MavenProject> projects, Set<String> projectSelectors) throws MavenExecutionException - Throws:
MavenExecutionException
-
getOptionalProjectsBySelectors
public Set<MavenProject> getOptionalProjectsBySelectors(MavenExecutionRequest request, List<MavenProject> projects, Set<String> projectSelectors)
-