Skip to content

Keep JUnit 4 off the test classpath - #1019

Merged
slachiewicz merged 2 commits into
apache:masterfrom
slachiewicz:junit4-cutoff
Oct 31, 2026
Merged

slachiewicz merged 2 commits into
apache:masterfrom
slachiewicz:junit4-cutoff

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

The managed junit:junit 4.13.2 is unused. maven-scm-provider-gittest still brought JUnit 4 and hamcrest-core into wagon-scm, where surefire then adds the vintage engine; the tests use only GitScmTestUtils.setDefaultGitConfig, so both are excluded. wagon-3.x has the same unused management and is not changed here.

Part of apache/maven#13766

@slachiewicz
slachiewicz marked this pull request as ready for review October 31, 2026 15:13
@slachiewicz
slachiewicz merged commit 8534656 into apache:master Oct 31, 2026
13 checks passed
@slachiewicz
slachiewicz deleted the junit4-cutoff branch October 31, 2026 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant