diff --git a/pom.xml b/pom.xml
index 7077d39..3f446b4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -192,7 +192,7 @@
code, so we must take care to exclude it during the
Javadoc generation process. Flag this issue with jOOQ
to get it resolved. -->
- src/main/java
+ ${project.basedir}/src/main/java:${project.build.directory}/generated-sources/annotations