Skip to content

Commit

Permalink
Skip Javadoc on Java 11+ to workaround https://bugs.openjdk.java.net/…
Browse files Browse the repository at this point in the history
…browse/JDK-8212233 which causes Javadoc to fail with "Exit code: 1 - javadoc: error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module."
  • Loading branch information
PascalSchumacher committed Feb 8, 2019
1 parent a2735fe commit a348c98
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -431,12 +431,14 @@
</properties>
</profile>
<profile>
<id>java12+</id>
<id>java11+</id>
<activation>
<jdk>[12,)</jdk>
<jdk>[11,)</jdk>
</activation>
<properties>
<!-- currently fails with "javadoc: error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module." -->
<!-- Workaround for https://bugs.openjdk.java.net/browse/JDK-8212233
which causes javadoc to fail with "javadoc: error - The code being documented uses modules
but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module." -->
<maven.javadoc.skip>true</maven.javadoc.skip>
</properties>
</profile>
Expand Down

0 comments on commit a348c98

Please sign in to comment.