diff --git a/extensions/panache/hibernate-orm-panache-kotlin/runtime/pom.xml b/extensions/panache/hibernate-orm-panache-kotlin/runtime/pom.xml
index eafc2d7caa825..5ad85584d4a26 100644
--- a/extensions/panache/hibernate-orm-panache-kotlin/runtime/pom.xml
+++ b/extensions/panache/hibernate-orm-panache-kotlin/runtime/pom.xml
@@ -100,18 +100,7 @@
org.jetbrains.kotlin
kotlin-maven-plugin
-
- kapt
- generate-sources
-
- kapt
-
-
-
- org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor
-
-
-
+
compile
compile
@@ -184,4 +173,35 @@
+
+
+
+ kapt-not-on-jdk17
+
+ (,17)
+
+
+
+
+ org.jetbrains.kotlin
+ kotlin-maven-plugin
+
+
+ kapt
+ generate-sources
+
+ kapt
+
+
+
+ org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor
+
+
+
+
+
+
+
+
+