#593 - Improve declaration of Javadoc plugin to avoid failures on older Maven versions.

Older Maven versions (tested on 3.0.3) seem to reject the shorthand notation we use in the <additionalJOptions /> element of the Javadoc plugin declaration. More recent ones automatically interpolate a single textual element contained in the element, while older ones require the usage of a nested <additionalJOption /> even for single values. We now use the more explicit variant.

Related tickets: #591.
This commit is contained in:
Oliver Gierke
2018-07-10 10:13:28 +02:00
parent f2b9334663
commit 869c22d2d6

View File

@@ -943,7 +943,9 @@
<stylesheetfile>${shared.resources}/javadoc/spring-javadoc.css</stylesheetfile>
<!-- copies doc-files subdirectory which contains image resources -->
<docfilessubdirs>true</docfilessubdirs>
<additionalJOptions>-Xdoclint:none</additionalJOptions>
<additionalJOptions>
<additionalJOption>-Xdoclint:none</additionalJOption>
</additionalJOptions>
<links>
<link>https://docs.spring.io/spring/docs/4.3.x/javadoc-api/</link>
<link>https://docs.spring.io/spring-data/commons/docs/current/api/</link>