<assembly>
    <id>all</id>

    <formats>
        <format>zip</format>
    </formats>
    <includeBaseDirectory>true</includeBaseDirectory>

    <fileSets>
        <fileSet>
            <directory>../</directory>
            <includes>
                <include>License.html</include>
            </includes>
            <outputDirectory></outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../jboss-modules/target</directory>
            <includes>
                <include>*.zip</include>
            </includes>
            <outputDirectory></outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../target/site/apidocs</directory>
            <outputDirectory>docs/javadocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../examples/spring-hibernate-contacts</directory>
            <outputDirectory>examples/spring-hibernate</outputDirectory>
            <excludes>
                <exclude>**/.svn/**</exclude>
                <exclude>**/target/**</exclude>
                <exclude>**/*.iml</exclude>
            </excludes>
        </fileSet>
        <fileSet>
            <directory>../examples/digital-signatures</directory>
            <outputDirectory>examples/digital-signatures</outputDirectory>
            <excludes>
                <exclude>**/.svn/**</exclude>
                <exclude>**/target/**</exclude>
                <exclude>**/*.iml</exclude>
            </excludes>
        </fileSet>
        <fileSet>
            <directory>../examples/smime</directory>
            <outputDirectory>examples/smime</outputDirectory>
            <excludes>
                <exclude>**/.svn/**</exclude>
                <exclude>**/target/**</exclude>
                <exclude>**/*.iml</exclude>
            </excludes>
        </fileSet>
        <fileSet>
            <directory>../examples/ejb-integration</directory>
            <outputDirectory>examples/ejb-integration</outputDirectory>
            <excludes>
                <exclude>**/.svn/**</exclude>
                <exclude>**/target/**</exclude>
                <exclude>**/*.iml</exclude>
            </excludes>
        </fileSet>
        <fileSet>
            <directory>../examples/jaxb-json</directory>
            <outputDirectory>examples/jaxb-json</outputDirectory>
            <excludes>
                <exclude>**/.svn/**</exclude>
                <exclude>**/target/**</exclude>
                <exclude>**/*.iml</exclude>
            </excludes>
        </fileSet>
        <fileSet>
            <directory>../examples/guice-hello</directory>
            <outputDirectory>examples/guice-hello</outputDirectory>
            <excludes>
                <exclude>**/.svn/**</exclude>
                <exclude>**/target/**</exclude>
                <exclude>**/*.iml</exclude>
            </excludes>
        </fileSet>
        <fileSet>
            <directory>../examples/simple</directory>
            <outputDirectory>examples/simple</outputDirectory>
            <excludes>
                <exclude>**/.svn/**</exclude>
                <exclude>**/target/**</exclude>
                <exclude>**/*.iml</exclude>
            </excludes>
        </fileSet>
        <fileSet>
            <directory>../examples/async-job-service</directory>
            <outputDirectory>examples/async-job-service</outputDirectory>
            <excludes>
                <exclude>**/.svn/**</exclude>
                <exclude>**/target/**</exclude>
                <exclude>**/*.iml</exclude>
            </excludes>
        </fileSet>
        <fileSet>
            <directory>../examples/resteasy-springMVC</directory>
            <outputDirectory>examples/resteasy-springMVC</outputDirectory>
            <excludes>
                <exclude>**/.svn/**</exclude>
                <exclude>**/target/**</exclude>
                <exclude>**/*.iml</exclude>
            </excludes>
        </fileSet>
        <fileSet>
            <directory>../examples/api-clients</directory>
            <outputDirectory>examples/api-clients</outputDirectory>
            <excludes>
                <exclude>**/.svn/**</exclude>
                <exclude>**/target/**</exclude>
                <exclude>**/*.iml</exclude>
            </excludes>
        </fileSet>
        <fileSet>
            <directory>../examples/smime</directory>
            <outputDirectory>examples/smime</outputDirectory>
            <excludes>
                <exclude>**/.svn/**</exclude>
                <exclude>**/target/**</exclude>
                <exclude>**/*.iml</exclude>
            </excludes>
        </fileSet>
        <fileSet>
            <directory>../examples/oreilly-workbook</directory>
            <outputDirectory>examples/oreilly-workbook</outputDirectory>
            <excludes>
                <exclude>**/.svn/**</exclude>
                <exclude>**/target/**</exclude>
                <exclude>**/*.iml</exclude>
            </excludes>
        </fileSet>
        <fileSet>
            <directory>../examples/oreilly-workbook-as7</directory>
            <outputDirectory>examples/oreilly-workbook-as7</outputDirectory>
            <excludes>
                <exclude>**/.svn/**</exclude>
                <exclude>**/target/**</exclude>
                <exclude>**/*.iml</exclude>
            </excludes>
        </fileSet>
        <fileSet>
            <directory>../docbook/target/docbook/publish/en-US</directory>
            <outputDirectory>docs/userguide</outputDirectory>
        </fileSet>
    </fileSets>
    <dependencySets>
        <dependencySet>
            <unpack>false</unpack>
            <useTransitiveFiltering>true</useTransitiveFiltering>
            <includes>
                <include>org.jboss.resteasy:resteasy-jaxrs</include>
                <include>org.jboss.resteasy:resteasy-jaxb-provider</include>
                <include>org.jboss.resteasy:resteasy-jettison-provider</include>
                <include>org.jboss.resteasy:resteasy-fastinfoset-provider</include>
                <include>org.jboss.resteasy:resteasy-atom-provider</include>
                <include>org.jboss.resteasy:resteasy-multipart-provider</include>
                <include>org.jboss.resteasy:resteasy-jackson-provider</include>
                <include>org.jboss.resteasy:resteasy-yaml-provider</include>
                <include>org.jboss.resteasy:resteasy-spring</include>
                <include>org.jboss.resteasy:resteasy-guice</include>
                <include>org.jboss.resteasy:async-http-jbossweb</include>
                <include>org.jboss.resteasy:async-http-servlet-3.0</include>
                <include>org.jboss.resteasy:async-http-tomcat6</include>
                <include>org.jboss.resteasy:resteasy-cache-core</include>
                <include>org.jboss.resteasy:resteasy-oauth</include>
                <include>org.jboss.resteasy:resteasy-cdi</include>
                <include>org.jboss.resteasy:resteasy-jsapi</include>
                <include>org.jboss.resteasy:resteasy-links</include>
                <include>org.jboss.resteasy:resteasy-crypto</include>
            </includes>
            <excludes>
                <exclude>org.jboss.resteasy:resteasy-netty</exclude>
                <exclude>org.jboss.resteasy:resteasy-jdk-http</exclude>
                <exclude>org.jboss.resteasy:tjws</exclude>
                <!-- <include>tjws:webserver</include> -->
                <exclude>javax.servlet:servlet-api</exclude>
            </excludes>
            <outputDirectory>lib</outputDirectory>
        </dependencySet>
        <dependencySet>
            <unpack>false</unpack>
            <useTransitiveFiltering>true</useTransitiveFiltering>
            <includes>
                <include>org.jboss.resteasy:resteasy-jdk-http</include>
                <include>org.jboss.resteasy:resteasy-netty</include>
                <include>org.jboss.resteasy:tjws</include>
                <include>javax.servlet:servlet-api</include>
            </includes>
            <outputDirectory>embedded-lib</outputDirectory>
        </dependencySet>
    </dependencySets>
</assembly>
