Skip to content

Commit a542742

Browse files
committed
[pom] Add java.sql to modules for javadocs
due to known issue with maven plugin incorrectly determining modular usage, let it be modular there so the build works.
1 parent ec9c46b commit a542742

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,17 @@
365365
<siteDirectory>${project.build.directory}/site-src</siteDirectory>
366366
</configuration>
367367
</plugin>
368+
<!-- We are not modular yet but use automatic module names, javadoc plugin has well known incorrect determination of modular, patch it -->
369+
<plugin>
370+
<groupId>org.apache.maven.plugins</groupId>
371+
<artifactId>maven-javadoc-plugin</artifactId>
372+
<configuration>
373+
<additionalOptions combine.children="append">
374+
<option>--add-modules</option>
375+
<option>java.sql</option>
376+
</additionalOptions>
377+
</configuration>
378+
</plugin>
368379
</plugins>
369380

370381
<resources>

0 commit comments

Comments
 (0)