gnodet opened a new pull request, #13451: URL: https://github.com/apache/maven/pull/13451
## Summary Backport of #13450 to `maven-3.10.x`. - A dependency POM's own `<properties>` must not activate its property-based profiles - The `externalActivationContext()` sandbox was merging model properties into the system-property lookup, causing POMs like jruby-base to self-activate profiles unintentionally (#13390) - Remove the merge — only system properties and negated-property checks drive profile activation in external builds, restoring 3.9.x semantics - This does **not** affect #13084 (RESTEasy), which uses a negated-property profile (`!resteasy.dependencies.eap`) that works correctly without the merge ### Changes - `DefaultModelBuilder.externalActivationContext()`: remove POM-property merge from sandbox - `PropertyProfileActivator`: update comments - `ProfileActivationContext`: update `getProjectProperties()` Javadoc - `ResolvedDependencyProfileActivationTest`: flip POM-property test to assert suppression, add jruby-style (#13390) and resteasy-style (#13084) regression tests ## Test plan - [x] `ResolvedDependencyProfileActivationTest` — 12 tests pass - [ ] Integration test with jruby-base-9.4.2.0 dependency (manual verification) 🤖 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]
