Skip to content

Commit

Permalink
Force classpath mode in Javadoc plugin.
Browse files Browse the repository at this point in the history
maven-javadoc-plugin enables modulepath when running on Java 9+. That causes issues with JAR files that ship split packages. We now override the Java version property to pretend we must remain on classpath mode to prevent that dependencies with split-packages break the Javadoc build.

See #1537
  • Loading branch information
mp911de committed Sep 29, 2021
1 parent b074d24 commit 4c30d24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1271,6 +1271,7 @@
<header>${project.name}</header>
<source>${source.level}</source>
<quiet>true</quiet>
<javadocVersion>1.8</javadocVersion>
<!-- copies doc-files subdirectory which contains image resources -->
<docfilessubdirs>true</docfilessubdirs>
<doclint>html,reference</doclint>
Expand Down

0 comments on commit 4c30d24

Please sign in to comment.