<?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 http://maven.apache.org/xsd/assembly-1.1.2.xsd">

  <id>zip-with-generated-docs</id>
  <formats>
    <format>zip</format>
  </formats>

  <includeBaseDirectory>false</includeBaseDirectory>
  <fileSets>
    <fileSet>
      <directory>${project.build.directory}/generated-docs/html_single/</directory>
      <outputDirectory>html_single/</outputDirectory>
    </fileSet>
  </fileSets>
  <files>
    <file>
      <!-- Rename PDf file name -->
      <source>${project.build.directory}/generated-docs/pdf/index.pdf</source>
      <outputDirectory>pdf/</outputDirectory>
      <destName>optaweb-employee-rostering-docs.pdf</destName>
    </file>
  </files>
  
</assembly>
