diff --git a/jfuse-linux-aarch64/pom.xml b/jfuse-linux-aarch64/pom.xml
index b3f5873..05fab90 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} --enable-preview --enable-native-access=org.cryptomator.jfuse.linux.aarch64
+ @{surefire.jacoco.args} -javaagent:${net.bytebuddy:byte-buddy-agent:jar} --enable-preview --enable-native-access=org.cryptomator.jfuse.linux.aarch64
diff --git a/jfuse-linux-amd64/pom.xml b/jfuse-linux-amd64/pom.xml
index 24908c0..04f04b8 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} --enable-preview --enable-native-access=org.cryptomator.jfuse.linux.amd64
+ @{surefire.jacoco.args} -javaagent:${net.bytebuddy:byte-buddy-agent:jar} --enable-preview --enable-native-access=org.cryptomator.jfuse.linux.amd64
diff --git a/jfuse-mac/pom.xml b/jfuse-mac/pom.xml
index 7d0e59c..e1f95d6 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} --enable-preview --enable-native-access=org.cryptomator.jfuse.mac
+ @{surefire.jacoco.args} -javaagent:${net.bytebuddy:byte-buddy-agent:jar} --enable-preview --enable-native-access=org.cryptomator.jfuse.mac
diff --git a/jfuse-win/pom.xml b/jfuse-win/pom.xml
index 93f8d1b..326717b 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} --enable-preview --enable-native-access=org.cryptomator.jfuse.win
+ @{surefire.jacoco.args} -javaagent:${net.bytebuddy:byte-buddy-agent:jar} --enable-preview --enable-native-access=org.cryptomator.jfuse.win
diff --git a/pom.xml b/pom.xml
index 21c7da8..d69b047 100644
--- a/pom.xml
+++ b/pom.xml
@@ -74,6 +74,11 @@
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+ 3.6.1
+
org.apache.maven.plugins
maven-compiler-plugin
@@ -145,6 +150,19 @@
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+ 3.6.1
+
+
+ jar-paths-to-properties
+
+ properties
+
+
+
+
org.apache.maven.plugins
maven-source-plugin
@@ -195,7 +213,7 @@
org.apache.maven.plugins
maven-surefire-plugin
- @{surefire.jacoco.args} --enable-preview --enable-native-access=ALL-UNNAMED
+ @{surefire.jacoco.args} -javaagent:${net.bytebuddy:byte-buddy-agent:jar} --enable-preview