diff --git a/pom.xml b/pom.xml
index 85a1c4ec..4c0766f3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -562,6 +562,18 @@ limitations under the License.
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+
+
+
+ properties
+
+
+
+
+
org.apache.maven.plugins
maven-surefire-plugin
@@ -569,6 +581,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 89bc4089..ddb4d81e 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 6e803bf6..adbbd5a9 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}
+
+