Skip to content

Commit 93ef0a2

Browse files
gregturnodrotbohm
authored andcommitted
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.
1 parent 2e9cd79 commit 93ef0a2

File tree

2 files changed

+12
-0
lines changed
  • spring-data-rest-tests/spring-data-rest-tests-jpa
  • spring-data-rest-webmvc

2 files changed

+12
-0
lines changed

spring-data-rest-tests/spring-data-rest-tests-jpa/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@
6565
<groupId>org.hibernate</groupId>
6666
<artifactId>hibernate-core</artifactId>
6767
<version>${hibernate.version}</version>
68+
<exclusions>
69+
<exclusion>
70+
<groupId>net.bytebuddy</groupId>
71+
<artifactId>byte-buddy</artifactId>
72+
</exclusion>
73+
</exclusions>
6874
</dependency>
6975

7076
</dependencies>

spring-data-rest-webmvc/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@
8888
<artifactId>hibernate-core</artifactId>
8989
<version>${hibernate.version}</version>
9090
<optional>true</optional>
91+
<exclusions>
92+
<exclusion>
93+
<groupId>net.bytebuddy</groupId>
94+
<artifactId>byte-buddy</artifactId>
95+
</exclusion>
96+
</exclusions>
9197
</dependency>
9298

9399
<!-- Jackson JodaTime -->

0 commit comments

Comments
 (0)