- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getActivePomProfilesByModel (0.11 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java
* * @return A map of model IDs to their active profiles, never {@code null}. * @since 4.0.0 */ @Nonnull Map<String, List<Profile>> getActivePomProfilesByModel(); /** * Gets the external profiles that were active during model building. External profiles are those that were * contributed by {@link ModelBuilderRequest#getProfiles()}. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 4.2K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 7.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
// Track profile sources correctly by using the per-model profile tracking Map<String, List<org.apache.maven.api.model.Profile>> profilesByModel = result.getActivePomProfilesByModel(); if (profilesByModel.isEmpty()) { // Fallback to old behavior if map is empty // This happens when no profiles are active or there's an issue with profile trackingRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 51.8K bytes - Viewed (0)