gnodet opened a new pull request, #12239:
URL: https://github.com/apache/maven/pull/12239

   ## Summary
   
   - When `readParentLocally()` resolves a parent POM during `BUILD_CONSUMER`, 
it now uses `CONSUMER_PARENT` request type (which allows profile activation) 
instead of inheriting `BUILD_CONSUMER` (which suppresses it)
   - This matches the existing behavior of `resolveAndReadParentExternally()` 
and ensures that properties defined inside profiles with property-based 
activation are correctly resolved for locally-resolved parent POMs
   - Adds integration test verifying BOM imports using profile-defined 
properties work during consumer POM generation
   
   ## Test plan
   
   - [ ] Integration test `MavenITgh11798ConsumerPomProfileActivationTest` 
passes: parent POM defines `dep.version` in a profile with property-based 
activation, child imports a BOM using `${dep.version}`, `install` succeeds
   - [ ] Existing integration tests pass (no regression in profile activation 
or consumer POM generation)
   
   Fixes #11798
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to