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

   ## Summary
   
   Closes #1381
   
   - Replace `org.jdom:jdom2` dependency with 
`eu.maveniverse.maven.domtrip:domtrip-core:1.0.0`
   - Implement 16 DomTrip wrapper classes mirroring the previous JDOM2 wrappers 
(`DomTripModel`, `DomTripModelETL`, `DomTripScm`, `DomTripProperties`, etc.)
   - Delete all JDOM2 source (18 files) and test (8 files) classes
   - Switch default ModelETL from `jdom2` to `domtrip`
   
   DomTrip provides lossless XML round-tripping, preserving comments, 
whitespace, attribute order, quote styles, CDATA sections, and entity encoding. 
This eliminates the intro/outtro hacks that the JDOM2 implementation required.
   
   Net result: **613 insertions, 2009 deletions** — simpler code with better 
formatting fidelity.
   
   ## Test plan
   
   - [x] All 621 existing tests pass (0 failures, 0 errors)
   - [x] Full reactor build succeeds across all 6 modules
   - [x] UTF-16 encoded POM files handled correctly
   - [x] CDATA sections preserved during version rewrites
   - [ ] Integration testing with real release workflows
   
   🤖 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