From dc72e0f817ca83c07e64b5f0c2335a2fec201c61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoann=20Rodi=C3=A8re?= Date: Tue, 19 Dec 2023 11:46:20 +0100 Subject: [PATCH] Mention Maven Compiler Plugin 3.12 in migration guide --- migration-guide.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/migration-guide.adoc b/migration-guide.adoc index 89bae74353..2292148e2b 100644 --- a/migration-guide.adoc +++ b/migration-guide.adoc @@ -78,9 +78,9 @@ To get rid of that error: 1. Check out the specific sections in the User Guide for a guideline on how to properly harness the annotation processor classpath to use `hibernate-jpamodelgen`: see {userGuideBase}#tooling-gradle-modelgen[here for Gradle] or {userGuideBase_6_4}#tooling-maven-modelgen[here for Maven]. -2. If the annotation processor classpath doesn't work in your case because you use Maven and need the version of `hibernate-jpamodelgen` managed through a BOM, - watch for new releases of the Maven Compiler Plugin, which should handle dependency management for `annotationProcessorPath` entries in version 3.12.0; - see https://issues.apache.org/jira/browse/MCOMPILER-391. +2. If you use Maven and the annotation processor classpath doesn't seem to properly get the version of `hibernate-jpamodelgen` from dependency management or your BOM, + make sure you're using Maven Compiler Plugin 3.12.0 or later: + https://issues.apache.org/jira/browse/MCOMPILER-391[older versions didn't handle dependency management for `annotationProcessorPath` entries]. [[hql-null-literal-comparison]] == HQL null literal comparison