Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for TaskSegment (0.06 seconds)

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

     *
     * @since 3.0
     */
    public final class TaskSegment {
    
        // Can be both "LifeCycleTask" (clean/install) and "GoalTask" (org.mortbay.jetty:maven-jetty-plugin:6.1.19:run)
    
        private final List<Task> tasks;
    
        private final boolean aggregating;
    
        public TaskSegment(boolean aggregating) {
            this.aggregating = aggregating;
            tasks = new ArrayList<>();
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java

            buildProject(session, session, reactorContext, currentProject, taskSegment);
        }
    
        public void buildProject(
                MavenSession session,
                MavenSession rootSession,
                ReactorContext reactorContext,
                MavenProject currentProject,
                TaskSegment taskSegment) {
            session.setCurrentProject(currentProject);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

            CompletionService<ProjectSegment> service = new ExecutorCompletionService<>(executor);
    
            for (TaskSegment taskSegment : taskSegments) {
                ProjectBuildList segmentProjectBuilds = projectBuilds.getByTaskSegment(taskSegment);
                Map<MavenProject, ProjectSegment> projectBuildMap = projectBuilds.selectSegment(taskSegment);
                try {
                    ConcurrencyDependencyGraph analyzer =
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 16 03:42:09 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

         * Returns aProjectBuildList that contains only items for the specified taskSegment
         * @param taskSegment the requested task segment
         * @return a project build list for the supplied task segment
         */
        public ProjectBuildList getByTaskSegment(TaskSegment taskSegment) {
            return new ProjectBuildList(
                    items.stream().filter(pb -> taskSegment == pb.getTaskSegment()).collect(Collectors.toList()));
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java

            }
    
            return calculateTaskSegments(session, tasks);
        }
    
        public List<TaskSegment> calculateTaskSegments(MavenSession session, List<String> tasks) throws Exception {
            List<TaskSegment> taskSegments = new ArrayList<>(tasks.size());
    
            TaskSegment currentSegment = null;
    
            for (String task : tasks) {
                if (isBeforeOrAfterPhase(task)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java

        }
    
        @Override
        public List<TaskSegment> calculateTaskSegments(MavenSession session, List<String> tasks)
                throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException,
                        MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException,
                        PluginVersionResolutionException {
            List<TaskSegment> taskSegments = new ArrayList<>(tasks.size());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Dec 13 23:07:01 GMT 2024
    - 6.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

                        PluginVersionResolutionException {
            List<TaskSegment> taskSegments =
                    lifecycleTaskSegmentCalculator.calculateTaskSegments(session, Arrays.asList(tasks));
    
            TaskSegment mergedSegment = new TaskSegment(false);
    
            for (TaskSegment taskSegment : taskSegments) {
                mergedSegment.getTasks().addAll(taskSegment.getTasks());
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java

        private final MavenProject project;
    
        private final TaskSegment taskSegment;
    
        private final MavenSession session;
    
        private final List<MavenProject> nonTransitiveUpstreamProjects;
    
        private final List<MavenProject> transitiveUpstreamProjects;
    
        public ProjectSegment(MavenProject project, TaskSegment taskSegment, MavenSession copiedSession) {
            this.project = project;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/singlethreaded/SingleThreadedBuilder.java

                ReactorContext reactorContext,
                ProjectBuildList projectBuilds,
                List<TaskSegment> taskSegments,
                ReactorBuildStatus reactorBuildStatus) {
            for (TaskSegment taskSegment : taskSegments) {
                for (ProjectSegment projectBuild : projectBuilds.getByTaskSegment(taskSegment)) {
                    try {
                        lifecycleModuleBuilder.buildProject(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildListCalculator.java

        public ProjectBuildList calculateProjectBuilds(MavenSession session, List<TaskSegment> taskSegments) {
            List<ProjectSegment> projectBuilds = new ArrayList<>();
    
            MavenProject rootProject = session.getTopLevelProject();
    
            for (TaskSegment taskSegment : taskSegments) {
                List<MavenProject> projects;
    
                if (taskSegment.isAggregating()) {
                    projects = Collections.singletonList(rootProject);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
Back to Top