Adding -Xdoclint:none back and requiring java8 only for the release profile

This commit is contained in:
Clebert Suconic 2015-09-04 09:58:44 -04:00
parent aaf2fc9b14
commit 76288a3ad9
1 changed files with 32 additions and 0 deletions

32
pom.xml
View File

@ -571,6 +571,38 @@
<skipStyleCheck>false</skipStyleCheck>
<skipLicenseCheck>false</skipLicenseCheck>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<id>enforce-java</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<!-- we need java8 when building the release -->
<requireJavaVersion>
<version>1.8.0</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- tests is the profile we use to run the entire testsuite