From 3c9ae4e1d67cf02c1aea8685522a193044e588b0 Mon Sep 17 00:00:00 2001 From: Mark Pollack Date: Mon, 9 Sep 2024 16:51:40 -0400 Subject: [PATCH] fix javadoc build in CI --- .github/workflows/continuous-integration.yml | 2 +- pom.xml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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