When trying to run tests using command mvn test I receive an error:
[ERROR] There was an error in the forked process [ERROR] java.lang.NoClassDefFou
The following worked for me using surefire.plugin.version 2.22.2
junit-jupiter artifact brings in all other necessary artifacts.
org.junit junit-bom 5.5.2 pom import org.junit.jupiter junit-jupiter test org.junit.vintage junit-vintage-engine test