The XML classes — Xpp3Dom, Xpp3DomBuilder, Xpp3DomWriter and the XML pull parser — that used to live in
plexus-utils, in the packages org.codehaus.plexus.util.xml and org.codehaus.plexus.util.xml.pull.
Maintained. Two lines exist and they are not interchangeable — pick deliberately:
| Line | Requires | Works under | Use when |
|---|---|---|---|
3.x |
Java 8 | Maven 3 and Maven 4 | You split from plexus-utils 4 and want the same classes |
4.x |
Java 17 | Maven 4 only | You are building for Maven 4 |
3.x is the straight extraction from plexus-utils 4 — same classes, same packages — and is maintained on
the 3.x branch.
4.x is rebuilt on Maven 4's maven-xml-api
and works only under Maven 4.
If you are here because upgrading plexus-utils 3 → 4 gave you a NoClassDefFoundError on Xpp3Dom,
you want 3.x.
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-xml</artifactId>
<version>4.1.1</version>
</dependency>Check the badge above for the current version, and read the table before taking it.
Java 17 for 4.x. Java 8 for 3.x.
See CONTRIBUTING.md. In short:
mvn verify builds, and run mvn spotless:apply before pushing or CI will fail on formatting.
Please report security vulnerabilities privately — see SECURITY.md, not a public issue.