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

   ## Summary
   
   - Skip the uninterpolated expression check for distributionManagement 
repository IDs/URLs during file model validation
   - Parent POM properties are not available at this stage, so chained property 
references (e.g. `${distMgmtStagingId}` → `${distMgmtReleasesId}` → 
`apache.releases.https`) cannot be fully resolved
   - Consistent with how profile repositories are already handled (`cee3c33c74`)
   - Uninterpolated repositories are still caught by 
`MavenValidator.validateRemoteRepository()` when they are actually used by the 
resolver
   
   Fixes #12075
   
   ## Test plan
   
   - [x] Updated `repositoryWithUninterpolatedId` test to reflect that 
distributionManagement expression check is now skipped
   - [x] Added `distributionManagementWithChainedPropertyInId` test covering 
the exact Ratis scenario from the issue
   - [x] Existing integration test `MavenITgh11140RepoDmUnresolvedTest` still 
passes (regular repository check still catches uninterpolated expressions)
   
   🤖 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