Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for getProjects (0.08 sec)

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

        @Override
        public Path getTopDirectory() {
            return getMavenSession().getRequest().getTopDirectory();
        }
    
        @Nonnull
        @Override
        public List<Project> getProjects() {
            return getProjects(getMavenSession().getProjects());
        }
    
        @Nonnull
        @Override
        public Map<String, Object> getPluginContext(Project project) {
            nonNull(project, "project");
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

        }
    
        private Stream<ProjectActivationSettings> getProjects(final Predicate<ActivationSettings> predicate) {
            return this.activations.stream().filter(activation -> predicate.test(activation.activationSettings));
        }
    
        private Set<String> getProjectSelectors(final Predicate<ActivationSettings> predicate) {
            return getProjects(predicate).map(activation -> activation.selector).collect(toSet());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/InternalMavenSession.java

        }
    
        List<Project> getProjects(List<org.apache.maven.project.MavenProject> projects);
    
        /**
         * May return null if the input project is null or is not part of the reactor.
         */
        @Nullable
        Project getProject(org.apache.maven.project.MavenProject project);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java

        private boolean canResume = false;
    
        public MavenExecutionResult setProject(MavenProject project) {
            this.project = project;
    
            return this;
        }
    
        public MavenProject getProject() {
            return project;
        }
    
        public MavenExecutionResult setTopologicallySortedProjects(List<MavenProject> topologicallySortedProjects) {
            this.topologicallySortedProjects = 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)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            // load everything...
            MavenProject project0 = getProject(pom0);
            MavenProject project1 = getProject(pom1);
            MavenProject project2 = getProject(pom2);
            MavenProject project3 = getProject(pom3);
            MavenProject project4 = getProject(pom4);
            MavenProject project5 = getProject(pom5);
    
            assertEquals("p4", project4.getName());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t01/ProjectInheritanceTest.java

            MavenProject p0 = getProject(projectFile("maven.t01", "p0"));
    
            assertEquals("p0-org", p0.getOrganization().getName());
    
            // ----------------------------------------------------------------------
            // Check p1 value for org name
            // ----------------------------------------------------------------------
    
            MavenProject p1 = getProject(projectFile("maven.t01", "p1"));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java

            File pom0Basedir = pom0.getParentFile();
    
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    
            // load everything...
            MavenProject project0 = getProject(pom0);
            MavenProject project1 = getProject(pom1);
    
            assertEquals(pom0Basedir, project1.getParent().getBasedir());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java

        }
    
        @Override
        public Session getSession() {
            return session;
        }
    
        @Override
        public Optional<Project> getProject() {
            return Optional.ofNullable(session.getProject(delegate.getProject()));
        }
    
        @Override
        public Optional<MojoExecution> getMojoExecution() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

            File pom1 = new File(pom0Basedir, "modules/p1/pom.xml");
    
            // load the child project, which inherits from p0...
            MavenProject project0 = getProject(pom0);
            MavenProject project1 = getProject(pom1);
    
            System.out.println("\n\n");
            System.out.println("Parent SCM URL is: " + project0.getScm().getUrl());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

                    ((DefaultProject) project).getProject().getRemoteProjectRepositories(), session::getRemoteRepository));
        }
    
        @Override
        public List<RemoteRepository> getRemotePluginRepositories(Project project) {
            return Collections.unmodifiableList(new MappedList<>(
                    ((DefaultProject) project).getProject().getRemotePluginRepositories(), session::getRemoteRepository));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top