maven-surefire icon indicating copy to clipboard operation
maven-surefire copied to clipboard

remove junit4 provider code

Open olamy opened this issue 3 months ago • 6 comments

New feature, improvement proposal

junit before 4.12 is not supported anymore see https://github.com/junit-team/junit-framework/issues/1560

olamy avatar Sep 23 '25 10:09 olamy

Why not complete < JUnit 5.0.0

Bukama avatar Sep 24 '25 08:09 Bukama

there are still a lot of projects on 4.x

olamy avatar Sep 24 '25 08:09 olamy

Not a great idea. I think maven itself has legacy tests based on JUnit 3

elharo avatar Oct 07 '25 18:10 elharo

Not a great idea. I think maven itself has legacy tests based on JUnit 3

links? I will be happy to migrate them

olamy avatar Oct 08 '25 04:10 olamy

I'll note the next time I see one. They usually show up in some of the older plugins, Perhaps someone could whip up a shell script to look for test files that don't contain @Test across all the repos.

elharo avatar Oct 08 '25 12:10 elharo

Please note junit 4.x code is still supported but junit version as dependency needs to be at least 4.12 it's only the proprieraty surefire runner code which is removed

olamy avatar Oct 14 '25 04:10 olamy