Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getSortedProjects (0.27 sec)

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

        }
    
        /**
         * @since 3.5.0
         */
        public List<MavenProject> getAllProjects() {
            return this.allProjects;
        }
    
        public List<MavenProject> getSortedProjects() {
            return new ArrayList<>(sorter.getSortedProjects());
        }
    
        public List<MavenProject> getDownstreamProjects(MavenProject project, boolean transitive) {
            Objects.requireNonNull(project, "project cannot be null");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            ProjectDependencyGraph projectDependencyGraph = new DefaultProjectDependencyGraph(projects);
            List<MavenProject> activeProjects = projectDependencyGraph.getSortedProjects();
            List<MavenProject> allSortedProjects = projectDependencyGraph.getSortedProjects();
            activeProjects = trimProjectsToRequest(activeProjects, projectDependencyGraph, session.getRequest());
            activeProjects =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java

                    .filter(this.whiteList::containsKey)
                    .toList();
        }
    
        /**
         * @since 3.5.0
         */
        @Override
        public List<MavenProject> getAllProjects() {
            return this.projectDependencyGraph.getAllProjects();
        }
    
        @Override
        public List<MavenProject> getSortedProjects() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

        }
    
        public boolean hasMultipleProjects() {
            return sorter.hasMultipleProjects();
        }
    
        public List<MavenProject> getSortedProjects() {
            return sorter.getSortedProjects();
        }
    
        public boolean hasBuildSuccess(MavenProject project) {
            return buildSuccessesByProject.containsKey(getProjectKey(project));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectDependencyGraph.java

         * interdependencies.
         *
         * @return The projects in the build order, never {@code null}.
         */
        List<MavenProject> getSortedProjects();
    
        /**
         * Gets the downstream projects of the specified project. A downstream project is a project that directly or
         * indirectly depends on the given project.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

            boolean result = true;
    
            MavenProject topProject = session.getTopLevelProject();
            List<MavenProject> sortedProjects = session.getProjectDependencyGraph().getSortedProjects();
            for (MavenProject mavenProject : sortedProjects) {
                if (!topProject.getVersion().equals(mavenProject.getVersion())) {
                    result = false;
                    break;
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                    .activeProfiles(request.getActiveProfiles())
                    .pluginGroups(request.getPluginGroups())
                    .build());
        }
    
        @Deprecated
        public List<MavenProject> getSortedProjects() {
            return getProjects();
        }
    
        @Deprecated
        //
        // Used by Tycho and will break users and force them to upgrade to Maven 3.1 so we should really leave
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                }
            }
    
            if (!graphResult.hasErrors()) {
                ProjectDependencyGraph projectDependencyGraph = graphResult.get();
                session.setProjects(projectDependencyGraph.getSortedProjects());
                session.setAllProjects(projectDependencyGraph.getAllProjects());
                session.setProjectDependencyGraph(projectDependencyGraph);
            }
    
            return graphResult;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
Back to top