Skip to content

Commit bdf32d7

Browse files
authored
[hotfix][ci] Exclude Flink compatibility modules from Javadocs generation (#4470)
* [ci] Exclude Flink compatibility modules from Javadoc * [ci] Run documentation checks for workflow changes
1 parent 36d2121 commit bdf32d7

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build_docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ on:
2222
- release-*
2323
paths:
2424
- 'docs/**'
25+
- '.github/workflows/build_docs.yml'
26+
- '.github/workflows/docs.sh'
2527
schedule:
2628
- cron: '0 0 * * *' # Deploy every day
2729
workflow_dispatch:

.github/workflows/docs.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ mvn clean install -B -DskipTests -Dfast
5454

5555
# build java/scala docs
5656
mkdir -p docs/target/api
57+
# Compatibility modules target different Flink versions and cannot share a Javadoc classpath.
5758
mvn javadoc:aggregate -B \
59+
-pl '!flink-cdc-flink1-compat,!flink-cdc-flink2-compat' \
5860
-DadditionalJOption="-Xdoclint:none --allow-script-in-comments" \
5961
-Dmaven.javadoc.failOnError=false \
6062
-Dcheckstyle.skip=true \

0 commit comments

Comments
 (0)