Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for getProjects (0.12 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/ReactorReader.java

                }
            }
            return allProjects;
        }
    
        private Map<String, Map<String, Map<String, MavenProject>>> getProjects() {
            // compute the projects mapping
            if (projects == null) {
                List<MavenProject> projects = session.getProjects();
                if (projects != null) {
                    Map<String, Map<String, Map<String, MavenProject>>> map = new HashMap<>();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

            if (logger.isInfoEnabled() && event.getSession().getProjects().size() > 1) {
                init();
                infoLine('-');
    
                infoMain("Reactor Build Order:");
    
                logger.info("");
    
                final List<MavenProject> projects = event.getSession().getProjects();
                for (MavenProject project : projects) {
                    int len = lineLength
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. 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)
  5. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            if (session.getProjectDependencyGraph() != null || session.getProjects() != null) {
                ProjectDependencyGraph graph = new DefaultProjectDependencyGraph(session.getAllProjects());
                if (session.getProjects() != null) {
                    graph = new FilteredProjectDependencyGraph(graph, session.getProjects());
                }
    
                result = Result.success(graph);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                    return result;
                }
    
                result.setTopologicallySortedProjects(session.getProjects());
    
                result.setProject(session.getTopLevelProject());
    
                validatePrerequisitesForNonMavenPluginProjects(session.getProjects());
    
                validateRequiredProfiles(session, request.getProfileActivation());
                if (session.getResult().hasExceptions()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  7. 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)
  8. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            when(projectStartedEvent1.getProject()).thenReturn(project1);
            ExecutionEvent projectStartedEvent2 = mock(ExecutionEvent.class);
            when(projectStartedEvent2.getProject()).thenReturn(project2);
            ExecutionEvent projectStartedEvent3 = mock(ExecutionEvent.class);
            when(projectStartedEvent3.getProject()).thenReturn(project3);
    
            // execute
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        public Properties getSystemProperties() {
            return request.getSystemProperties();
        }
    
        public Settings getSettings() {
            return settings;
        }
    
        public List<MavenProject> getProjects() {
            return projects;
        }
    
        /**
         * @deprecated use {@link #getTopDirectory()} ()}
         */
        @Deprecated
        public String getExecutionRootDirectory() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            InternalMavenSession mSession = InternalMavenSession.from(iSession);
            MavenSession session = mSession.getMavenSession();
    
            session.setProjects(projects);
            session.setAllProjects(session.getProjects());
    
            return session;
        }
    
        protected void initRepoSession(
                MavenExecutionRequest mavenExecutionRequest, ProjectBuildingRequest projectBuildingRequest)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top