Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getOptionalInactiveProfileIds (0.12 sec)

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

        }
    
        /**
         * Mimics the pre-Maven 4 "inactive profiles" list.
         * @deprecated Use {@link #getRequiredInactiveProfileIds()} and {@link #getOptionalInactiveProfileIds()} instead.
         */
        @Deprecated
        public List<String> getInactiveProfiles() {
            return Collections.unmodifiableList(new ArrayList<>(getProfileIds(pa -> !pa.active())));
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 16:38:19 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertContainsExactlyInAnyOrder(activation.getRequiredInactiveProfileIds(), "test1", "test2");
            assertContainsExactlyInAnyOrder(activation.getOptionalInactiveProfileIds(), "test3", "test4");
    
            activation = new ProfileActivation();
            performProfileActivation(parser.parse(options, new String[] {"-P", "-test1,+test2"}), activation);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            final Set<String> optionalProfiles = new HashSet<>();
            optionalProfiles.addAll(profileActivation.getOptionalActiveProfileIds());
            optionalProfiles.addAll(profileActivation.getOptionalInactiveProfileIds());
    
            final Set<String> notFoundOptionalProfiles = optionalProfiles.stream()
                    .filter(rap -> !allAvailableProfiles.contains(rap))
                    .collect(toSet());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon May 05 16:58:52 UTC 2025
    - 28.7K bytes
    - Viewed (1)
Back to top