Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getRequiredInactiveProfileIds (0.3 sec)

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

            return Collections.unmodifiableList(new ArrayList<>(getProfileIds(pa -> pa.active)));
        }
    
        /**
         * Mimics the pre-Maven 4 "inactive profiles" list.
         * @deprecated Use {@link #getRequiredInactiveProfileIds()} and {@link #getOptionalInactiveProfileIds()} instead.
         */
        @Deprecated
        public List<String> getInactiveProfiles() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            activation = new ProfileActivation();
            performProfileActivation(
                    parser.parse(options, new String[] {"-P", "!test1,-test2,-?test3,!?test4"}), activation);
            assertThat(activation.getRequiredInactiveProfileIds(), containsInAnyOrder("test1", "test2"));
            assertThat(activation.getOptionalInactiveProfileIds(), containsInAnyOrder("test3", "test4"));
    
            activation = new ProfileActivation();
    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/DefaultMaven.java

            final Set<String> requiredProfiles = new HashSet<>();
            requiredProfiles.addAll(profileActivation.getRequiredActiveProfileIds());
            requiredProfiles.addAll(profileActivation.getRequiredInactiveProfileIds());
    
            // Check whether the required profiles were found in any of the projects we're building.
            final Set<String> notFoundRequiredProfiles = requiredProfiles.stream()
    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