Skip to content

Javadoc fixes - #4516

Merged
sbesson merged 4 commits into
ome:developfrom
melissalinkert:javadocs
Nov 20, 2026
Merged

sbesson merged 4 commits into
ome:developfrom
melissalinkert:javadocs

Conversation

@melissalinkert

Copy link
Copy Markdown
Member

Builds javadocs as part of mvn package; successful javadoc build required several errors to be fixed. All components (apart from bioformats_package) should now have a target/*-javadoc.jar once the build completes.

This is meant to fix the deployment errors in https://github.com/ome/bioformats/actions/runs/44547791436/job/135642964333.

The only open question (I think) is whether a combined *-javadoc.jar needs to be present for bioformats_package. I suspect not since bioformats_package does not have an error in https://github.com/ome/bioformats/actions/runs/44547791436/job/135642964333, but happy to investigate more if needed. We may also need to just try a 9.0.0-rc5 and see if it works.

I did not attempt to address all of the warnings that are introduced, and will save that for #4407.

Successful javadoc build required several errors to be fixed.
All components (apart from `bioformats_package`) should now have a
`target/*-javadoc.jar` once the build completes.
@melissalinkert melissalinkert added this to the 9.0.0 milestone Nov 19, 2026
@melissalinkert

Copy link
Copy Markdown
Member Author

Not entirely sure why the build passes without error locally, but fails with new errors here. May require a few iterations to get builds passing.

@sbesson sbesson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the Javadoc changes either implement minor syntactic fixes to the markup or reflect the actual contract of the documented API.

The only open question (I think) is whether a combined *-javadoc.jar needs to be present for bioformats_package. I suspect not since bioformats_package does not have an error in https://github.com/ome/bioformats/actions/runs/44547791436/job/135642964333, but happy to investigate more if needed. We may also need to just try a 9.0.0-rc5 and see if it works.

From https://central.sonatype.org/publish/requirements/#supply-javadoc-and-sources, the Javadoc requirement does not apply for projects with the packaging pom. This is relevant both to the top-level pom-bio-formats and bioformats_package.

Agreed with cleaning up the Javadoc warnings exposed by this work separately.

@sbesson
sbesson merged commit fce8766 into ome:develop Nov 20, 2026
24 of 36 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