#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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user