You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by ah...@apache.org on 2026/08/17 17:31:59 UTC

(causeway) 01/02: CI: fixes Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK.

This is an automated email from the ASF dual-hosted git repository.

andi-huber pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/causeway.git

commit b06852691cf784122d3781e325d0089e6864b500
Author: andi-huber <ah...@apache.org>
AuthorDate: Mon Aug 17 19:31:25 2026 +0200

    CI: fixes Mockito is currently self-attaching to enable the
    inline-mock-maker. This will no longer work in future releases of the
    JDK.
---
 bom/pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bom/pom.xml b/bom/pom.xml
index c0a2c9669ee..d94f95d702c 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -151,6 +151,7 @@ identified
         <surefire-plugin.argLine>
             -Xmx384m
             -XX:+EnableDynamicAgentLoading
+            -javaagent:${settings.localRepository}/org/mockito/mockito-core/${mockito.version}/mockito-core-${mockito.version}.jar
         </surefire-plugin.argLine>
         <surefire.useModulePath>false</surefire.useModulePath> <!-- disable
         module-path for testing, that is, put everything on the class-path -->