From 1fedf011c3cb449a0039ecafecc3563fa9d50b94 Mon Sep 17 00:00:00 2001 From: Auri Munoz Date: Thu, 30 May 2024 21:19:09 +0200 Subject: [PATCH] using new spring aop module --- bom/application/pom.xml | 7 ++++++- extensions/spring-data-jpa/runtime/pom.xml | 4 ++++ .../src/main/resources/application.properties | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/bom/application/pom.xml b/bom/application/pom.xml index b619e2275d9edc..ba3290c658f86b 100644 --- a/bom/application/pom.xml +++ b/bom/application/pom.xml @@ -181,7 +181,7 @@ 0.3.0 4.13.1 6.1.SP1-SNAPSHOT - 2.1.SP2 + 2.1.SP2-SNAPSHOT 5.4.Final 2.1.SP1 5.12.0 @@ -5876,6 +5876,11 @@ quarkus-spring-beans-api ${quarkus-spring-api.version} + + io.quarkus + quarkus-spring-aop-api + ${quarkus-spring-api.version} + io.quarkus quarkus-spring-data-jpa-api diff --git a/extensions/spring-data-jpa/runtime/pom.xml b/extensions/spring-data-jpa/runtime/pom.xml index 58a40263b61b27..48ed4cbf784dff 100644 --- a/extensions/spring-data-jpa/runtime/pom.xml +++ b/extensions/spring-data-jpa/runtime/pom.xml @@ -38,6 +38,10 @@ io.quarkus quarkus-spring-core-api + + io.quarkus + quarkus-spring-aop-api + io.quarkus quarkus-spring-boot-orm-api diff --git a/integration-tests/spring-data-jpa/src/main/resources/application.properties b/integration-tests/spring-data-jpa/src/main/resources/application.properties index a4cde9e7582bb3..2abadc97530a69 100644 --- a/integration-tests/spring-data-jpa/src/main/resources/application.properties +++ b/integration-tests/spring-data-jpa/src/main/resources/application.properties @@ -7,7 +7,7 @@ quarkus.hibernate-orm.database.generation=drop-and-create # DataGenerator uses java.util.Random => needs to be runtime initialized # as j.u.Random is prohibited in the native image heap. Otherwise # random data becomes deterministic -quarkus.native.additional-build-args=--initialize-at-run-time=io.quarkus.it.spring.data.jpa.DataGenerator +quarkus.native.additional-build-args=--initialize-at-run-time=io.quarkus.it.spring.data.jpa.DataGenerator\\,org.springframework.data.domain.Sort$TypedSort,--initialize-at-build-time=org.springframework.aop,-H:TraceClassInitialization=true,-H:AbortOnTypeReachable=org.springframework.data.util.MethodInvocationRecorder #quarkus.hibernate-orm.log.sql=true %prod.quarkus.hibernate-orm.sql-load-script=import.sql