Fix zip structure of Actuator documentation

Closes gh-16326
pull/16419/head
Stephane Nicoll 6 years ago
parent 9e7d922555
commit 8c8a088c20

@ -724,7 +724,16 @@
<target>
<zip
destfile="${project.build.directory}/${project.artifactId}-${project.version}-docs.zip">
<fileset dir="${project.build.directory}/generated-docs" />
<zipfileset
dir="${project.build.directory}/generated-docs/reference/html"
prefix="html" />
<mappedresources>
<fileset
dir="${project.build.directory}/generated-docs/reference/pdf"
includes="index.pdf" />
<globmapper from="index.pdf"
to="pdf/spring-boot-actuator-web-api.pdf" />
</mappedresources>
</zip>
</target>
</configuration>
@ -771,6 +780,7 @@
</executions>
<configuration>
<sourceDirectory>${refdocs.build.directory}</sourceDirectory>
<sourceDocumentName>index.adoc</sourceDocumentName>
<attributes>
<version-type>${version-type}</version-type>
<version>${project.version}</version>

Loading…
Cancel
Save