Commit 29dd7a3
fix: add surefire.failIfNoSpecifiedTests for multi-module Maven builds
In multi-module projects like Guava, -Dtest=X filter matches zero tests
in dependency modules built with -am, causing "No tests matching pattern"
failures. Adding -Dsurefire.failIfNoSpecifiedTests=false allows modules
with no matching tests to pass while still running the correct tests in
the target module.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a65f1d1 commit 29dd7a3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1496 | 1496 | | |
1497 | 1497 | | |
1498 | 1498 | | |
1499 | | - | |
| 1499 | + | |
1500 | 1500 | | |
1501 | 1501 | | |
1502 | 1502 | | |
| |||
0 commit comments