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

   ## Summary
   
   - Add regression tests verifying that version inheritance from remote parent 
POMs works correctly in both single-project and multi-module builds
   - The issue (#12085) reported `Invalid Collect Request: null` when building 
projects that inherit version from a remote parent POM with `<relativePath/>`
   - Investigation confirmed the root cause was uninterpolated repository 
expressions from parent POMs leaking to the CollectRequest validator — already 
fixed by #12050 (9332ad3d55) and cee3c33c74 (#11920)
   - The "null" in the error message was from `CollectRequest.toString()` 
(always shows null for `getRoot()` since Maven uses `getRootArtifact()`), not 
from a null root artifact
   
   ## Test plan
   
   - [x] `testVersionInheritedFromRemoteParent` — single-project build 
inheriting version from remote parent with different groupId
   - [x] `testVersionInheritedFromRemoteParentMultiModule` — multi-module build 
with child inheriting version from remote parent
   - [x] Both tests verify: version inherited correctly, artifact non-null, 
artifact version matches, groupId from child POM
   - [x] Test parent POM includes profile with uninterpolated repository 
expressions to verify filtering
   
   🤖 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