This is an automated email from the ASF dual-hosted git repository.
yuxiqian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-cdc.git
The following commit(s) were added to refs/heads/master by this push:
new bdf32d782 [hotfix][ci] Exclude Flink compatibility modules from
Javadocs generation (#4470)
bdf32d782 is described below
commit bdf32d78246888489dc302946a50b98d66a5f4e4
Author: yuxiqian <[email protected]>
AuthorDate: Tue Jul 14 10:25:13 2026 +0800
[hotfix][ci] Exclude Flink compatibility modules from Javadocs generation
(#4470)
* [ci] Exclude Flink compatibility modules from Javadoc
* [ci] Run documentation checks for workflow changes
---
.github/workflows/build_docs.yml | 2 ++
.github/workflows/docs.sh | 2 ++
2 files changed, 4 insertions(+)
diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml
index ec96756a5..ee61e9e2d 100644
--- a/.github/workflows/build_docs.yml
+++ b/.github/workflows/build_docs.yml
@@ -22,6 +22,8 @@ on:
- release-*
paths:
- 'docs/**'
+ - '.github/workflows/build_docs.yml'
+ - '.github/workflows/docs.sh'
schedule:
- cron: '0 0 * * *' # Deploy every day
workflow_dispatch:
diff --git a/.github/workflows/docs.sh b/.github/workflows/docs.sh
index 1254d83ac..d57246fa4 100644
--- a/.github/workflows/docs.sh
+++ b/.github/workflows/docs.sh
@@ -54,7 +54,9 @@ mvn clean install -B -DskipTests -Dfast
# build java/scala docs
mkdir -p docs/target/api
+# Compatibility modules target different Flink versions and cannot share a
Javadoc classpath.
mvn javadoc:aggregate -B \
+ -pl '!flink-cdc-flink1-compat,!flink-cdc-flink2-compat' \
-DadditionalJOption="-Xdoclint:none --allow-script-in-comments" \
-Dmaven.javadoc.failOnError=false \
-Dcheckstyle.skip=true \