From 5d6e44d379aca64451a0ebefb3cae47199d87089 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Sun, 8 Dec 2013 19:30:54 +0100 Subject: [PATCH] DATAJPA-12 - Simplified build setup for meta-model creation. Consolidated the generation of the static meta-model for test classes into the Querydsl APT plugin. --- pom.xml | 88 +++++++++------------------------------------------------ 1 file changed, 13 insertions(+), 75 deletions(-) diff --git a/pom.xml b/pom.xml index 12eb1f1f9..24eb970c6 100644 --- a/pom.xml +++ b/pom.xml @@ -144,12 +144,6 @@ ${hibernate} true - - org.hibernate - hibernate-jpamodelgen - 1.2.0.Final - provided - org.eclipse.persistence @@ -375,7 +369,10 @@ apt-maven-plugin ${apt} - com.mysema.query.apt.jpa.JPAAnnotationProcessor + + com.mysema.query.apt.jpa.JPAAnnotationProcessor + org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor + @@ -385,7 +382,7 @@ process - target/generated-sources/main + target/generated-sources/annotations @@ -395,7 +392,7 @@ test-process - target/generated-sources/test + target/generated-test-sources/test-annotations org.springframework.data.jpa.repository.util.JpaClassUtilsUnitTests.NamedUser,org.springframework.data.jpa.repository.query.ParameterBinderUnitTests.SampleEmbeddable @@ -404,6 +401,13 @@ + + + org.hibernate + hibernate-jpamodelgen + 1.2.0.Final + + org.apache.maven.plugins @@ -413,72 +417,6 @@ org.codehaus.mojo wagon-maven-plugin - - - - - org.apache.maven.plugins - maven-compiler-plugin - - - - default-compile - - compile - - - - - compile - - - - org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor - - ${project.build.directory}/generated-sources/test - - only - - - - - - - - org.hibernate - hibernate-jpamodelgen - 1.2.0.Final - - - - - - - org.codehaus.mojo - build-helper-maven-plugin - 1.8 - - - add-test-source - generate-test-sources - - add-test-source - - - - ${project.build.directory}/generated-sources/test - ${project.build.directory}/generated-test-sources/test-annotations - - - - -