Skip to content

Commit 5081a15

Browse files
mp911deodrotbohm
authored andcommitted
Force classpath mode in Javadoc plugin.
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
1 parent 10b50a6 commit 5081a15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

parent/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,6 +1272,7 @@
12721272
<header>${project.name}</header>
12731273
<source>${source.level}</source>
12741274
<quiet>true</quiet>
1275+
<javadocVersion>1.8</javadocVersion>
12751276
<!-- copies doc-files subdirectory which contains image resources -->
12761277
<docfilessubdirs>true</docfilessubdirs>
12771278
<doclint>html,reference</doclint>

0 commit comments

Comments
 (0)