<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1 http://maven.apache.org/xsd/assembly-1.1.1.xsd">
    <id>dist</id>
    <formats>
        <format>zip</format>
        <format>tar.gz</format>
    </formats>
    <includeBaseDirectory>false</includeBaseDirectory>
    <includeSiteDirectory>true</includeSiteDirectory>
    <fileSets>
        <fileSet>
            <includes>
                <include>LICENSE*</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>target</directory>
            <outputDirectory/>
            <includes>
                <include>*.jar</include>
            </includes>
            <excludes>
                <exclude>*-sources.jar</exclude>
                <exclude>*-javadoc.jar</exclude>
            </excludes>
        </fileSet>
        <fileSet>
            <directory>src</directory>
            <outputDirectory>src</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>documentation</directory>
            <outputDirectory>documentation</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>configuration</directory>
            <outputDirectory>configuration</outputDirectory>
            <includes>
                <include>esapi/**/*</include>
                <include>log4j.dtd</include>
                <include>log4j.xml</include>
                <include>properties/**/*</include>
            </includes>
        </fileSet>
    </fileSets>
    <dependencySets>
        <dependencySet>
            <!-- Some provided deps are being brought in, this may be related: http://jira.codehaus.org/browse/MASSEMBLY-324 -->
            <scope>compile</scope>
            <outputDirectory>libs</outputDirectory>
            <useProjectArtifact>false</useProjectArtifact>
        </dependencySet>
    </dependencySets>
</assembly>
