<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd">
    <id>byteman</id>
    <formats>
        <format>jar</format>
    </formats>
    <includeBaseDirectory>false</includeBaseDirectory>
    <moduleSets>
        <moduleSet>
            <useAllReactorProjects>true</useAllReactorProjects>
            <includes>
                <include>org.jboss.byteman:byteman-agent</include>
            </includes>
            <binaries>
                <unpack>true</unpack>
                <includeDependencies>false</includeDependencies>
            </binaries>
        </moduleSet>
        <moduleSet>
            <useAllReactorProjects>true</useAllReactorProjects>
            <includes>
                <include>org.jboss.byteman:byteman-jigsaw</include>
            </includes>
            <binaries>
                <!--
                <outputDirectory>META-INF/versions/9</outputDirectory>
                -->
                <unpack>true</unpack>
                <includeDependencies>false</includeDependencies>
                <unpackOptions>
                    <excludes>
                        <exclude>/META-INF/**</exclude>
                    </excludes>
                </unpackOptions>
            </binaries>
        </moduleSet>
        <moduleSet>
            <useAllReactorProjects>true</useAllReactorProjects>
            <includes>
                <include>org.jboss.byteman:byteman-layer</include>
            </includes>
            <binaries>
                <!--
                <outputDirectory>META-INF/versions/9</outputDirectory>
                -->
                <unpack>true</unpack>
                <includeDependencies>false</includeDependencies>
                <unpackOptions>
                    <excludes>
                        <exclude>/META-INF/**</exclude>
                    </excludes>
                </unpackOptions>
            </binaries>
        </moduleSet>
    </moduleSets>
</assembly>
