Class DefaultProjectsSelector
java.lang.Object
org.apache.maven.project.collector.DefaultProjectsSelector
- All Implemented Interfaces:
ProjectsSelector
Utility to select projects for a given set of pom.xml files.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionselectProjects
(List<File> files, MavenExecutionRequest request) Select Maven projects from a list of POM files.
-
Constructor Details
-
DefaultProjectsSelector
-
-
Method Details
-
selectProjects
public List<MavenProject> selectProjects(List<File> files, MavenExecutionRequest request) throws ProjectBuildingException Description copied from interface:ProjectsSelector
Select Maven projects from a list of POM files.- Specified by:
selectProjects
in interfaceProjectsSelector
- Parameters:
files
- List of POM files.request
- TheMavenExecutionRequest
- Returns:
- A list of projects that have been found in the specified POM files.
- Throws:
ProjectBuildingException
- In case the POMs are not used.
-