OliverTetzTT commented on issue #3465:
URL:
https://github.com/apache/maven-surefire/issues/3465#issuecomment-5601133776
We encountered a similar issue in our configuration. In our case it affects
the maven-failsafe-plugin
```
<includes>
<include>**/*ST.java</include>
</includes>
```
I wanted to extend the observations by:
```
<failIfNoTests>true</failIfNoTests>
```
did also not work in the 3.6.0 version.
The corresponding output:
```
[INFO] --- failsafe:3.6.0:integration-test (system-test) @ web ---
[INFO] Using auto detected provider
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4.169 s
[INFO] Finished at: 2026-09-09T13:29:31+02:00
[INFO]
------------------------------------------------------------------------
```
In the 3.5.6 (after manipulating to a non-matching include pattern) I got a
BUILD FAILURE as expected.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]