Skip to content

Commit

Permalink
Fix the javadoc plugin again b/c of problems caused by Lombok in parent
Browse files Browse the repository at this point in the history
* Disable some doclint checks
* Customize the sourcePath
  • Loading branch information
sleberknight committed Nov 8, 2023
1 parent 5d0cdad commit 1c64deb
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,9 @@
<!--
NOTE:
Override the javadoc plugin from kiwi-parent, otherwise javadoc will fail because the generated
classes won't be found. And, since this project does not use Lombok, don't include it in the sourcePath
used for javadocs.
classes won't be found. For now, disable some doclint checks, and customize the source path to
include generated annotations, cxf-generated classes, and classes in delombok (which will still
exist because of how the parent POM still runs delombok)
-->
<profiles>
<profile>
Expand All @@ -160,8 +161,13 @@
</execution>
</executions>
<configuration>
<!-- TODO: fix these and then re-instate the checks -->
<doclint>all,-missing,-reference</doclint>

<sourcepath>
${project.build.sourceDirectory}:${project.build.directory}/generated-sources/annotations
${project.build.sourceDirectory}:${project.build.directory}/generated-sources/annotations:
${project.build.sourceDirectory}:${project.build.directory}/generated-sources/cxf:
${project.build.sourceDirectory}:${project.build.directory}/generated-sources/delombok
</sourcepath>

<!-- Make JavaDoc understand the "new" tags introduced in Java 8 (!) -->
Expand Down

0 comments on commit 1c64deb

Please sign in to comment.