Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getRequiredActiveProjectSelectors (0.17 sec)

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

        }
    
        /**
         * @return Required active project selectors, never {@code null}.
         */
        public Set<String> getRequiredActiveProjectSelectors() {
            return getProjectSelectors(pa -> !pa.optional && pa.active);
        }
    
        /**
         * @return Optional active 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. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            activation = new ProjectActivation();
            performProjectActivation(
                    parser.parse(options, new String[] {"-pl", "test1,+test2,?test3,+?test4"}), activation);
            assertThat(activation.getRequiredActiveProjectSelectors(), containsInAnyOrder("test1", "test2"));
            assertThat(activation.getOptionalActiveProjectSelectors(), containsInAnyOrder("test3", "test4"));
    
            activation = new ProjectActivation();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            List<MavenProject> result = projects;
    
            ProjectActivation projectActivation = request.getProjectActivation();
            Set<String> requiredSelectors = projectActivation.getRequiredActiveProjectSelectors();
            Set<String> optionalSelectors = projectActivation.getOptionalActiveProjectSelectors();
            if (!requiredSelectors.isEmpty() || !optionalSelectors.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            final Set<String> allOptionalSelectors = new HashSet<>();
            allOptionalSelectors.addAll(projectActivation.getOptionalActiveProjectSelectors());
            allOptionalSelectors.addAll(projectActivation.getRequiredActiveProjectSelectors());
            // We intentionally ignore the results of this method.
            // As a side effect it will log the optional projects that could not be resolved.
    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