Javadoc fails on aggregator modules

Jonathan Gibbons jonathan.gibbons at oracle.com
Tue Jan 2 18:17:09 UTC 2024


On 12/27/23 12:10 PM, Ethan McCue wrote:
> For projects which contain only a module-info that transitively 
> requires other modules - i.e. like java.se <http://java.se> - the 
> javadoc tool will fail.
>
> This presents a problem for publishing those sorts of artifacts to 
> Maven Central, which requires some javadoc jar in order to publish. 
> The only workaround i've found is to go into the build tool, skip 
> normal javadoc generation, and do it through a hacked script.
>
> Is there a workaround I am missing, is this an intentional deficiency, 
> or is this something that should be fixed?

Hi Ethan,

Thanks for the report. This is for sure not an intentional deficiency!

This needs to be investigated and fixed as appropriate.

-- Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/javadoc-dev/attachments/20240102/3ce963a8/attachment-0001.htm>


More information about the javadoc-dev mailing list