Skip to content

Commit b830c83

Browse files
committed
update mockito (and bytebuddy) for java21 compat
1 parent dfb5f0a commit b830c83

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

pom.xml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
<aws-embedded-metrics.version>4.1.2</aws-embedded-metrics.version>
9292
<jmespath.version>0.6.0</jmespath.version>
9393
<elastic.version>1.6.0</elastic.version>
94-
<mockito.version>5.6.0</mockito.version>
94+
<mockito.version>5.12.0</mockito.version>
9595

9696
<!-- As we have a .mvn directory at the root of the project, this will evaluate to the root directory
9797
regardless of where maven is run - sub-module, or root. -->
@@ -469,16 +469,6 @@
469469
<autoReleaseAfterClose>true</autoReleaseAfterClose>
470470
</configuration>
471471
</plugin>
472-
<plugin>
473-
<groupId>org.apache.maven.plugins</groupId>
474-
<artifactId>maven-surefire-plugin</artifactId>
475-
<configuration>
476-
<systemPropertyVariables>
477-
<!-- TODO: remove when updating mockito / bytebuddy with Java21 compat -->
478-
<net.bytebuddy.experimental>true</net.bytebuddy.experimental>
479-
</systemPropertyVariables>
480-
</configuration>
481-
</plugin>
482472
<plugin>
483473
<groupId>org.apache.maven.plugins</groupId>
484474
<artifactId>maven-checkstyle-plugin</artifactId>

0 commit comments

Comments
 (0)