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> <target>
<zip <zip
destfile="${project.build.directory}/${project.artifactId}-${project.version}-docs.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> </zip>
</target> </target>
</configuration> </configuration>
@ -771,6 +780,7 @@
</executions> </executions>
<configuration> <configuration>
<sourceDirectory>${refdocs.build.directory}</sourceDirectory> <sourceDirectory>${refdocs.build.directory}</sourceDirectory>
<sourceDocumentName>index.adoc</sourceDocumentName>
<attributes> <attributes>
<version-type>${version-type}</version-type> <version-type>${version-type}</version-type>
<version>${project.version}</version> <version>${project.version}</version>

Loading…
Cancel
Save