Replace JDOM2 with DomTrip for lossless POM XML editing (#1466) * Replace JDOM2 with DomTrip for lossless POM XML editing DomTrip provides lossless XML round-tripping, preserving comments, whitespace, attribute order, quote styles, CDATA sections, and entity encoding. This eliminates the intro/outtro hacks required by JDOM2. - Replace `org.jdom:jdom2` with `eu.maveniverse.maven.domtrip:domtrip-core:1.1.0` - Implement 16 DomTrip wrapper classes mirroring the previous JDOM2 wrappers - Delete all JDOM2 source (18 files) and test (8 files) classes - Switch default ModelETL from `jdom2` to `domtrip` - Add 8 new unit test classes (147 tests) covering all DomTrip wrappers - Add formatting preservation IT with byte-for-byte comparison - Fix `DomTripProperties.put()` to return previous value per `Hashtable.put` contract Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Bump domtrip-core from 1.1.0 to 1.4.0 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Fix spotless formatting violations in DomTrip test files Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
You have found a bug, or you have an idea for a cool new feature? Contributing code is a great way to give something back to the open source community. Before you dig right into the code, there are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.
We accept Pull Requests via GitHub. The developer mailing list is the main channel of communication for contributors.
There are some guidelines which will make applying PRs easier for us:
git diff --check before committing.mvn -Prun-its verify to assure nothing else was accidentally broken.If you plan to contribute on a regular basis, please consider filing a contributor license agreement.