The maven-javadoc-plugin on JDK 9
Mark Raynsford
org.openjdk at io7m.com
Sun Nov 19 19:36:11 UTC 2017
'Ello.
Thanks for the detailed response!
On 2017-11-19T10:50:08 -0800
Jonathan Gibbons <jonathan.gibbons at oracle.com> wrote:
>
> There is one other solution ... but it comes more in the "advanced"
> category, but may be reasonable in the context of the Maven plugin.
> You can use
> --patch-module /module-name/=/path/
> to specify the source path for each module. You can give the option
> multiple times, but at most once for any given module.
> You must still also set the module source path, but if you use
> --patch-module to specify the paths for all the modules you are
> interested in, the module source path can just point to an empty directory,
> --module-source-path //path/to/empty/dir/
> In this scenario, the --module-source-path option is just being used as
> a "marker option" to tell javadoc to accept multiple modules,
This one is almost certainly the one we'll go with. It assumes less
about the directory hierarchy than the other options, so it seems the
easiest to fit into the existing system.
--
Mark Raynsford | http://www.io7m.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/javadoc-dev/attachments/20171119/50c13e53/attachment.bin>
More information about the javadoc-dev
mailing list