Skip to content

Replace xmlunit-legacy with xmlunit-core in the tests - #472

Merged
slachiewicz merged 1 commit into
masterfrom
agent/surefire-3.6-junit
Nov 23, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/surefire-3.6-junit

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Removes the JUnit 3/4 jar that xmlunit-legacy pulls in, which the next parent no longer manages; the tests now use the xmlunit-core API already used by XsdAnnotationProcessorAndEnumsTest.

Verified: mvn verify on parent 97 (JDK 17) and mvn test on parent 98-SNAPSHOT (JDK 21) → 182 run, 4 skipped on both, same as before; dependency:tree -Dincludes=junit:junit is empty.

xmlunit-legacy pulls in junit:junit, which surefire 3.6 detects and hands to the JUnit Vintage engine. The next parent no longer manages JUnit 4, so that jar resolves to 3.8.1 and the engine rejects it.
@slachiewicz slachiewicz added the maintenance Cleanup, refactoring or other internal change label Nov 23, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review November 23, 2026 00:17
@slachiewicz
slachiewicz merged commit d4e3fa9 into master Nov 23, 2026
13 checks passed
@slachiewicz
slachiewicz deleted the agent/surefire-3.6-junit branch November 23, 2026 00:17
@github-actions github-actions Bot added this to the 4.3.1 milestone Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Cleanup, refactoring or other internal change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant