Skip to content

Commit c993abc

Browse files
committed
[build] disable javadoc lint on Java 8
1 parent 754e7af commit c993abc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,9 @@
348348
<goals>
349349
<goal>jar</goal>
350350
</goals>
351+
<configuration>
352+
<additionalparam>${javadoc.opts}</additionalparam>
353+
</configuration>
351354
</execution>
352355
</executions>
353356
</plugin>
@@ -368,6 +371,15 @@
368371
</plugins>
369372
</build>
370373
</profile>
374+
<profile>
375+
<id>java8-disable-doclint</id>
376+
<activation>
377+
<jdk>[1.8,)</jdk>
378+
</activation>
379+
<properties>
380+
<javadoc.opts>-Xdoclint:none</javadoc.opts>
381+
</properties>
382+
</profile>
371383
</profiles>
372384

373385
</project>

0 commit comments

Comments
 (0)