Repository navigation
Javadoc fixes - #4516
Javadoc fixes#4516
Conversation
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.
|
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
left a comment
There was a problem hiding this comment.
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.
Builds javadocs as part of
mvn package; successful javadoc build required several errors to be fixed. All components (apart frombioformats_package) should now have atarget/*-javadoc.jaronce 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.jarneeds to be present forbioformats_package. I suspect not sincebioformats_packagedoes 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.