Skip javadoc on Java 11 to workaround https://bugs.openjdk.java.net/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/7/docs/api/ are in the unnamed module."
This commit is contained in:
parent
43badd4dfa
commit
17bbe77262
13
pom.xml
13
pom.xml
|
@ -902,6 +902,19 @@
|
|||
</properties>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>java11</id>
|
||||
<activation>
|
||||
<jdk>11</jdk>
|
||||
</activation>
|
||||
<properties>
|
||||
<!-- workaround for https://bugs.openjdk.java.net/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/7/docs/api/ are in the unnamed module." -->
|
||||
<maven.javadoc.skip>true</maven.javadoc.skip>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>benchmark</id>
|
||||
<properties>
|
||||
|
|
Loading…
Reference in New Issue