Enable doclint and fail build on javadoc errors

This commit is contained in:
Andreas Dangel 2024-03-07 21:18:46 +01:00
parent 8758dbb85c
commit 1b53d71a19
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3

View File

@ -369,7 +369,8 @@
<version>${javadoc.plugin.version}</version>
<configuration>
<quiet>true</quiet>
<doclint>none</doclint>
<doclint>all</doclint>
<failOnError>true</failOnError>
<!-- exclude any internal package and up to two sub-packages inside -->
<excludePackageNames>*.internal,*.internal.*,*.internal.*.*</excludePackageNames>
<detectOfflineLinks>false</detectOfflineLinks>
@ -1163,7 +1164,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<doclint>all</doclint>
<failOnWarnings>true</failOnWarnings>
</configuration>
</plugin>
</plugins>