@Component(role=Builder.class, hint="multithreaded") public class MultiThreadedBuilder extends Object implements Builder
This builder uses a number of threads equal to the minimum of the degree of concurrency (which is the thread count
-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.
|Constructor and Description|
|Modifier and Type||Method and Description|
public void build(MavenSession session, ReactorContext reactorContext, ProjectBuildList projectBuilds, List<TaskSegment> taskSegments, ReactorBuildStatus reactorBuildStatus) throws ExecutionException, InterruptedException
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.