#591 - 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.
This commit is contained in:
Oliver Gierke
2018-07-10 10:03:37 +02:00
parent d61bff0190
commit 920b6a1483

View File

@@ -996,7 +996,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>
<sourcepath>target/generated-sources/delombok</sourcepath>
<links>
<link>https://docs.spring.io/spring/docs/5.0.x/javadoc-api/</link>