<!--This script builds a zip for Teiid Server Installation -->
<assembly>
  
  <id>jboss-as7-dist</id>
  
  <formats>
    <format>zip</format>
  </formats>
  
  <includeBaseDirectory>false</includeBaseDirectory>
  <baseDirectory>modules</baseDirectory>

 <fileSets>
    <fileSet>
        <directory>kits/jboss-as7/modules</directory>
        <outputDirectory>${jbossas-module-root}</outputDirectory>     
        <filtered>true</filtered> 
        <includes>
          <include>**/*</include>
        </includes>   
    </fileSet>    
  </fileSets>
  
  <dependencySets>
    <dependencySet>
      <outputDirectory>${jbossas-module-root}/org/jboss/teiid/translator/excel/main</outputDirectory>
      <useTransitiveDependencies>false</useTransitiveDependencies>
      <includes>
        <include>org.jboss.teiid.connectors:translator-excel</include>
      </includes>
      <useProjectArtifact>true</useProjectArtifact>
    </dependencySet>
    
     <dependencySet>
         <outputDirectory>${jbossas-module-root}/org/apache/poi/main</outputDirectory>
         <includes>
             <include>org.apache.poi:poi</include>
             <include>org.apache.poi:poi-ooxml</include>
             <include>org.apache.poi:poi-ooxml-schemas</include>
         </includes>
         <useProjectArtifact>false</useProjectArtifact>
         <unpack>false</unpack>
         <useTransitiveDependencies>true</useTransitiveDependencies>
     </dependencySet>
     
     <dependencySet>
         <outputDirectory>${jbossas-module-root}/dom4j/main</outputDirectory>
         <includes>
             <include>dom4j:dom4j</include>
         </includes>
         <useProjectArtifact>false</useProjectArtifact>
         <unpack>false</unpack>
         <useTransitiveDependencies>true</useTransitiveDependencies>
     </dependencySet>    
     
     <dependencySet>
         <outputDirectory>${jbossas-module-root}/org/apache/xmlbeans/main</outputDirectory>
         <includes>
             <include>org.apache.xmlbeans:xmlbeans</include>
         </includes>
         <useProjectArtifact>false</useProjectArtifact>
         <unpack>false</unpack>
         <useTransitiveDependencies>true</useTransitiveDependencies>
     </dependencySet>       
    
  </dependencySets>  
  
</assembly>
