Class MultiModuleCollectionStrategy
java.lang.Object
org.apache.maven.project.collector.MultiModuleCollectionStrategy
- All Implemented Interfaces:
ProjectCollectionStrategy
@Named("MultiModuleCollectionStrategy")
@Singleton
public class MultiModuleCollectionStrategy
extends Object
implements ProjectCollectionStrategy
Strategy for collecting Maven projects from the multi-module project root, even when executed in a submodule.
-
Constructor Summary
ConstructorDescriptionMultiModuleCollectionStrategy
(ModelLocator modelLocator, ProjectsSelector projectsSelector) -
Method Summary
-
Constructor Details
-
MultiModuleCollectionStrategy
@Inject public MultiModuleCollectionStrategy(ModelLocator modelLocator, ProjectsSelector projectsSelector)
-
-
Method Details
-
collectProjects
public List<MavenProject> collectProjects(MavenExecutionRequest request) throws ProjectBuildingException - Specified by:
collectProjects
in interfaceProjectCollectionStrategy
- Parameters:
request
-- Returns:
- Throws:
ProjectBuildingException
-