Skip to content

Commit 8939472

Browse files
committed
disabling doclint when using java 8
1 parent 79e4024 commit 8939472

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@
102102
<groupId>org.apache.maven.plugins</groupId>
103103
<artifactId>maven-javadoc-plugin</artifactId>
104104
<version>2.7</version>
105+
<configuration>
106+
<additionalparam>${javadoc.opts}</additionalparam>
107+
</configuration>
105108
<executions>
106109
<execution>
107110
<id>attach-javadocs</id>
@@ -134,4 +137,16 @@
134137
</plugin>
135138
</plugins>
136139
</build>
140+
<profiles>
141+
<profile>
142+
<id>doclint-java8-disable</id>
143+
<activation>
144+
<jdk>[1.8,)</jdk>
145+
</activation>
146+
<properties>
147+
<javadoc.opts>-Xdoclint:none</javadoc.opts>
148+
</properties>
149+
</profile>
150+
</profiles>
151+
137152
</project>

0 commit comments

Comments
 (0)