diff --git a/pom.xml b/pom.xml
index 2c3576227..efabf308d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,8 +23,6 @@
3.0.13-SNAPSHOT
spring.data.couchbase
7.0.1.Final
- 1.1.3
- 5.0.0
3.7.4
3.1.0
2.10.13
@@ -249,6 +247,37 @@
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+
+ com.querydsl
+ querydsl-apt
+ ${querydsl}
+
+
+
+ none
+
+
+
+ test-annotation-processing
+ generate-test-sources
+
+ testCompile
+
+
+ only
+
+ org.springframework.data.couchbase.repository.support.CouchbaseAnnotationProcessor
+
+ target/generated-test-sources
+
+
+
+
+
org.apache.maven.plugins
maven-surefire-plugin
@@ -292,30 +321,6 @@
org.asciidoctor
asciidoctor-maven-plugin
-
- com.mysema.maven
- apt-maven-plugin
- ${apt}
-
-
- com.querydsl
- querydsl-apt
- ${querydsl}
-
-
-
-
- generate-test-sources
-
- test-process
-
-
- target/generated-test-sources
- org.springframework.data.couchbase.repository.support.CouchbaseAnnotationProcessor
-
-
-
-
diff --git a/src/main/asciidoc/repository.adoc b/src/main/asciidoc/repository.adoc
index 5e3471e3f..b774de353 100644
--- a/src/main/asciidoc/repository.adoc
+++ b/src/main/asciidoc/repository.adoc
@@ -30,6 +30,51 @@ public class Config extends AbstractCouchbaseConfiguration {
An advanced usage is described in <>.
+[[couchbase.repository.configuration.dsl]]
+=== QueryDSL Configuration
+Spring Data Couchbase supports QueryDSL for building type-safe queries. To enable code generation you need to set `spring-data-couchbase` as annotation processor on your project.
+
+.Maven Configuration Example
+====
+[source,xml]
+----
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ [compiler-plugin-version]
+
+
+
+
+ com.querydsl
+ querydsl-apt
+ [version]
+
+
+ org.springframework.data
+ spring-data-couchbase
+ [version]
+
+
+
+
+
+
+
+----
+====
+
+.Gradle Configuration Example
+====
+[source,groovy]
+----
+annotationProcessor 'com.querydsl:querydsl-apt:${querydslVersion}'
+annotationProcessor 'org.springframework.data:spring-data-couchbase:${springDataCouchbaseVersion}'
+----
+====
+
[[couchbase.repository.usage]]
== Usage
diff --git a/src/main/resources/META-INF/services/javax.annotation.processing.Processor b/src/main/resources/META-INF/services/javax.annotation.processing.Processor
new file mode 100644
index 000000000..616ab13f5
--- /dev/null
+++ b/src/main/resources/META-INF/services/javax.annotation.processing.Processor
@@ -0,0 +1 @@
+org.springframework.data.couchbase.repository.support.CouchbaseAnnotationProcessor
\ No newline at end of file