slawekjaranowski commented on issue #850: URL: https://github.com/apache/maven-surefire/issues/850#issuecomment-2915716039
> > Using only `junit-jupiter-api/junit-jupiter` in project dependencies should be preferred and enough. > > You need not to add additional dependencies to plugin. > > How would you then solve the fact that I wants to use Junit4 instead of junit5? (I know should not have junit4 on classpath other dependency) If you use only JUnit4 add only dependencies to JUnit4 on project depndencies. if you want to use both JUnit4 nad JUnit5 add also: `junit-vintage-engine` to project dependencies. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org