Skip to content

fix: add javadoc support for pom-only shaded modules#4787

Merged
merlimat merged 1 commit intoapache:masterfrom
nodece:fix-javadoc
May 9, 2026
Merged

fix: add javadoc support for pom-only shaded modules#4787
merlimat merged 1 commit intoapache:masterfrom
nodece:fix-javadoc

Conversation

@nodece
Copy link
Copy Markdown
Member

@nodece nodece commented May 9, 2026

Motivation

When publishing the bk to the Maven central repo, you will get the following error:

Error:  Deployment failed: 
Error:  pkg:maven/com.***.bookkeeper/bookkeeper-server-shaded@4.16.8.0: Javadocs must be provided but not found in entries
Error:  pkg:maven/com.***.bookkeeper/bookkeeper-server-tests-shaded@4.16.8.0: Javadocs must be provided but not found in entries
Error:  pkg:maven/com.***.distributedlog/distributedlog-core-shaded@4.16.8.0: Javadocs must be provided but not found in entries
Error:  pkg:maven/com.***.bookkeeper.metadata.drivers/jetcd-core-shaded@4.16.8.0: Javadocs must be provided but not found in entries

Changes

  • add javadoc support for pom-only shaded modules
  • control javadoc generation by maven.javadoc.skip

@nodece
Copy link
Copy Markdown
Member Author

nodece commented May 9, 2026

@lhotari @merlimat could you have a chance to review?

@merlimat merlimat merged commit 985fe2a into apache:master May 9, 2026
20 checks passed
@nodece nodece deleted the fix-javadoc branch May 10, 2026 06:28
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