Repository navigation
Exclude transitive junit:junit 3.8.1 from maven-project to fix Surefire 3.6.0 vintage engine failure - #22
Merged
Conversation
Co-authored-by: chrjohn <6644028+chrjohn@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix JUnit Vintage engine activation by excluding JUnit 3.8.1
Exclude transitive junit:junit 3.8.1 from maven-project to fix Surefire 3.6.0 vintage engine failure
Oct 22, 2026
chrjohn
marked this pull request as ready for review
October 22, 2026 11:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
junit:junit:3.8.1reaches the classpath transitively throughmaven-project:2.2.1→plexus-container-default:1.0-alpha-9-stable-1. With Surefire 3.6.0 (Dependabot PR #19), this activates thejunit-vintageengine, and CI fails withTestEngine with ID 'junit-vintage' failed to discover tests. The project only uses JUnit 5.pom.xmljunit:junitfrom theorg.apache.maven:maven-projectdependency, which is the only path that brings it in.junit-jupiterremains the only test framework.