Skip to content

Commit

Permalink
Fix javadoc when releasing with java11
Browse files Browse the repository at this point in the history
Due to changes the release has to be done with java 11.
This now failed during javadoc generation, with e.g.
```
error: package sun.nio.ch is not visible
```
  • Loading branch information
magro committed Jul 10, 2020
1 parent 5723ffe commit d7a6188
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@
<configuration>
<!-- Required for java8, so that javadoc errors don't fail the build. -->
<additionalparam>-Xdoclint:none</additionalparam>
<!-- Required for build with java11, to prevent "error: package sun.nio.ch is not visible" failing javadoc -->
<source>8</source>
</configuration>
</plugin>

Expand Down

0 comments on commit d7a6188

Please sign in to comment.