org.apache.maven.lifecycle.internal
Class LifecycleWeaveBuilder
java.lang.Object
org.apache.maven.lifecycle.internal.LifecycleWeaveBuilder
@Component(role=LifecycleWeaveBuilder.class)
public class LifecycleWeaveBuilder
- extends Object
Builds the full lifecycle in weave-mode (phase by phase as opposed to project-by-project)
NOTE: Weave mode is still experimental. It may be either promoted to first class citizen
at some later point in time, and it may also be removed entirely. Weave mode has much more aggressive
concurrency behaviour than regular threaded mode, and as such is still under test wrt cross platform stability.
To remove weave mode from m3, the following should be removed:
ExecutionPlanItem.schedule w/setters and getters
DefaultLifeCycles.getScheduling() and all its use
ReactorArtifactRepository has a reference to isWeave too.
This class and its usage
- 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LifecycleWeaveBuilder
public LifecycleWeaveBuilder()
LifecycleWeaveBuilder
public LifecycleWeaveBuilder(MojoExecutor mojoExecutor,
BuilderCommon builderCommon,
org.codehaus.plexus.logging.Logger logger,
ExecutionEventCatapult eventCatapult)
build
public void build(ProjectBuildList projectBuilds,
ReactorContext buildContext,
List<TaskSegment> taskSegments,
MavenSession session,
ExecutorService executor,
ReactorBuildStatus reactorBuildStatus)
throws ExecutionException,
InterruptedException
- Throws:
ExecutionException
InterruptedException
isWeaveMode
public static boolean isWeaveMode(MavenExecutionRequest request)
setWeaveMode
public static void setWeaveMode(Properties properties)
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.