Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getOptionalActiveProfileIds (0.19 sec)

  1. 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)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertThat(activation.getRequiredActiveProfileIds(), containsInAnyOrder("test1", "test2"));
            assertThat(activation.getOptionalActiveProfileIds(), containsInAnyOrder("test3", "test4"));
    
            activation = new ProfileActivation();
            performProfileActivation(
    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> allAvailableProfiles = getAllProfiles(session);
    
            final Set<String> optionalProfiles = new HashSet<>();
            optionalProfiles.addAll(profileActivation.getOptionalActiveProfileIds());
            optionalProfiles.addAll(profileActivation.getOptionalInactiveProfileIds());
    
            final Set<String> notFoundOptionalProfiles = optionalProfiles.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