Only set xlintdoc option on JDK8

This commit is contained in:
Martyn Taylor 2015-02-19 13:59:37 +00:00
parent e385ab0a58
commit 3f8ae37150
1 changed files with 13 additions and 1 deletions

14
pom.xml
View File

@ -77,7 +77,6 @@
<skipRestTests>true</skipRestTests>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<additionalparam>-Xdoclint:none</additionalparam>
<!--
@ -618,6 +617,15 @@
<skipTests>true</skipTests>
</properties>
</profile>
<profile>
<id>jdk8</id>
<activation>
<jdk>1.7</jdk>
</activation>
<properties>
<javadoc.opts>-Xdoclint:none</javadoc.opts>
</properties>
</profile>
</profiles>
<build>
@ -787,6 +795,9 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalparam>${javadoc.opts}</additionalparam>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@ -973,6 +984,7 @@
<aggregate>true</aggregate>
<excludePackageNames>com.restfully.*:org.jboss.resteasy.examples.*:org.jboss.resteasy.tests.*
</excludePackageNames>
<additionalparam>${javadoc.opts}</additionalparam>
</configuration>
</plugin>
<plugin>