Skip to content

Commit

Permalink
Add workaround for bug JDK-8212233: javadoc fails on jdk12 with "The …
Browse files Browse the repository at this point in the history
…code being documented uses modules but the packages defined in $URL are in the unnamed module."
  • Loading branch information
emcrisostomo committed Oct 23, 2019
1 parent 4e4ec2a commit 4fa0545
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,15 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.1</version>
<!--
This plugin chokes on self-closing tags, which are
recreated automatically every time IDEA reformats the code.
javadoc fails on jdk12 with "The code being documented uses modules but the packages defined
in $URL are in the unnamed module."
See https://bugs.openjdk.java.net/browse/JDK-8212233
-->
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
<source>8</source>
</configuration>
<version>3.1.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
Expand Down

0 comments on commit 4fa0545

Please sign in to comment.