From 027c48a731ac0c008cebae3c97779589a2ba24a2 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Wed, 27 Dec 2023 09:35:26 +0100 Subject: [PATCH] Polishing. Move AspectJ dependency from test into optional. Add annotation processor paths to compiler plugin for discovery by Gradle Enterprise. Rollback replacer/conditional antlr paths. See #3282 --- spring-data-jpa/pom.xml | 37 +++++++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/spring-data-jpa/pom.xml b/spring-data-jpa/pom.xml index 401baa5f8f..be5dc33c40 100644 --- a/spring-data-jpa/pom.xml +++ b/spring-data-jpa/pom.xml @@ -83,6 +83,7 @@ org.aspectj aspectjrt ${aspectj} + true @@ -329,6 +330,7 @@ generate-sources true + ${project.basedir}/src/main/antlr4 @@ -344,22 +346,37 @@ replace + + ${project.build.directory}/generated-sources + + antlr4/**/*.java + + + public class=class,public interface=interface + + - - - target/generated-sources/antlr4/**/*.java - - - public class=class,public interface=interface - - + org.apache.maven.plugins maven-compiler-plugin only + + + com.querydsl + querydsl-apt + ${querydsl} + jakarta + + + org.hibernate.orm + hibernate-jpamodelgen + ${hibernate} + + @@ -381,8 +398,6 @@ compile process-classes - - aspectj-test-compile @@ -390,8 +405,6 @@ test-compile process-test-classes - -