Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fix allows:
mvn clean package site
to work on JDK 8 and 11.
mvn clean package site -P commons-rng-examples
does not work. Javadoc generation fails for the JPMS modules. The javadoc tool complains about links to a Javadoc API in the unamed modules:
This javadoc issue when building using JDK 11 for a source earlier than 11 is found in a lot of web posts. The fix that works for a source earlier than 9 (i.e. using the
<source>7</source>
tag in the maven javadoc configuration) does not work when the source is 9 and has modules.One simple workaround is to not use JDK 11 to build javadocs.