Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getTopologicallySortedProjects (0.2 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java

            this.topologicallySortedProjects = topologicallySortedProjects;
    
            return this;
        }
    
        public List<MavenProject> getTopologicallySortedProjects() {
            return null == topologicallySortedProjects
                    ? Collections.emptyList()
                    : Collections.unmodifiableList(topologicallySortedProjects);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java

        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);
    
        DependencyResolutionResult getDependencyResolutionResult();
    
        // for each exception
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzer.java

            if (!result.hasExceptions()) {
                return Optional.empty();
            }
    
            List<MavenProject> sortedProjects = result.getTopologicallySortedProjects();
    
            boolean hasNoSuccess =
                    sortedProjects.stream().noneMatch(project -> result.getBuildSummary(project) instanceof BuildSuccess);
    
            if (hasNoSuccess) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                if (result.canResume()) {
                    logBuildResumeHint(context, "mvn [args] -r");
                } else if (!failedProjects.isEmpty()) {
                    List<MavenProject> sortedProjects = result.getTopologicallySortedProjects();
    
                    // Sort the failedProjects list in the topologically sorted order.
                    failedProjects.sort(comparing(sortedProjects::indexOf));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                if (result.canResume()) {
                    logBuildResumeHint("mvn [args] -r");
                } else if (!failedProjects.isEmpty()) {
                    List<MavenProject> sortedProjects = result.getTopologicallySortedProjects();
    
                    // Sort the failedProjects list in the topologically sorted order.
                    failedProjects.sort(comparing(sortedProjects::indexOf));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top