Skip to content

Commit 29c082c

Browse files
author
Lars Wander
committed
Disable doclint when building with java8
The generated javadoc comments in the `models` packages contain several `<` characters which the java8 doclint plugin rejects. Note - this means if you build with java8 you will _not_ have javadocs. Another solution would be to fix the stems for the comments in that package, but I'm not sure how to go about that.
1 parent ff1562b commit 29c082c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

kubernetes/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,15 @@
166166
</plugins>
167167
</build>
168168
</profile>
169+
<profile>
170+
<id>disable-java8-doclint</id>
171+
<activation>
172+
<jdk>[1.8,)</jdk>
173+
</activation>
174+
<properties>
175+
<additionalparam>-Xdoclint:none</additionalparam>
176+
</properties>
177+
</profile>
169178
</profiles>
170179

171180
<dependencies>

0 commit comments

Comments
 (0)