We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79e4024 commit 8939472Copy full SHA for 8939472
pom.xml
@@ -102,6 +102,9 @@
102
<groupId>org.apache.maven.plugins</groupId>
103
<artifactId>maven-javadoc-plugin</artifactId>
104
<version>2.7</version>
105
+ <configuration>
106
+ <additionalparam>${javadoc.opts}</additionalparam>
107
+ </configuration>
108
<executions>
109
<execution>
110
<id>attach-javadocs</id>
@@ -134,4 +137,16 @@
134
137
</plugin>
135
138
</plugins>
136
139
</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
+
152
</project>
0 commit comments