/[Apache-SVN]
ViewVC logotype

Revision 931884


Jump to revision: Previous Next
Author: krosenvold
Date: Thu Apr 8 11:29:07 2010 UTC (14 years, 7 months ago)
Changed paths: 86
Log Message:
[MNG-3004] Concurrent building of multimodule projects

This commit consists of a modularization of the DefaultLifecycleExecutor into smaller
components. This is primarily done with the intention of extracting execution strategy 
somewhat from the rest of the logic.

It also contains three differenent execution strategies:
A) Linear ("Classic")
B) Parallel (Based on Dan's original implemementation)
C) Weave (Still experimental) 

 
The command line -T option activates parallel running, and the argument
is in the form -T <[nThreads, a float][C][W]|auto>

Notes:
* The output demultiplexer is disabled in this commit, and output will appear intermingled.
* The modello plugin has known problems
* Surefire must be run in forkmode at least once.


Changed paths

Path Details
Directorymaven/maven-3/trunk/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java modified , text changed
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/DefaultMaven.java modified , text changed
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/ReactorArtifactRepository.java modified , text changed
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java modified , text changed
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java modified , text changed
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java modified , text changed
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java modified , text changed
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java modified , text changed
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java modified , text changed
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/LifeCyclePluginAnalyzer.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java modified , text changed
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleEventCatapult.java modified , text changed
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java modified , text changed
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutor.java modified , text changed
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java modified , text changed
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/Schedule.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/Scheduling.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildListCalculator.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuilderCommon.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuiltLogItem.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ConcurrencyDependencyGraph.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ConcurrentBuildLogger.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DependencyContext.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ExecutionPlanItem.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/GoalTask.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDebugLogger.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleExecutionPlanCalculator.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleExecutionPlanCalculatorImpl.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecyclePluginAnalyzerImpl.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecyclePluginResolver.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleTask.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleTaskSegmentCalculator.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleTaskSegmentCalculatorImpl.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleThreadedBuilder.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleWeaveBuilder.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseRecorder.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectIndex.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ReactorBuildStatus.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ReactorContext.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/TaskSegment.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ThreadConfigurationService.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ThreadOutputMuxer.java added
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java modified , text changed
Directorymaven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java modified , text changed
Directorymaven/maven-3/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml modified , text changed
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorSubModulesTest.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java modified , text changed
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/MavenExecutionPlanTest.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/ added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/BuildListCalculatorTest.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/BuilderCommonTest.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/ConcurrencyDependencyGraphTest.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/ExecutionPlanItemTest.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleExecutionPlanCalculatorTest.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleWeaveBuilderTest.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/ProjectBuildListTest.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/ThreadConfigurationServiceTest.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/ThreadOutputMuxerTest.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/AboutTheStubs.html added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/BuildPluginManagerStub.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/CompletionServiceStub.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/DefaultLifecyclesStub.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifeCyclePluginAnalyzerStub.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleTaskSegmentCalculatorStub.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LoggerStub.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/MojoExecutorStub.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/PluginPrefixResolverStub.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/PluginVersionResolverStub.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ProjectDependenciesResolverStub.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ProjectDependencyGraphStub.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ProjectDependencyGraphStubTest.java added
Directorymaven/maven-3/trunk/maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java modified , text changed
Directorymaven/maven-3/trunk/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java modified , text changed
Directorymaven/maven-3/trunk/maven-embedder/src/main/java/org/apache/maven/cli/ExecutionEventLogger.java modified , text changed
Directorymaven/maven-3/trunk/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26