Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for getOptionalActiveProfileIds (0.21 seconds)

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

        private final Map<String, ActivationSettings> activations = new HashMap<>();
    
        /**
         * Mimics the pre-Maven 4 "active profiles" list.
         * @deprecated Use {@link #getRequiredActiveProfileIds()} and {@link #getOptionalActiveProfileIds()} instead.
         */
        @Deprecated
        public List<String> getActiveProfiles() {
            return Collections.unmodifiableList(new ArrayList<>(getProfileIds(pa -> pa.active())));
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

    Guillaume Nodet <******@****.***> 1739291899 +0100
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            HashSet<String> activeProfileId =
                    new HashSet<>(request.getProfileActivation().getRequiredActiveProfileIds());
            activeProfileId.addAll(request.getProfileActivation().getOptionalActiveProfileIds());
    
            return request.getProfiles().stream()
                    .filter(profile -> activeProfileId.contains(profile.getId()))
                    .map(ModelBase::getProperties)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 19 13:42:58 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            final Set<String> allAvailableProfiles = getAllProfiles(session);
    
            final Set<String> optionalProfiles = new HashSet<>();
            optionalProfiles.addAll(profileActivation.getOptionalActiveProfileIds());
            optionalProfiles.addAll(profileActivation.getOptionalInactiveProfileIds());
    
            final Set<String> notFoundOptionalProfiles = optionalProfiles.stream()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 29 10:43:38 GMT 2025
    - 28.8K bytes
    - Click Count (1)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertContainsExactlyInAnyOrder(activation.getRequiredActiveProfileIds(), "test1", "test2");
            assertContainsExactlyInAnyOrder(activation.getOptionalActiveProfileIds(), "test3", "test4");
    
            activation = new ProfileActivation();
            performProfileActivation(
                    parser.parse(options, new String[] {"-P", "!test1,-test2,-?test3,!?test4"}), activation);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
Back to Top