Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for ProjectSegment (0.31 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java

     *
     * @since 3.0
     */
    public final class ProjectSegment {
        private final MavenProject project;
    
        private final TaskSegment taskSegment;
    
        private final MavenSession session;
    
        private final List<MavenProject> nonTransitiveUpstreamProjects;
    
        private final List<MavenProject> transitiveUpstreamProjects;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

     *
     * @since 3.0
     */
    public class ProjectBuildList implements Iterable<ProjectSegment> {
        private final List<ProjectSegment> items;
    
        public ProjectBuildList(List<ProjectSegment> items) {
            this.items = Collections.unmodifiableList(items);
        }
    
        // TODO Optimize; or maybe just rewrite the whole way aggregating mojos are being run.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java

    public class ThreadOutputMuxer {
        private final Iterator<ProjectSegment> projects;
    
        private final ThreadLocal<ProjectSegment> projectBuildThreadLocal = new ThreadLocal<>();
    
        private final Map<ProjectSegment, ByteArrayOutputStream> streams = new HashMap<>();
    
        private final Map<ProjectSegment, PrintStream> printStreams = new HashMap<>();
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

            for (MavenProject mavenProject : analyzer.getRootSchedulableBuilds()) {
                ProjectSegment projectSegment = projectBuildList.get(mavenProject);
                logger.debug("Scheduling: {}", projectSegment.getProject());
                Callable<ProjectSegment> cb = createBuildCallable(
                        rootSession, projectSegment, reactorContext, taskSegment, muxer, duplicateArtifactIds);
                service.submit(cb);
            }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/CompletionServiceStub.java

        }
    
        public Future<ProjectSegment> submit(Callable<ProjectSegment> task) {
            FutureTask<ProjectSegment> projectBuildFutureTask = new FutureTask<>(task);
            projectBuildFutureTasks.add(projectBuildFutureTask);
            if (finishImmediately) {
                projectBuildFutureTask.run();
            }
            return projectBuildFutureTask;
        }
    
        public Future<ProjectSegment> submit(Runnable task, ProjectSegment result) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxerTest.java

            ExecutorService executor = Executors.newFixedThreadPool(10);
            CompletionService<ProjectSegment> service = new ExecutorCompletionService<>(executor);
    
            List<Future<ProjectSegment>> futures = new ArrayList<>();
            for (ProjectSegment projectBuild : projectBuildList) {
                final Future<ProjectSegment> buildFuture =
                        service.submit(new Outputter(threadOutputMuxer, projectBuild, lyrics.next()));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ProjectDependencyGraphStub.java

                        PluginResolutionException, LifecyclePhaseNotFoundException, LifecycleNotFoundException {
            final List<ProjectSegment> list = getProjectBuilds(session);
            return new ProjectBuildList(list);
        }
    
        public static List<ProjectSegment> getProjectBuilds(MavenSession session)
                throws InvalidPluginDescriptorException, PluginVersionResolutionException, PluginDescriptorParsingException,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildListCalculator.java

     *
     * @since 3.0
     */
    @Named
    @Singleton
    public class BuildListCalculator {
        public ProjectBuildList calculateProjectBuilds(MavenSession session, List<TaskSegment> taskSegments) {
            List<ProjectSegment> projectBuilds = new ArrayList<>();
    
            MavenProject rootProject = session.getTopLevelProject();
    
            for (TaskSegment taskSegment : taskSegments) {
                List<MavenProject> projects;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ConcurrencyDependencyGraph.java

    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.lifecycle.internal.ProjectBuildList;
    import org.apache.maven.lifecycle.internal.ProjectSegment;
    import org.apache.maven.project.MavenProject;
    
    /**
     * <p>
     * Presents a view of the Dependency Graph that is suited for concurrent building.
     * </p>
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDebugLogger.java

                return;
            }
    
            logger.debug("=== REACTOR BUILD PLAN ================================================");
    
            for (Iterator<ProjectSegment> it = projectBuilds.iterator(); it.hasNext(); ) {
                ProjectSegment projectBuild = it.next();
    
                logger.debug("Project: " + projectBuild.getProject().getId());
                logger.debug("Tasks:   " + projectBuild.getTaskSegment().getTasks());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.8K bytes
    - Viewed (0)
Back to top