Skip to content

[doc] Fix paimon-website-javadoc profile to use its own maven-javadoc-plugin#7317

Merged
JingsongLi merged 1 commit intoapache:masterfrom
plusplusjiajia:fix-javadoc
Feb 28, 2026
Merged

[doc] Fix paimon-website-javadoc profile to use its own maven-javadoc-plugin#7317
JingsongLi merged 1 commit intoapache:masterfrom
plusplusjiajia:fix-javadoc

Conversation

@plusplusjiajia
Copy link
Member

Purpose

The Javadoc generation for the Paimon website is currently broken — the API docs page cannot render properly.The CI build failure can be seen at: https://github.com/apache/paimon-website/actions/runs/22467456347/job/65076695360The error is:
plaintext
javadoc: error - invalid flag: --ignore-source-errors

Command line was: /opt/hostedtoolcache/jdk/8.0.482/x64/jre/../bin/javadoc
"-Xdoclint:none --allow-script-in-comments" -Xdoclint:none
--ignore-source-errors -Xdoclint:none @options @packages @argfile

The paimon-website-javadoc profile declares maven-javadoc-plugin version 3.1.1, but due to Maven's configuration merging, it inherits settings from pluginManagement (version 3.11.2), including --ignore-source-errors. This flag is only supported on JDK 11+ and causes the build to fail when the website CI runs with JDK 8.

@JingsongLi
Copy link
Contributor

+1

@JingsongLi JingsongLi merged commit 867dbfe into apache:master Feb 28, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants