gnodet opened a new pull request, #12047:
URL: https://github.com/apache/maven/pull/12047
## Summary
- Skip uninterpolated expression validation for repository URLs and IDs
inside profiles during raw model validation
- Profile properties are injected after raw model validation, so expressions
like `${asf.staging}` or `${env.MAVEN_MIRROR_URL}` defined in profile
properties/activation cannot be resolved at this stage
- Top-level repositories and distribution management repositories continue
to be validated
## Test plan
- [x] Added test POM `profile-with-property-in-repository-url.xml`
reproducing the Spark POM pattern (env var in profile repo URL + profile
properties in plugin repo URLs)
- [x] Added unit test `profileWithPropertyInRepositoryUrl` verifying no
validation errors
- [x] Existing tests for uninterpolated expressions in top-level
repositories still pass
- [x] Full module test suite passes (462 tests, 0 failures)
Closes #11920
🤖 Generated with [Claude Code](https://claude.com/claude-code)
_Claude Code on behalf of Guillaume Nodet_
--
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]