diff --git a/spring-data-jpa/pom.xml b/spring-data-jpa/pom.xml
index 6889823431..ae3f2a928c 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
-
-