Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getAllProjects (0.07 sec)

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

        @Override
        public Optional<Path> getPath(@Nonnull Artifact artifact) {
            String id = id(nonNull(artifact, "artifact"));
            if (session.getMavenSession().getAllProjects() != null) {
                for (MavenProject project : session.getMavenSession().getAllProjects()) {
                    if (id.equals(id(project.getArtifact()))
                            && project.getArtifact().getFile() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. 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() {
            return new ArrayList<>(sortedProjects);
        }
    
        @Override
    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

     */
    public interface ProjectDependencyGraph {
    
        /**
         * Gets all collected projects.
         *
         * @return All collected projects.
         *
         * @since 3.5.0
         */
        List<MavenProject> getAllProjects();
    
        /**
         * Gets all projects in their intended build order, i.e. after topologically sorting the projects according to their
         * interdependencies.
         *
    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/DefaultProjectDependencyGraph.java

                this.projects.put(id, project);
                this.order.put(project, index);
            }
        }
    
        /**
         * @since 3.5.0
         */
        public List<MavenProject> getAllProjects() {
            return this.allProjects;
        }
    
        public List<MavenProject> getSortedProjects() {
            return new ArrayList<>(sorter.getSortedProjects());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top