Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for sorted (0.23 sec)

  1. maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java

            this.sorter = new ProjectSorter(projects);
            this.order = new HashMap<>();
            this.projects = new HashMap<>();
            List<MavenProject> sorted = this.sorter.getSortedProjects();
            for (int index = 0; index < sorted.size(); index++) {
                MavenProject project = sorted.get(index);
                String id = ProjectSorter.getId(project);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                            + getBoundKeys().stream()
                                    .map(Key::toString)
                                    .map(String::trim)
                                    .sorted()
                                    .distinct()
                                    .collect(Collectors.joining("\n - ", " - ", "")));
                }
            };
            injector.bindInstance(Injector.class, injector);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            // ensure canonical order of standard lifecycles
            return lifecyclesMap.values().stream()
                    .peek(l -> Objects.requireNonNull(l.getId(), "A lifecycle must have an id."))
                    .sorted(Comparator.comparing(Lifecycle::getId, comparator))
                    .collect(Collectors.toList());
        }
    
        private Map<String, Lifecycle> lookupLifecycles() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                        .map(Object::toString)
                        .filter(s -> s.startsWith("SourceCacheKey"))
                        .map(s -> s.substring("SourceCacheKey[location=".length(), s.indexOf(", tag")))
                        .sorted()
                        .distinct()
                        .toList();
                logger.debug("ModelCache contains " + paths.size());
                paths.forEach(s -> logger.debug("    " + s));
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        private final Properties executionProperties;
    
        private ThreadLocal<MavenProject> currentProject = new ThreadLocal<>();
    
        /**
         * These projects have already been topologically sorted in the {@link org.apache.maven.Maven} component before
         * being passed into the session. This is also the potentially constrained set of projects by using --projects
         * on the command line.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

                // get the unsorted list of wanted projects
                Set<MavenProject> projectAndSubmodules = new HashSet<>(project.getCollectedProjects());
                projectAndSubmodules.add(project);
                return session.getProjects().stream() // sorted all
                        .filter(projectAndSubmodules::contains)
                        .collect(Collectors.toList()); // sorted and filtered to what we need
            } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

         * by concurrently running mojo executions. To prevent race conditions, an aggregating execution will block
         * all other executions until finished.
         * We also lock on a given project to forbid a forked lifecycle to be executed concurrently with the project.
         * TODO: ideally, the builder should take care of the ordering in a smarter way
         * TODO: and concurrency issues fixed with MNG-7157
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                setActiveProfiles((Collections.unmodifiableList(project.getActiveProfiles())));
            }
    
            if (project.getAttachedArtifacts() != null) {
                // clone properties modifiable by plugins in a forked lifecycle
                setAttachedArtifacts(new ArrayList<>(project.getAttachedArtifacts()));
            }
    
            if (project.getCompileSourceRoots() != null) {
                // clone source roots
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java

        MavenExecutionResult setProject(MavenProject project);
    
        MavenProject getProject();
    
        MavenExecutionResult setTopologicallySortedProjects(List<MavenProject> projects);
    
        /**
         * @return the sorted list, or an empty list if there are no projects.
         */
        List<MavenProject> getTopologicallySortedProjects();
    
        MavenExecutionResult setDependencyResolutionResult(DependencyResolutionResult result);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java

        /**
         * Invoked after all MavenProject instances have been created.
         *
         * This callback is intended to allow extensions to manipulate MavenProjects
         * before they are sorted and actual build execution starts.
         *
         * @param session the Maven session
         * @throws MavenExecutionException in case of issue
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.9K bytes
    - Viewed (0)
Back to top