Move ThreadOutputMuxer to sit along with the multithreaded Builder implementation

This commit is contained in:
Jason van Zyl 2014-02-06 16:39:15 -05:00
parent 0c5678fa89
commit 097cc8d25f
4 changed files with 10 additions and 4 deletions

View File

@ -119,7 +119,7 @@ public class ProjectBuildList
return items.size(); return items.size();
} }
ProjectSegment get( int index ) public ProjectSegment get( int index )
{ {
return items.get( index ); return items.get( index );
} }

View File

@ -37,7 +37,6 @@ import org.apache.maven.lifecycle.internal.ProjectSegment;
import org.apache.maven.lifecycle.internal.ReactorBuildStatus; import org.apache.maven.lifecycle.internal.ReactorBuildStatus;
import org.apache.maven.lifecycle.internal.ReactorContext; import org.apache.maven.lifecycle.internal.ReactorContext;
import org.apache.maven.lifecycle.internal.TaskSegment; import org.apache.maven.lifecycle.internal.TaskSegment;
import org.apache.maven.lifecycle.internal.ThreadOutputMuxer;
import org.apache.maven.lifecycle.internal.builder.Builder; import org.apache.maven.lifecycle.internal.builder.Builder;
import org.apache.maven.project.MavenProject; import org.apache.maven.project.MavenProject;
import org.codehaus.plexus.component.annotations.Component; import org.codehaus.plexus.component.annotations.Component;

View File

@ -1,4 +1,4 @@
package org.apache.maven.lifecycle.internal; package org.apache.maven.lifecycle.internal.builder.multithreaded;
/* /*
* Licensed to the Apache Software Foundation (ASF) under one * Licensed to the Apache Software Foundation (ASF) under one
@ -29,6 +29,9 @@ import java.util.Iterator;
import java.util.Map; import java.util.Map;
import java.util.Set; import java.util.Set;
import org.apache.maven.lifecycle.internal.ProjectBuildList;
import org.apache.maven.lifecycle.internal.ProjectSegment;
/** /**
* @since 3.0 * @since 3.0
* @author Kristian Rosenvold * @author Kristian Rosenvold

View File

@ -1,4 +1,4 @@
package org.apache.maven.lifecycle.internal; package org.apache.maven.lifecycle.internal.builder.multithreaded;
/* /*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license * Licensed to the Apache Software Foundation (ASF) under one or more contributor license
@ -16,9 +16,13 @@ package org.apache.maven.lifecycle.internal;
*/ */
import junit.framework.TestCase; import junit.framework.TestCase;
import org.apache.maven.execution.MavenSession; import org.apache.maven.execution.MavenSession;
import org.apache.maven.lifecycle.LifecycleNotFoundException; import org.apache.maven.lifecycle.LifecycleNotFoundException;
import org.apache.maven.lifecycle.LifecyclePhaseNotFoundException; import org.apache.maven.lifecycle.LifecyclePhaseNotFoundException;
import org.apache.maven.lifecycle.internal.ProjectBuildList;
import org.apache.maven.lifecycle.internal.ProjectSegment;
import org.apache.maven.lifecycle.internal.builder.multithreaded.ThreadOutputMuxer;
import org.apache.maven.lifecycle.internal.stub.ProjectDependencyGraphStub; import org.apache.maven.lifecycle.internal.stub.ProjectDependencyGraphStub;
import org.apache.maven.plugin.InvalidPluginDescriptorException; import org.apache.maven.plugin.InvalidPluginDescriptorException;
import org.apache.maven.plugin.MojoNotFoundException; import org.apache.maven.plugin.MojoNotFoundException;