From 93ef0a22f7dbc5d2226c858c7e79a39db101255e Mon Sep 17 00:00:00 2001 From: "Greg L. Turnquist" Date: Tue, 23 May 2023 09:36:12 -0500 Subject: [PATCH] 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. --- spring-data-rest-tests/spring-data-rest-tests-jpa/pom.xml | 6 ++++++ spring-data-rest-webmvc/pom.xml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/pom.xml b/spring-data-rest-tests/spring-data-rest-tests-jpa/pom.xml index 232b8c65d..2f074eee8 100644 --- a/spring-data-rest-tests/spring-data-rest-tests-jpa/pom.xml +++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/pom.xml @@ -65,6 +65,12 @@ org.hibernate hibernate-core ${hibernate.version} + + + net.bytebuddy + byte-buddy + + diff --git a/spring-data-rest-webmvc/pom.xml b/spring-data-rest-webmvc/pom.xml index f16436c05..73282b223 100644 --- a/spring-data-rest-webmvc/pom.xml +++ b/spring-data-rest-webmvc/pom.xml @@ -88,6 +88,12 @@ hibernate-core ${hibernate.version} true + + + net.bytebuddy + byte-buddy + +