GH-1034 - Revert explicit Mockito agent configuration.

This reverts commit 003c4280a4. 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
This commit is contained in:
Oliver Drotbohm
2025-01-27 18:02:06 +01:00
parent 1cc5719234
commit 0d9d1fe5c9
3 changed files with 0 additions and 39 deletions

14
pom.xml
View File

@@ -551,18 +551,6 @@ limitations under the License.
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>properties</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
@@ -570,8 +558,6 @@ limitations under the License.
<excludes>
<exclude />
</excludes>
<!-- To avoid warnings of Mockito dynamically attaching an agent -->
<argLine>-javaagent:${org.mockito:mockito-core:jar}</argLine>
</configuration>
</plugin>

View File

@@ -63,12 +63,6 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>

View File

@@ -93,25 +93,6 @@
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>properties</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- To avoid warnings of Mockito dynamically attaching an agent -->
<argLine>-javaagent:${org.mockito:mockito-core:jar}</argLine>
</configuration>
</plugin>
</plugins>
</build>