Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getActivePomProfiles (0.09 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

            @Override
            public Model getParentModel() {
                return null;
            }
    
            @Override
            public List<Profile> getActivePomProfiles() {
                return List.of();
            }
    
            @Override
            public List<Profile> getActivePomProfiles(String modelId) {
                return List.of();
            }
    
            @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         * Gets the profiles that were active during model building.
         *
         * @return The active profiles of the model or an empty list if the model has no active profiles.
         */
        @Nonnull
        List<Profile> getActivePomProfiles();
    
        /**
         * Gets the profiles that were active during model building for a specific model in the hierarchy.
         * This allows tracking which profiles came from which model (parent vs child).
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java

            Objects.requireNonNull(modelId, "modelId cannot null");
    
            rawModels.put(modelId, rawModel);
    
            return this;
        }
    
        @Override
        public List<Profile> getActivePomProfiles(String modelId) {
            return activePomProfiles.get(modelId);
        }
    
        public DefaultModelBuildingResult setActivePomProfiles(String modelId, List<Profile> activeProfiles) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java

         * @return The active profiles of the model or an empty list if none or {@code null} if the specified model id does
         *         not refer to a known model.
         */
        List<Profile> getActivePomProfiles(String modelId);
    
        /**
         * Gets the external profiles that were active during model building. External profiles are those that were
         * contributed by {@link ModelBuildingRequest#getProfiles()}.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                    }
                }
    
                project.setActiveProfiles(
                        Stream.concat(result.getActivePomProfiles().stream(), result.getActiveExternalProfiles().stream())
                                .map(org.apache.maven.model.Profile::new)
                                .toList());
    
    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