-
Bug
-
Resolution: Done
-
Major
-
None
-
None
In wildfly-ejb3 pom, the following dependency, groovy-all, brings in unwanted junit 5, which confuses surefire with the junit 4 in use. As a result, surefire is not able to find ejb3 unit tests to run.
<dependency> <groupId>org.apache.groovy</groupId> <artifactId>groovy-all</artifactId> <type>pom</type> <scope>test</scope> </dependency>
So we should exclude junit 5 from groovy-all:
<exclusions> <exclusion> <groupId>org.apache.groovy</groupId> <artifactId>groovy-test-junit5</artifactId> </exclusion> </exclusions>