Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for activeProfileIds (0.14 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

            if (activeProfileIds == null) {
                activeProfileIds = new ArrayList<>();
            }
    
            return activeProfileIds;
        }
    
        @Override
        public DefaultModelBuildingRequest setActiveProfileIds(List<String> activeProfileIds) {
            if (activeProfileIds != null) {
                this.activeProfileIds = new ArrayList<>(activeProfileIds);
            } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

                this.profiles = profiles;
                return this;
            }
    
            public ModelBuilderRequestBuilder activeProfileIds(List<String> activeProfileIds) {
                this.activeProfileIds = activeProfileIds;
                return this;
            }
    
            public ModelBuilderRequestBuilder inactiveProfileIds(List<String> inactiveProfileIds) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

         * @param activeProfileIds A {@link List} of profile IDs that must be activated.
         * @deprecated Use {@link #activateOptionalProfile(String)} or {@link #activateRequiredProfile(String)} instead.
         */
        @Deprecated
        public void overwriteActiveProfiles(List<String> activeProfileIds) {
            getActiveProfiles().forEach(this.activations::remove);
            activeProfileIds.forEach(this::activateOptionalProfile);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 16:38:19 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

            if (activeProfileIds != null) {
                this.activeProfileIds = Collections.unmodifiableList(activeProfileIds);
            } else {
                this.activeProfileIds = Collections.emptyList();
            }
    
            return this;
        }
    
        @Override
        public List<String> getInactiveProfileIds() {
            return inactiveProfileIds;
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java

        @Override
        public List<String> getActiveProfileIds() {
            return activeProfileIds;
        }
    
        @Override
        public void setActiveProfileIds(List<String> activeProfileIds) {
            if (activeProfileIds != null) {
                this.activeProfileIds = new ArrayList<>(activeProfileIds);
            } else {
                this.activeProfileIds.clear();
            }
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FilterModelBuildingRequest.java

        public List<String> getActiveProfileIds() {
            return request.getActiveProfileIds();
        }
    
        @Override
        public FilterModelBuildingRequest setActiveProfileIds(List<String> activeProfileIds) {
            request.setActiveProfileIds(activeProfileIds);
    
            return this;
        }
    
        @Override
        public List<String> getInactiveProfileIds() {
            return request.getInactiveProfileIds();
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

         * Sets the identifiers of those profiles that should be activated by explicit demand.
         *
         * @param activeProfileIds The identifiers of those profiles to activate, may be {@code null}.
         * @return This request, never {@code null}.
         */
        ModelBuildingRequest setActiveProfileIds(List<String> activeProfileIds);
    
        /**
         * Gets the identifiers of those profiles that should be deactivated by explicit demand.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

    import static java.util.Objects.requireNonNull;
    
    /**
     * Request used to build a {@link org.apache.maven.api.Project} using
     * the {@link ProjectBuilder} service.
     *
     * TODO: add validationLevel, activeProfileIds, inactiveProfileIds, resolveDependencies
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ProjectBuilderRequest extends RepositoryAwareRequest {
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

        // Profiles
    
        /**
         * Set any active profiles that the {@link ProjectBuilder} should consider while constructing
         * a {@link MavenProject}.
         */
        void setActiveProfileIds(List<String> activeProfileIds);
    
        List<String> getActiveProfileIds();
    
        void setInactiveProfileIds(List<String> inactiveProfileIds);
    
        List<String> getInactiveProfileIds();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                                        .map(org.apache.maven.model.Profile::getDelegate)
                                        .toList()
                                : null);
                modelBuildingRequest.activeProfileIds(request.getActiveProfileIds());
                modelBuildingRequest.inactiveProfileIds(request.getInactiveProfileIds());
                modelBuildingRequest.systemProperties(toMap(request.getSystemProperties()));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 51.8K bytes
    - Viewed (0)
Back to top