Issue #1383 - fixing javadoc w/script issue in java 8u121+

This commit is contained in:
Joakim Erdfelt 2017-03-17 09:03:38 -07:00
parent 44f9766ddc
commit 97f488dea4
1 changed files with 15 additions and 0 deletions

15
pom.xml
View File

@ -367,6 +367,9 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<configuration>
<charset>UTF-8</charset>
<docencoding>UTF-8</docencoding>
<encoding>UTF-8</encoding>
<docfilessubdirs>true</docfilessubdirs>
<detectLinks>false</detectLinks>
<detectJavaApiLink>true</detectJavaApiLink>
@ -1191,6 +1194,18 @@
<properties>
<alpn.version>8.1.11.v20170118</alpn.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<!-- Required for Java 8u121 or later -->
<additionalparam>&#45;&#45;allow-script-in-comments</additionalparam>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>