Github user brunobat commented on the issue:
https://github.com/apache/tomee/pull/305
Hi @cocorossello I now get and error when I run:
`mvn clean test -Dtest=ApplicationComposerExtension*`
> [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (test-testng) on
project openejb-core: Execution test-testng of goal
org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test failed:
org.junit.platform.commons.util.PreconditionViolationException: Cannot create
Launcher without at least one TestEngine; consider adding an engine
implementation JAR to the classpath -> [Help 1]
I've tried several approaches to deactivate the new junit tests on that
profile but I unsuccessful.
I tried:
- also exclude org.junit.jupiter:junit-jupiter-api
- deactivate extension by desabling auto detection:
https://maven.apache.org/surefire/maven-surefire-plugin/examples/junit-platform.html
- explicitly exclude extension class
Something else needs to be disabled because the profile is allays picking
up the new junit stuff.
I don't know if creating a test group just for this can help... Just an
idea.
---