<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 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
    <id>asciidoc</id>
    <formats>
        <format>zip</format>
    </formats>
    <fileSets>
        <fileSet>
            <directory>${project.build.directory}</directory>
            <outputDirectory>/</outputDirectory>
            <includes>
                <include>generated-guides/**</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.basedir}/server</directory>
            <outputDirectory>/generated-guides/server/</outputDirectory>
            <includes>
                <include>pinned-guides</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.basedir}/getting-started</directory>
            <outputDirectory>/generated-guides/getting-started/</outputDirectory>
            <includes>
                <include>pinned-guides</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.basedir}/operator</directory>
            <outputDirectory>/generated-guides/operator/</outputDirectory>
            <includes>
                <include>pinned-guides</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.basedir}/high-availability</directory>
            <outputDirectory>/generated-guides/high-availability/</outputDirectory>
            <includes>
                <include>pinned-guides</include>
            </includes>
        </fileSet>
    </fileSets>
</assembly>
