Skip to content
Permalink
Browse files
Avoid javadoc failures on JDK8 and upper
  • Loading branch information
jeanouii committed Feb 24, 2022
1 parent fc88139 commit d16060c45566ec89961c6fd7872a324c99263657
Showing 1 changed file with 29 additions and 0 deletions.
29 pom.xml
@@ -116,9 +116,38 @@
</dependencies>
</dependencyManagement>

<profiles>
<profile>
<id>java8-doclint-disabled</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>

<properties>
<additionalparam>-Xdoclint:none</additionalparam>
<javadoc.opts>-Xdoclint:none</javadoc.opts>
</properties>
</profile>
</profiles>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<additionalparam>${javadoc.opts}</additionalparam>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>

0 comments on commit d16060c

Please sign in to comment.