<assembly>
  
  <id>adminshell-dist</id>
  
  <formats>
    <format>zip</format>
  </formats>
  
  <includeBaseDirectory>true</includeBaseDirectory>
  <baseDirectory>teiid-adminshell-${project.version}</baseDirectory>

  <moduleSets>
    <moduleSet>
        <includeSubModules>true</includeSubModules>
        <useAllReactorProjects>true</useAllReactorProjects>
               
        <includes>
            <include>org.jboss.teiid:teiid-adminshell</include>
        </includes>
                        
        <binaries>        
          <includeDependencies>true</includeDependencies>
          <unpack>false</unpack>
                                    
          <dependencySets>
            <dependencySet>
              <useProjectArtifact>true</useProjectArtifact>
              <unpack>false</unpack>
              <useTransitiveDependencies>true</useTransitiveDependencies>
            </dependencySet>
          </dependencySets>
          <outputDirectory>lib</outputDirectory>
        </binaries>
      
    </moduleSet>
  </moduleSets>
  
  <fileSets>
      
    <fileSet>
        <directory>target/kits/adminshell</directory>
        <outputDirectory>/</outputDirectory>      
        <includes>
          <include>**/*.sh</include>
        </includes>   
        <fileMode>755</fileMode>      
    </fileSet> 
          
    <fileSet>
        <directory>target/kits/adminshell</directory>
        <outputDirectory>/</outputDirectory>      
        <excludes>
          <exclude>**/*.sh</exclude>
        </excludes>
    </fileSet>      
    
    <fileSet>
      <directory>target</directory>
      <includes>
        <include>teiid-${project.version}-jdbc.jar</include>
      </includes>
      <outputDirectory>lib</outputDirectory>
    </fileSet>
        
  </fileSets>
      
</assembly>
