Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getOptionalActiveProjectSelectors (0.23 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

            return getProjectSelectors(pa -> !pa.optional && pa.active);
        }
    
        /**
         * @return Optional active project selectors, never {@code null}.
         */
        public Set<String> getOptionalActiveProjectSelectors() {
            return getProjectSelectors(pa -> pa.optional && pa.active);
        }
    
        /**
         * @return Required inactive project selectors, never {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            Set<String> requiredSelectors = projectActivation.getRequiredActiveProjectSelectors();
            Set<String> optionalSelectors = projectActivation.getOptionalActiveProjectSelectors();
            if (!requiredSelectors.isEmpty() || !optionalSelectors.isEmpty()) {
                Set<MavenProject> selectedProjects = new HashSet<>(requiredSelectors.size() + optionalSelectors.size());
    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. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertThat(activation.getRequiredActiveProjectSelectors(), containsInAnyOrder("test1", "test2"));
            assertThat(activation.getOptionalActiveProjectSelectors(), containsInAnyOrder("test3", "test4"));
    
            activation = new ProjectActivation();
            performProjectActivation(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            final ProjectActivation projectActivation = request.getProjectActivation();
            final Set<String> allOptionalSelectors = new HashSet<>();
            allOptionalSelectors.addAll(projectActivation.getOptionalActiveProjectSelectors());
            allOptionalSelectors.addAll(projectActivation.getRequiredActiveProjectSelectors());
            // We intentionally ignore the results of this method.
    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