gnodet opened a new pull request, #12179:
URL: https://github.com/apache/maven/pull/12179
## Summary
- Filter dependencies and managed dependencies with uninterpolated `${...}`
property expressions before passing them to `CollectRequest`, preventing
`MavenValidator` from rejecting the entire request with "Invalid Collect
Request"
- Apply filtering in both `DefaultProjectDependenciesResolver` (Maven 3
compat path) and `DefaultDependencyResolver` (Maven 4 API path), consistent
with what `DefaultArtifactDescriptorReader` already does for transitive
dependencies
- Improve error enhancement in
`DefaultDependencyResolver.enhanceCollectionError()` to also check managed
dependencies for unresolved expressions
## Test plan
- [x] Unit tests for `filterUninterpolated()` covering placeholder in
version/groupId/artifactId, valid deps pass-through, null and empty input,
`containsPlaceholder` edge cases
- [x] All `maven-impl` tests pass (475 tests)
- [x] All `maven-core` tests pass (549 tests, 1 pre-existing skip)
- [ ] Verify with affected projects (causeway-app-helloworld,
activemq-openwire, mina-sshd, etc.)
_Claude Code on behalf of Guillaume Nodet_
🤖 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]