mirror of
https://github.com/Flowsqy/ShopChest.git
synced 2024-11-30 01:43:22 +01:00
Added -Xdoclint:none parameter to javadoc on java 8 and later
Closes #23
This commit is contained in:
parent
c8f4e8980e
commit
ba4334407e
17
pom.xml
17
pom.xml
@ -17,8 +17,22 @@
|
||||
<maven.compiler.target>1.7</maven.compiler.target>
|
||||
|
||||
<github.global.server>github</github.global.server>
|
||||
|
||||
<javadoc.opts><!-- Only jdk 1.8 and later --></javadoc.opts>
|
||||
</properties>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>doclint-java8</id>
|
||||
<activation>
|
||||
<jdk>[1.8,)</jdk>
|
||||
</activation>
|
||||
<properties>
|
||||
<javadoc.opts>-Xdoclint:none</javadoc.opts>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>spigot-repo</id>
|
||||
@ -66,6 +80,9 @@
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>2.10.4</version>
|
||||
<configuration>
|
||||
<additionalparam>${javadoc.opts}</additionalparam>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
|
Loading…
Reference in New Issue
Block a user