Skip to content

Commit

Permalink
build(maven): declare an explicit ByteBuddy version for Mockito
Browse files Browse the repository at this point in the history
Mockito doesn't work on Java 21 with its default ByteBuddy version.
  • Loading branch information
jponge committed Oct 13, 2023
1 parent 325f55b commit f014340
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@
<version.surefire.plugin>3.1.2</version.surefire.plugin>
<testng.version>7.8.0</testng.version>
<testng-junit5-engine.version>1.0.4</testng-junit5-engine.version>

<mockito-core.version>5.5.0</mockito-core.version>
<byte-buddy.version>1.14.9</byte-buddy.version>

<revapi-maven-plugin.version>0.15.0</revapi-maven-plugin.version>
<revapi-java.version>0.28.1</revapi-java.version>
Expand Down Expand Up @@ -173,6 +175,11 @@
<version>${mockito-core.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>${byte-buddy.version}</version>
</dependency>
<dependency>
<groupId>io.smallrye</groupId>
<artifactId>smallrye-context-propagation</artifactId>
Expand Down

0 comments on commit f014340

Please sign in to comment.