Commit 915cfe5
Fix JaCoCo coverage not reaching SonarCloud
Surefire's hardcoded <argLine> block was replacing the ${argLine}
property entirely, so JaCoCo's prepare-agent javaagent flag was
discarded and jacoco.exec stayed empty. Prepend @{argLine} (late-
binding syntax, evaluated after prepare-agent sets it) so both the
JaCoCo agent and the --add-opens flags are active at test time.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 4653110 commit 915cfe5
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| 271 | + | |
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
| |||
0 commit comments