Browse Source

disable doclint for java8

master
Binary Wang 8 years ago
parent
commit
a6fecf5f1f
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      pom.xml

+ 11
- 0
pom.xml View File

@@ -148,6 +148,16 @@
</distributionManagement> </distributionManagement>


<profiles> <profiles>
<profile>
<id>doclint-java8-disable</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<javadoc.opts>-Xdoclint:none</javadoc.opts>
</properties>
</profile>
<profile> <profile>
<id>release</id> <id>release</id>
<build> <build>
@@ -178,6 +188,7 @@
</execution> </execution>
</executions> </executions>
<configuration> <configuration>
<additionalparam>${javadoc.opts}</additionalparam>
<charset>UTF-8</charset> <charset>UTF-8</charset>
<locale>zh_CN</locale> <locale>zh_CN</locale>
</configuration> </configuration>


Loading…
Cancel
Save