<!--This script builds a kit for the ctc-client -->
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">

  
  <id>kit</id>
  
  <formats>
	<format>zip</format>
  </formats>

  <includeBaseDirectory>false</includeBaseDirectory>
  <baseDirectory>server</baseDirectory>
    
  <dependencySets>

    <dependencySet>
	  <outputDirectory>/ant</outputDirectory>

      <useProjectArtifact>false</useProjectArtifact>      
      <useTransitiveDependencies>true</useTransitiveDependencies>
      <useTransitiveFiltering>false</useTransitiveFiltering>
      <unpack>false</unpack>

       <includes>
		<include>org.apache.ant:ant</include>
		<include>org.apache.ant:ant-launcher</include>
      	<include>ant-contrib:cpptasks</include>
		<include>ant-contrib:ant-contrib</include>
		<include>xerces:xercesImpl</include>
      </includes>

    </dependencySet>


    <dependencySet>
	  <outputDirectory>/lib</outputDirectory>

      <useProjectArtifact>false</useProjectArtifact>      
      <useTransitiveDependencies>true</useTransitiveDependencies>
      <useTransitiveFiltering>false</useTransitiveFiltering>
      <unpack>false</unpack>

       <includes>
      	<include>commons-collections:commons-collections</include>
		<include>org.slf4j:slf4j-api</include>
		<include>org.jboss.teiid:test-integration-common</include>
		<include>org.jboss.teiid:teiid-common-core</include>
		<include>org.jboss.teiid:teiid-adminshell</include>
		<include>org.jboss.teiid:teiid-engine</include>
		<include>org.jboss.teiid:teiid-client</include>
		<include>log4j:log4j</include>
		<include>junit:junit</include>
		<include>jdom:jdom</include>
      </includes>

    </dependencySet>
  </dependencySets>

  <fileSets>

    <fileSet>
        <directory>install_scripts</directory>
        <outputDirectory>.</outputDirectory>      
        <includes>
          <include>**/*.sh</include>
        </includes>   
        <fileMode>755</fileMode>      
    </fileSet> 
          
    <fileSet>
        <directory>install_scripts</directory>
        <outputDirectory>.</outputDirectory>      
        <excludes>
          <exclude>**/*.sh</exclude>
        </excludes>      
    </fileSet> 



    <fileSet>
      <directory>src/main/resources/ctc_tests</directory>
      <outputDirectory>.</outputDirectory>  
      <includes>
        <include>runclienttest.sh</include>
      </includes>
  
	  <fileMode>755</fileMode>     
    </fileSet>

    <fileSet>
      <directory>src/main/resources</directory>
 		<outputDirectory>resources</outputDirectory>

    </fileSet>

    <fileSet>
      <directory>${project.build.directory}</directory>
 		<outputDirectory>lib</outputDirectory>
      <includes>
        <include>*.jar</include>
      </includes>
    </fileSet>

  </fileSets>



</assembly>