<?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>release</id>
    <formats>
        <format>zip</format>
    </formats>
    <includeBaseDirectory>false</includeBaseDirectory>
    <fileSets>
        <fileSet>
            <outputDirectory>dependency-check/bin</outputDirectory>
            <directory>${project.build.directory}/release/bin</directory>
            <includes>
                <include>*.sh</include>
            </includes>
            <fileMode>0755</fileMode>
        </fileSet>
        <fileSet>
            <outputDirectory>dependency-check/bin</outputDirectory>
            <directory>${project.build.directory}/release/bin</directory>
            <includes>
                <include>*.bat</include>
            </includes>
        </fileSet>
        <fileSet>
            <outputDirectory>dependency-check/repo</outputDirectory>
            <directory>${project.build.directory}/release/repo</directory>
        </fileSet>
        <fileSet>
            <outputDirectory>dependency-check</outputDirectory>
            <includes>
                <include>LICENSE*</include>
                <include>NOTICE*</include>
            </includes>
        </fileSet>
        <fileSet>
            <outputDirectory>dependency-check/licenses</outputDirectory>
            <directory>${basedir}/src/main/resources/META-INF/licenses</directory>
        </fileSet>
        <fileSet>
            <outputDirectory>dependency-check/licenses</outputDirectory>
            <directory>${basedir}/../dependency-check-core/src/main/resources/META-INF/licenses</directory>
        </fileSet>
        <fileSet>
            <outputDirectory>dependency-check</outputDirectory>
            <directory>${basedir}</directory>
            <includes>
                <include>README.md</include>
                <include>LICENSE.txt</include>
            </includes>
        </fileSet>
    </fileSets>
    <!--
            <fileSets>
            <fileSet>
                <outputDirectory>/</outputDirectory>
                <directory>${project.build.directory}</directory>
                <includes>
                    <include>dependency-check*.jar</include>
                </includes>
            </fileSet>
        </fileSets>
        <dependencySets>
            <dependencySet>
                <outputDirectory>/lib</outputDirectory>
                <scope>runtime</scope>
            </dependencySet>
        </dependencySets>
    -->
</assembly>