Skip to content

Commit

Permalink
Fix javadoc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Jun 3, 2024
1 parent e917c8c commit 7f3681b
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions project-keeper-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,17 +98,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<!-- Javadoc causes error "error: package java.util.logging is not visible
import java.util.logging.*;
(package java.util.logging is declared in module java.logging, but module jakarta.json does not read it)". -->
<additionalOptions>
<option>--add-modules</option>
<option>java.logging</option>
<option>--add-reads</option>
<option>jakarta.json=java.logging</option>
</additionalOptions>
<!-- Ignore warning "warning: The code being documented uses modules but the packages defined in https://github.com/exasol/project-keeper/apidocs/ are in the unnamed module." with Java 17-->
<failOnWarnings>false</failOnWarnings>
<!-- Javadoc generation fails with error 'error: module not found: jakarta.xml.bind'.
This option deactivates modules as we don't use modules anyway.
See https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#legacymode -->
<legacyMode>true</legacyMode>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 7f3681b

Please sign in to comment.