Skip to content

Commit 24cc5bd

Browse files
Achim Brandtgschwab
authored andcommitted
Xdoclint fix for java 1.7
1 parent 469712d commit 24cc5bd

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

pom.xml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,18 @@
5454
</repository>
5555
</distributionManagement>
5656

57+
<profiles>
58+
<profile>
59+
<id>doclint-java8-disable</id>
60+
<activation>
61+
<jdk>[1.8,)</jdk>
62+
</activation>
63+
<properties>
64+
<javadoc.opts>-Xdoclint:none</javadoc.opts>
65+
</properties>
66+
</profile>
67+
</profiles>
68+
5769
<build>
5870
<plugins>
5971
<plugin>
@@ -138,7 +150,7 @@
138150
<goal>jar</goal>
139151
</goals>
140152
<configuration>
141-
<additionalparam>-Xdoclint:none</additionalparam>
153+
<additionalparam>${javadoc.opts}</additionalparam>
142154
</configuration>
143155
</execution>
144156
</executions>
@@ -257,4 +269,5 @@
257269
<name>ArangoDB GmbH</name>
258270
<url>https://www.arangodb.com</url>
259271
</organization>
272+
260273
</project>

0 commit comments

Comments
 (0)