David Kubecka
03/20/2023, 11:57 AMXss
). So I ended up with
<configuration>
<!--workaround <https://github.com/Ninja-Squad/springmockk/issues/65-->>
<argLine>--add-opens=java.base/java.lang.reflect=ALL-UNNAMED</argLine>
<argLine>-Xss4m</argLine>
</configuration>
Only after some time I learned that this broke mvn verify
, probably because argLine
is meant to be specified only once. I know how to fix that but what's bugging me is that even with this faulty config the tests ran just fine in IDEA. Does anybody what magic it applies to run the tests? (And it surely takes the mvn config into account because without the add-opens
workaround, the tests won't run even there.)