Skip to content

Commit

Permalink
Change bytebuddy from direct dep to managed; other cleanup (#4491)
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder authored Apr 21, 2024
1 parent 0ad2d02 commit 25093b2
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,30 @@
<packageVersion.dir>com/fasterxml/jackson/databind/cfg</packageVersion.dir>
<packageVersion.package>com.fasterxml.jackson.databind.cfg</packageVersion.package>

<version.bytebuddy>1.14.13</version.bytebuddy>
<version.mockito>4.11.0</version.mockito>
<version.powermock>2.0.9</version.powermock>

<!-- for Reproducible Builds -->
<project.build.outputTimestamp>2024-02-27T01:47:51Z</project.build.outputTimestamp>
</properties>

<dependencyManagement>
<dependencies>
<!-- We need to specify later Bytebuddy version because Mockito 4.11.0 depends on earlier
Bytebuddy which does not support JDK 21, since 2.17-->
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>${version.bytebuddy}</version>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
<version>${version.bytebuddy}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- Builds on core streaming API; also needs core annotations -->
<dependency>
Expand Down Expand Up @@ -129,21 +147,13 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>4.11.0</version>
<version>${version.mockito}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-inline</artifactId>
<version>4.11.0</version>
<scope>test</scope>
</dependency>
<!-- We need to specify later Bytebuddy version because Mockito 4.11.0 depends on earlier Bytebuddy which
does not support JDK 21, since 2.17-->
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>1.14.13</version>
<version>${version.mockito}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down

0 comments on commit 25093b2

Please sign in to comment.