diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml
index 7b1d9fdda..c2eb5cc35 100644
--- a/.github/workflows/continuous-integration.yml
+++ b/.github/workflows/continuous-integration.yml
@@ -36,7 +36,7 @@ jobs:
SPRING_AI_OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
- run: mvn -s settings.xml -Pintegration-tests -Dfailsafe.rerunFailingTestsCount=3 --batch-mode --update-snapshots deploy
+ run: mvn -s settings.xml -Pintegration-tests -Pjavadoc -Dfailsafe.rerunFailingTestsCount=3 --batch-mode --update-snapshots deploy
- name: Generate Java docs
run: mvn javadoc:aggregate
diff --git a/pom.xml b/pom.xml
index eda91dd86..79cac296d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -423,9 +423,8 @@
org.springframework.ai.sample.*,org.springframework.ai.testcontainers.service.connection.*
${project.basedir}/spring-ai-docs/src/main/javadoc/overview.html
false
+ false
none
-
- true