From 2f06f3a23f5566d3fd9bbf7e2ace55c08832a1ba Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Wed, 4 Dec 2024 15:21:48 +0100 Subject: [PATCH] use mockito as javaagent --- jfuse-linux-aarch64/pom.xml | 2 +- jfuse-linux-amd64/pom.xml | 2 +- jfuse-mac/pom.xml | 2 +- jfuse-win/pom.xml | 2 +- pom.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/jfuse-linux-aarch64/pom.xml b/jfuse-linux-aarch64/pom.xml index cdf5081..3a9138e 100644 --- a/jfuse-linux-aarch64/pom.xml +++ b/jfuse-linux-aarch64/pom.xml @@ -31,7 +31,7 @@ org.apache.maven.plugins maven-surefire-plugin - @{surefire.jacoco.args} -javaagent:${net.bytebuddy:byte-buddy-agent:jar} --enable-native-access=org.cryptomator.jfuse.linux.aarch64 + @{surefire.jacoco.args} -javaagent:"${org.mockito:mockito-core:jar}" --enable-native-access=org.cryptomator.jfuse.linux.aarch64 diff --git a/jfuse-linux-amd64/pom.xml b/jfuse-linux-amd64/pom.xml index fd931b0..203bb9c 100644 --- a/jfuse-linux-amd64/pom.xml +++ b/jfuse-linux-amd64/pom.xml @@ -31,7 +31,7 @@ org.apache.maven.plugins maven-surefire-plugin - @{surefire.jacoco.args} -javaagent:${net.bytebuddy:byte-buddy-agent:jar} --enable-native-access=org.cryptomator.jfuse.linux.amd64 + @{surefire.jacoco.args} -javaagent:"${org.mockito:mockito-core:jar}" --enable-native-access=org.cryptomator.jfuse.linux.amd64 diff --git a/jfuse-mac/pom.xml b/jfuse-mac/pom.xml index a8285f8..362aa13 100644 --- a/jfuse-mac/pom.xml +++ b/jfuse-mac/pom.xml @@ -31,7 +31,7 @@ org.apache.maven.plugins maven-surefire-plugin - @{surefire.jacoco.args} -javaagent:${net.bytebuddy:byte-buddy-agent:jar} --enable-native-access=org.cryptomator.jfuse.mac + @{surefire.jacoco.args} -javaagent:"${org.mockito:mockito-core:jar}" --enable-native-access=org.cryptomator.jfuse.mac diff --git a/jfuse-win/pom.xml b/jfuse-win/pom.xml index 89259d5..9d47793 100644 --- a/jfuse-win/pom.xml +++ b/jfuse-win/pom.xml @@ -32,7 +32,7 @@ org.apache.maven.plugins maven-surefire-plugin - @{surefire.jacoco.args} -javaagent:${net.bytebuddy:byte-buddy-agent:jar} --enable-native-access=org.cryptomator.jfuse.win + @{surefire.jacoco.args} -javaagent:"${org.mockito:mockito-core:jar}" --enable-native-access=org.cryptomator.jfuse.win diff --git a/pom.xml b/pom.xml index 2f0b4f7..52641f0 100644 --- a/pom.xml +++ b/pom.xml @@ -207,7 +207,7 @@ org.apache.maven.plugins maven-surefire-plugin - @{surefire.jacoco.args} -javaagent:${net.bytebuddy:byte-buddy-agent:jar} + @{surefire.jacoco.args} -javaagent:"${org.mockito:mockito-core:jar}"