From 47587c20b10526c679cd44b4dea8aa2cabe8a737 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sat, 22 Aug 2020 18:41:47 +0200 Subject: POM: Separate annotation processing from compilation. Fixes the scalac warnings about being unable to determine the sources of generated classes. Change-Id: I401528799053b91a8c20446540b54e6521d088a5 --- pom.xml | 85 +++++++++++++++++++++++++++++++---------------------------------- 1 file changed, 41 insertions(+), 44 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index a5f0fde..037c7c3 100644 --- a/pom.xml +++ b/pom.xml @@ -20,6 +20,7 @@ 3.0.0 3.8.1 + 4.2 1.7.0.Final 3.1.0 2.6.3 @@ -250,6 +251,20 @@ jsr305 provided + + org.jetbrains.kotlin + kotlin-annotations-jvm + ${kotlin-annotations.version} + provided + + + + + org.hibernate + hibernate-jpamodelgen + ${hibernate.version} + provided + @@ -273,25 +288,10 @@ maven-compiler-plugin ${compiler-plugin.version} - - - - - - org.hibernate - hibernate-jpamodelgen - ${hibernate.version} - - - - - io.quarkus - quarkus-panache-common - ${quarkus.version} - - - + + -proc:none + @@ -400,6 +400,28 @@ + + org.bsc.maven + maven-processor-plugin + ${processor-plugin.version} + + + process + + process + + generate-sources + + + process-test + + process-test + + generate-test-sources + + + + net.alchim31.maven scala-maven-plugin @@ -435,38 +457,13 @@ -feature -explaintypes -target:jvm-1.8 - -Ypartial-unification --> -Xlint:deprecation + -proc:none - - - - - - org.hibernate - hibernate-jpamodelgen - ${hibernate.version} - - - - - io.quarkus - quarkus-panache-common - ${quarkus.version} - - - - - org.jetbrains.kotlin - kotlin-annotations-jvm - ${kotlin-annotations.version} - - - -- cgit v1.2.3