Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getUpstreamProjects (0.14 sec)

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

                }
            }
        }
    
        public List<MavenProject> getUpstreamProjects(MavenProject project, boolean transitive) {
            Objects.requireNonNull(project, "project cannot be null");
    
            Set<String> projectIds = new HashSet<>();
    
            getUpstreamProjects(ProjectSorter.getId(project), projectIds, transitive);
    
            return getSortedProjects(projectIds);
        }
    
    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/FilteredProjectDependencyGraph.java

            return applyFilter(projectDependencyGraph.getDownstreamProjects(project, transitive), transitive, false);
        }
    
        @Override
        public List<MavenProject> getUpstreamProjects(MavenProject project, boolean transitive) {
            return applyFilter(projectDependencyGraph.getUpstreamProjects(project, transitive), transitive, true);
        }
    
        /**
         * Filter out whitelisted projects with a big twist:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectDependencyGraph.java

         *            upstream projects.
         * @return The upstream projects in the build order, never {@code null}.
         */
        List<MavenProject> getUpstreamProjects(MavenProject project, boolean transitive);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

                Set<MavenProject> projectsSet = new HashSet<>(projects);
    
                for (MavenProject project : projects) {
                    if (makeUpstream) {
                        projectsSet.addAll(graph.getUpstreamProjects(project, true));
                    }
                    if (makeDownstream) {
                        projectsSet.addAll(graph.getDownstreamProjects(project, true));
                    }
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top