diff --git a/spring-data-jpa/pom.xml b/spring-data-jpa/pom.xml index ea9590bf8e..c70089c502 100644 --- a/spring-data-jpa/pom.xml +++ b/spring-data-jpa/pom.xml @@ -81,9 +81,8 @@ org.aspectj - aspectjweaver + aspectjrt ${aspectj} - test @@ -318,6 +317,39 @@ + + org.codehaus.mojo + build-helper-maven-plugin + + + + set-antlr4-directory + + uptodate-property + + + validate + + antlr4.dir + antlr4-dummy + antlr4 + + ${project.basedir}/src/main/antlr4 + ${project.build.directory}/generated-sources/antlr4 + + glob + *.g4 + *.interp + + + + + + + org.antlr antlr4-maven-plugin @@ -330,6 +362,8 @@ generate-sources true + + ${project.basedir}/src/main/${antlr4.dir} @@ -337,23 +371,32 @@ com.google.code.maven-replacer-plugin - maven-replacer-plugin - 1.4.1 + replacer + 1.5.3 process-sources replace + + ${project.build.directory}/generated-sources + + + ${antlr4.dir}/**/*.java + + + public class=class,public interface=interface + + + + + + maven-compiler-plugin - - target/generated-sources/antlr4/**/*.java - - - public class=class,public interface=interface - + only @@ -362,11 +405,6 @@ aspectj-maven-plugin 1.14.0 - - org.aspectj - aspectjrt - ${aspectj} - org.aspectj aspectjtools @@ -375,32 +413,37 @@ + aspectj-compile compile process-classes + + + + + aspectj-test-compile + + test-compile + + process-test-classes + + + + none + + true true - - true + true org.springframework spring-aspects - - **/domain/support/AuditingEntityListener.java - ${source.level} ${source.level} ${source.level}