Skip to content

Commit

Permalink
Remove default surefire/failsafe exclusions to run nested tests by de…
Browse files Browse the repository at this point in the history
…fault.

Surefire and Failsafe plugins by default exclude nested classes.
This overwrites these excludes with empty ones, thus enabling execution of nested classes.

See https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html\#excludes

Closes #2119
  • Loading branch information
schauder authored and mp911de committed Sep 28, 2023
1 parent 39eee6a commit f25f772
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1240,6 +1240,7 @@
<includes>
<include>**/*Tests.java</include>
</includes>
<excludes><exclude/></excludes>
</configuration>
</plugin>

Expand All @@ -1249,6 +1250,7 @@
<configuration>
<useFile>false</useFile>
<argLine>-Xverify:all</argLine>
<excludes><exclude/></excludes>
</configuration>
</plugin>

Expand Down

0 comments on commit f25f772

Please sign in to comment.