Use the latest version of spring-doc-resources. Add epub output. Put each type of output into its own directory in the zip file. (Previously, the assembly plugin picked up only the HTML output.)
50 lines
1.7 KiB
XML
50 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 https://maven.apache.org/xsd/assembly-1.1.2.xsd">
|
|
<id>docs</id>
|
|
<formats>
|
|
<format>dir</format>
|
|
<format>zip</format>
|
|
</formats>
|
|
<includeBaseDirectory>false</includeBaseDirectory>
|
|
<fileSets>
|
|
<fileSet>
|
|
<!--
|
|
Adds reference manual (html) to the distribution archive
|
|
under the 'docs/reference' directory see pom.xml 'maven-javadoc-plugin' declaration.
|
|
-->
|
|
<directory>target/site/reference/html</directory>
|
|
<outputDirectory>reference/html</outputDirectory>
|
|
</fileSet>
|
|
<fileSet>
|
|
<!--
|
|
Adds reference manual (pdf) to the distribution archive
|
|
under the 'docs/reference' directory see pom.xml 'maven-javadoc-plugin' declaration.
|
|
-->
|
|
<directory>target/site/reference/pdf</directory>
|
|
<includes>
|
|
<include>index.pdf</include>
|
|
</includes>
|
|
<outputDirectory>reference/pdf</outputDirectory>
|
|
</fileSet>
|
|
<fileSet>
|
|
<!--
|
|
Adds reference manual (epub) to the distribution archive
|
|
under the 'docs/reference' directory see pom.xml 'maven-javadoc-plugin' declaration.
|
|
-->
|
|
<directory>target/site/reference/epub</directory>
|
|
<includes>
|
|
<include>index.epub</include>
|
|
</includes>
|
|
<outputDirectory>reference/epub</outputDirectory>
|
|
</fileSet>
|
|
<fileSet>
|
|
<!--
|
|
Adds javadoc html to the distribution archive under the 'docs/javadoc'
|
|
directory see pom.xml 'maven-javadoc-plugin' declaration.
|
|
-->
|
|
<directory>target/site/apidocs</directory>
|
|
<outputDirectory>api</outputDirectory>
|
|
</fileSet>
|
|
</fileSets>
|
|
</assembly>
|