diff --git a/src/main/docs/guide/micronautInsideSpring/springBootStarter.adoc b/src/main/docs/guide/micronautInsideSpring/springBootStarter.adoc index d3d6a17f3..aa6813f91 100644 --- a/src/main/docs/guide/micronautInsideSpring/springBootStarter.adoc +++ b/src/main/docs/guide/micronautInsideSpring/springBootStarter.adoc @@ -61,3 +61,5 @@ dependency:jakarta.persistence-api[scope="annotationProcessor", groupId="jakarta dependency:jakarta.persistence-api[scope="compile", groupId="jakarta.persistence", version="3.1.0"] +NOTE: The annotation processors noted above have different dependency requirements for different language-based projects. +For Java add annotation processors in annotationProcessor scope, for Kotlin, add them in https://docs.micronaut.io/4.4.3/guide/#kaptOrKsp[kapt or ksp scope], and for Groovy add them in compileOnly scope diff --git a/src/main/docs/guide/springToMicronaut/springDataAnnotations.adoc b/src/main/docs/guide/springToMicronaut/springDataAnnotations.adoc index 1a70fb863..26b6bb90c 100644 --- a/src/main/docs/guide/springToMicronaut/springDataAnnotations.adoc +++ b/src/main/docs/guide/springToMicronaut/springDataAnnotations.adoc @@ -2,6 +2,8 @@ Micronaut Data supports Spring Data annotations. To use them add the following d dependency:micronaut-data-processor[scope="annotationProcessor", groupId="io.micronaut.data"] +NOTE: For Kotlin, add the `micronaut-data-processor` dependency in https://docs.micronaut.io/4.4.3/guide/#kaptOrKsp[kapt or ksp scope], and for Groovy add `micronaut-data-processor` in compileOnly scope. + The following table summarizes the Spring Data annotations that Micronaut Data supports and the Micronaut annotation that they map to at compilation time: .Supported Spring Data Annotations