From ffbf2cdc050ac0e6058580c69d48c01c01badd93 Mon Sep 17 00:00:00 2001 From: Keegan Witt Date: Tue, 31 Dec 2024 23:21:23 -0500 Subject: [PATCH] Add Mockito agent jar to avoid warning with Java 21+ --- pom.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pom.xml b/pom.xml index 4b307aa9..eccb2306 100644 --- a/pom.xml +++ b/pom.xml @@ -218,6 +218,13 @@ org.apache.maven.plugins maven-dependency-plugin ${dependencyPluginVersion} + + + + properties + + + org.apache.maven.plugins @@ -303,6 +310,9 @@ org.apache.maven.plugins maven-surefire-plugin ${surefirePluginVersion} + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + org.jacoco