Skip to content

Commit 2d7f083

Browse files
committed
Clarify QueryDSL usage in reference documentation.
Closes #4951
1 parent c4188eb commit 2d7f083

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: src/main/antora/modules/ROOT/pages/repositories/core-extensions.adoc

+3-2
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ Maven::
169169
<groupId>com.querydsl</groupId>
170170
<artifactId>querydsl-mongodb</artifactId>
171171
<version>${querydslVersion}</version>
172-
<classifier>jakarta</classifier>
173172
174173
<!-- Recommended: Exclude the mongo-java-driver to avoid version conflicts -->
175174
<exclusions>
@@ -216,7 +215,7 @@ Gradle::
216215
[source,groovy,indent=0,subs="verbatim,quotes",role="secondary"]
217216
----
218217
dependencies {
219-
implementation 'com.querydsl:querydsl-mongodb:${querydslVersion}:jakarta'
218+
implementation 'com.querydsl:querydsl-mongodb:${querydslVersion}'
220219
221220
annotationProcessor 'com.querydsl:querydsl-apt:${querydslVersion}:jakarta'
222221
annotationProcessor 'org.springframework.data:spring-data-mongodb'
@@ -235,6 +234,8 @@ tasks.withType(JavaCompile).configureEach {
235234
======
236235

237236
Note that the setup above shows the simplest usage omitting any other options or dependencies that your project might require.
237+
This way of configuring annotation processing disables Java's annotation processor scanning because MongoDB requires specifying `-processor` by class name.
238+
If you're using other annotation processors, you need to add them to the list of `-processor`/`annotationProcessors` as well.
238239

239240
include::{commons}@data-commons::page$repositories/core-extensions-web.adoc[leveloffset=1]
240241

0 commit comments

Comments
 (0)