Skip to content

Commit

Permalink
[pom] Add java.sql to modules for javadocs
Browse files Browse the repository at this point in the history
due to known issue with maven plugin incorrectly determining modular usage, let it be modular there so the build works.
  • Loading branch information
hazendaz committed Dec 9, 2022
1 parent ec9c46b commit a542742
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,17 @@
<siteDirectory>${project.build.directory}/site-src</siteDirectory>
</configuration>
</plugin>
<!-- We are not modular yet but use automatic module names, javadoc plugin has well known incorrect determination of modular, patch it -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalOptions combine.children="append">
<option>--add-modules</option>
<option>java.sql</option>
</additionalOptions>
</configuration>
</plugin>
</plugins>

<resources>
Expand Down

0 comments on commit a542742

Please sign in to comment.