Skip to content

Commit

Permalink
Adding jdk24 Maven profile to work with latest Mockito and ByteBuddy …
Browse files Browse the repository at this point in the history
…releases
  • Loading branch information
ilgrosso committed Oct 25, 2024
1 parent 899d813 commit 782a7a6
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2341,6 +2341,48 @@ under the License.
</plugins>
</build>
</profile>

<profile>
<id>jdk24</id>

<activation>
<jdk>[24,)</jdk>
</activation>

<properties>
<mockito.version>5.14.2</mockito.version>
<byte-buddy.version>1.15.7</byte-buddy.version>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>${byte-buddy.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
<version>${byte-buddy.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
</profile>
</profiles>

<modules>
Expand Down

0 comments on commit 782a7a6

Please sign in to comment.