From 08ee63bb9d1a49276e1187ad9d02285690ff3aa9 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Mon, 16 Apr 2018 22:34:33 +0200 Subject: [PATCH] DATAJPA-1282 - Migrate to native APT execution. We now use the Compiler plugin to invoke APT-based code generation with Querydsl, JPA Metamodel and Project Lombok. This allows us to remove apt-maven-plugin that interferes with newer Maven Compiler plugin versions. --- pom.xml | 66 +++++++-------------------------------------------------- 1 file changed, 8 insertions(+), 58 deletions(-) diff --git a/pom.xml b/pom.xml index 817165bd2..e235ad587 100644 --- a/pom.xml +++ b/pom.xml @@ -313,6 +313,13 @@ true + + org.hibernate + hibernate-jpamodelgen + 1.3.0.Final + provided + + org.apache.openjpa openjpa-persistence-jdbc @@ -337,6 +344,7 @@ com.querydsl querydsl-apt ${querydsl} + jpa provided @@ -377,13 +385,6 @@ test - - com.google.guava - guava - 17.0 - test - - @@ -560,57 +561,6 @@ - - com.mysema.maven - apt-maven-plugin - ${apt} - - true - - com.querydsl.apt.jpa.JPAAnnotationProcessor - org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor - - - - - sources - generate-sources - - process - - - target/generated-sources/querydsl - - - - test-sources - generate-test-sources - - test-process - - - target/generated-test-sources/test-querydsl - - - org.springframework.data.jpa.repository.util.JpaClassUtilsUnitTests.NamedUser,org.springframework.data.jpa.repository.query.ParameterBinderUnitTests.SampleEmbeddable - - - - - - - - org.hibernate - hibernate-jpamodelgen - 1.3.0.Final - - - com.google.guava - guava - 17.0 - - - org.apache.maven.plugins maven-assembly-plugin