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

   ## Summary
   
   Backport 5 bug fixes from master that are applicable to the maven-4.0.x 
branch:
   
   1. **Add Maven version to error message when rejecting model versions** 
(#10921) — helps users understand which Maven version they need when a model 
version is rejected.
   2. **Improve ProjectBuildingException error messages with detailed problem 
reporting** (#10975) — clearer error messages with detailed problem information.
   3. **Improve dependency scope validation error messages for import scope** 
(#10991) — better error messages when import scope is misused, distinguishing 
between dependency and dependency management contexts.
   4. **Throw ProjectBuildingException for reactor cycles** (#11091, fixes 
#10950) — wraps `CycleDetectedException` in `ProjectBuildingException` instead 
of `RuntimeException`, providing meaningful error output.
   5. **Fix NullPointerException when clearing project properties** (fixes 
#11552) — `OrderedProperties.clear()` now also clears the `keyOrder` list to 
prevent inconsistent state.
   
   ## Test plan
   
   - [x] Compilation verified (`mvn install -pl impl/maven-impl,impl/maven-core 
-DskipTests -am`)
   - [x] All 527 tests pass (`mvn test -pl impl/maven-impl,impl/maven-core` — 0 
failures, 0 errors)
   - [ ] Full CI validation
   
   _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]

Reply via email to