File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -514,6 +514,31 @@ under the License.
514514 </activation >
515515 </profile >
516516
517+ <profile >
518+ <!-- JDK 9+ supports the ignore-source-errors flag for javadoc -->
519+ <id >javadoc-jdk9+</id >
520+ <activation >
521+ <jdk >[9,)</jdk >
522+ </activation >
523+ <build >
524+ <pluginManagement >
525+ <plugins >
526+ <plugin >
527+ <groupId >org.apache.maven.plugins</groupId >
528+ <artifactId >maven-javadoc-plugin</artifactId >
529+ <configuration >
530+ <release >8</release >
531+ <additionalJOptions combine.children=" append" >
532+ <!-- Suppress the error that is accepted by JDK 8 but not by JDK 11. -->
533+ <additionalJOption >--ignore-source-errors</additionalJOption >
534+ </additionalJOptions >
535+ </configuration >
536+ </plugin >
537+ </plugins >
538+ </pluginManagement >
539+ </build >
540+ </profile >
541+
517542 <profile >
518543 <id >fast-build</id >
519544 <properties >
@@ -1046,12 +1071,10 @@ under the License.
10461071 <configuration >
10471072 <quiet >true</quiet >
10481073 <detectOfflineLinks >false</detectOfflineLinks >
1049- <release >8</release >
1074+ <source >8</source >
10501075 <failOnError >false</failOnError >
10511076 <additionalJOptions >
10521077 <additionalJOption >-Xdoclint:none</additionalJOption >
1053- <!-- Suppress the error that is accepted by JDK 8 but not by JDK 11. -->
1054- <additionalJOption >--ignore-source-errors</additionalJOption >
10551078 </additionalJOptions >
10561079 </configuration >
10571080 </plugin >
You can’t perform that action at this time.
0 commit comments