Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getRequiredActiveProfileIds (0.31 sec)

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

     */
    public class ProfileActivation {
        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)));
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            final Set<String> allAvailableProfiles = getAllProfiles(session);
    
            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.
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

        }
    
        private Map<String, String> getPropertiesFromRequestedProfiles(MavenExecutionRequest request) {
            HashSet<String> activeProfileId =
                    new HashSet<>(request.getProfileActivation().getRequiredActiveProfileIds());
            activeProfileId.addAll(request.getProfileActivation().getOptionalActiveProfileIds());
    
            return request.getProfiles().stream()
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
Back to top