diff --git a/pom.xml b/pom.xml
index bc79beac..70498cef 100644
--- a/pom.xml
+++ b/pom.xml
@@ -551,6 +551,18 @@ limitations under the License.
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+
+
+
+ properties
+
+
+
+
+
org.apache.maven.plugins
maven-surefire-plugin
@@ -558,6 +570,8 @@ limitations under the License.
+
+ -javaagent:${org.mockito:mockito-core:jar}
diff --git a/spring-modulith-apt/pom.xml b/spring-modulith-apt/pom.xml
index 78313316..4246489c 100644
--- a/spring-modulith-apt/pom.xml
+++ b/spring-modulith-apt/pom.xml
@@ -63,6 +63,12 @@
test
+
+ org.mockito
+ mockito-core
+ test
+
+
diff --git a/spring-modulith-examples/pom.xml b/spring-modulith-examples/pom.xml
index 9e4bd7c5..b1e2f244 100644
--- a/spring-modulith-examples/pom.xml
+++ b/spring-modulith-examples/pom.xml
@@ -93,6 +93,25 @@
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+
+
+
+ properties
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+
+ -javaagent:${org.mockito:mockito-core:jar}
+
+