<!--This script builds a zip for Embedded Installation -->
<assembly>

    <id>embedded-dist</id>

    <formats>
        <format>zip</format>
    </formats>

    <includeBaseDirectory>false</includeBaseDirectory>

    <fileSets>
        <fileSet>
            <directory>kits/embedded</directory>
            <outputDirectory>/</outputDirectory>
            <filtered>true</filtered>
            <includes>
                <include>**/*</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.build.directory}/rar-unpack</directory>
            <outputDirectory>optional/webservice</outputDirectory>
            <includes>
                <include>**/cxf-*</include>
                <include>**/jaxb-*</include>
                <include>**/jsr311-*</include>
                <include>**/stax2-*</include>
                <include>**/woodstox-*</include>
                <include>**/wsdl4j-*</include>
                <include>**/neethi-*</include>
                <include>**/xmlschema-*</include>
                <include>**/spring-core-*</include>
                <include>**/spring-context-*</include>
                <include>**/spring-beans-*</include>
		<include>**/javax.ws.rs-api-*</include>
            </includes>           
        </fileSet>        
    </fileSets>
    
    <files>
        <file>
            <source>${project.build.directory}/${project.artifactId}-${project.version}-lib.jar</source>
            <outputDirectory>optional/webservice</outputDirectory>
        </file>
    </files>

</assembly>
