From c0c2825ad5d45e60e7e42254bc8de1dbc3d74e5f Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Mon, 27 Jan 2025 18:03:46 +0100 Subject: [PATCH] GH-1035 - Revert explicit Mockito agent configuration. This reverts commit 74f4417cd9d777caea50c4f082fc3efc32def60a. See [0] for details. Additionally, the change causes our integration builds to fail as the Mockito versions referred to by older Boot versions do not contain the necessary manifest entries. [0] https://github.com/eclipse-m2e/m2e-core/issues/1916#issuecomment-2616344357 --- pom.xml | 14 -------------- spring-modulith-examples/pom.xml | 19 ------------------- 2 files changed, 33 deletions(-) diff --git a/pom.xml b/pom.xml index ccf5dc42..dab98e07 100644 --- a/pom.xml +++ b/pom.xml @@ -496,18 +496,6 @@ limitations under the License. - - org.apache.maven.plugins - maven-dependency-plugin - - - - properties - - - - - org.apache.maven.plugins maven-surefire-plugin @@ -516,8 +504,6 @@ limitations under the License. - - -javaagent:${org.mockito:mockito-core:jar} diff --git a/spring-modulith-examples/pom.xml b/spring-modulith-examples/pom.xml index 4705121c..4b1aa446 100644 --- a/spring-modulith-examples/pom.xml +++ b/spring-modulith-examples/pom.xml @@ -50,25 +50,6 @@ - - org.apache.maven.plugins - maven-dependency-plugin - - - - properties - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - -javaagent:${org.mockito:mockito-core:jar} - -