Skip to content

Commit a6fecf5

Browse files
committed
disable doclint for java8
1 parent 1b4293c commit a6fecf5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,16 @@
148148
</distributionManagement>
149149

150150
<profiles>
151+
<profile>
152+
<id>doclint-java8-disable</id>
153+
<activation>
154+
<jdk>[1.8,)</jdk>
155+
</activation>
156+
<properties>
157+
<javadoc.opts>-Xdoclint:none</javadoc.opts>
158+
</properties>
159+
</profile>
160+
151161
<profile>
152162
<id>release</id>
153163
<build>
@@ -178,6 +188,7 @@
178188
</execution>
179189
</executions>
180190
<configuration>
191+
<additionalparam>${javadoc.opts}</additionalparam>
181192
<charset>UTF-8</charset>
182193
<locale>zh_CN</locale>
183194
</configuration>

0 commit comments

Comments
 (0)