<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.1 https://maven.apache.org/xsd/assembly-2.1.1.xsd">
    <id>release</id>
    <formats>
        <format>tar.gz</format>
        <format>dir</format>
    </formats>
    <fileSets>
        <fileSet>
            <directory>target</directory>
            <includes>
                <include>callcenter-manager.jar</include>
            </includes>
            <outputDirectory>/lib</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>target/classes/bin</directory>
            <includes>
                <include>*.sh</include>
            </includes>
            <lineEnding>unix</lineEnding>
            <fileMode>0755</fileMode>
            <outputDirectory>/bin</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>target/classes/bin</directory>
            <includes>
                <include>start-stop-daemon</include>
            </includes>
            <fileMode>0755</fileMode>
            <outputDirectory>/bin</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>target/classes</directory>
            <includes>
                <include>*.yml</include>
                <include>*.xml</include>
                <include>*.properties</include>
            </includes>
            <outputDirectory>/conf</outputDirectory>
        </fileSet>
        <fileSet>
            <excludes>
                <exclude>**/*</exclude>
            </excludes>
            <outputDirectory>/log</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../sql</directory>
            <outputDirectory>/sql</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../doc</directory>
            <outputDirectory>/doc</outputDirectory>
        </fileSet>
        <fileSet>
            <excludes>
                <exclude>**/*</exclude>
            </excludes>
            <outputDirectory>/pid</outputDirectory>
        </fileSet>
        <fileSet>
            <excludes>
                <exclude>**/*</exclude>
            </excludes>
            <outputDirectory>/tmp</outputDirectory>
        </fileSet>
    </fileSets>
</assembly>