Exclude byte-buddy from hibernate-core.

To ensure testing works properly with Java 17, we must exclude older version of byte-buddy from hibernate-core.

Related: DATAREST-1362, #1725.
This commit is contained in:
Greg L. Turnquist
2023-05-23 09:36:12 -05:00
committed by Oliver Drotbohm
parent 2e9cd79468
commit 93ef0a22f7
2 changed files with 12 additions and 0 deletions

View File

@@ -65,6 +65,12 @@
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>${hibernate.version}</version>
<exclusions>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

View File

@@ -88,6 +88,12 @@
<artifactId>hibernate-core</artifactId>
<version>${hibernate.version}</version>
<optional>true</optional>
<exclusions>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Jackson JodaTime -->