Class MultiThreadedBuilder
java.lang.Object
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder
- All Implemented Interfaces:
- Builder
@Component(role=Builder.class,
           hint="multithreaded")
public class MultiThreadedBuilder
extends Object
implements Builder
Builds the full lifecycle in weave-mode (phase by phase as opposed to project-by-project).
 
 This builder uses a number of threads equal to the minimum of the degree of concurrency (which is the thread count
 set with -T on the command-line) and the number of projects to build. As such, building a single project
 will always result in a sequential build, regardless of the thread count.
 
- Since:
- 3.0
- Author:
- Kristian Rosenvold Builds one or more lifecycles for a full module NOTE: This class is not part of any public api and can be changed or deleted without prior notice.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidbuild(MavenSession session, ReactorContext reactorContext, ProjectBuildList projectBuilds, List<TaskSegment> taskSegments, ReactorBuildStatus reactorBuildStatus) 
- 
Constructor Details- 
MultiThreadedBuilderpublic MultiThreadedBuilder()
 
- 
- 
Method Details- 
buildpublic void build(MavenSession session, ReactorContext reactorContext, ProjectBuildList projectBuilds, List<TaskSegment> taskSegments, ReactorBuildStatus reactorBuildStatus) throws ExecutionException, InterruptedException - Specified by:
- buildin interface- Builder
- Throws:
- ExecutionException
- InterruptedException
 
 
-