Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.0.0-M6
-
None
-
None
Description
This is maybe the expected behavior but I just update the Maven Surefire Plugin from 3.0.0-M5 to 3.0.0-M6 and find this behavior change.
With 3.0.0-M5 when I was using in my project :
mvn surefire:test '-Dtest=!org.eclipse.leshan.integration.tests.**' -DfailIfNoTests=false -Dskip.yarn
All was good.
And now with same command line with 3.0.0-M6, I get :
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M6:test (default-cli) on project leshan-integration-tests: No tests matching pattern "!org.eclipse.leshan.integration.tests.**" were executed! (Set -Dsurefire.failIfNoSpecifiedTests=false to ignore this error.) -> [Help 1]
Using -Dsurefire.failIfNoSpecifiedTests=false did the job.
But I share this just in case this is an unexpected regression. 🤷