<assembly>
  
  <id>wildfly-dist</id>
  
  <formats>
    <format>zip</format>
  </formats>
  
  <includeBaseDirectory>false</includeBaseDirectory>
  <baseDirectory>modules</baseDirectory>
  <moduleSets>
	  <moduleSet>
	      <useAllReactorProjects>true</useAllReactorProjects>
	      <includes>
	        <include>org.jboss.teiid:teiid-olingo</include>   
	      </includes>
	      <binaries>
	        <attachmentClassifier>odata4</attachmentClassifier>
	        <includeDependencies>false</includeDependencies>
	        <unpack>false</unpack>
	        <outputDirectory>${wildfly-module-root}/org/jboss/teiid/main/deployments</outputDirectory>
	        <outputFileNameMapping>teiid-olingo-odata4.war</outputFileNameMapping>
	      </binaries>
	  </moduleSet>
  </moduleSets>
  <fileSets>
		<fileSet>
			<directory>kits/wildfly/modules</directory>
			<outputDirectory>${wildfly-module-root}</outputDirectory>
			<filtered>true</filtered>
			<includes>
				<include>**/*</include>
			</includes>
		</fileSet>
  </fileSets>  
  <dependencySets>
    <dependencySet>
      <outputDirectory>${wildfly-module-root}/org/jboss/teiid/olingo/main</outputDirectory>
      <useTransitiveDependencies>false</useTransitiveDependencies>
      <includes>
        <include>org.jboss.teiid:teiid-olingo</include>
      </includes>
      <useProjectArtifact>true</useProjectArtifact>
    </dependencySet>      
    <dependencySet>
      <outputDirectory>${wildfly-module-root}/org/apache/olingo/server/main</outputDirectory>
      <useTransitiveDependencies>false</useTransitiveDependencies>
      <includes>
        <include>org.jboss.teiid:teiid-olingo-patches</include>
        <include>org.apache.olingo:odata-server-api</include>
        <include>org.apache.olingo:odata-server-core</include>
        <include>org.apache.olingo:odata-server-core-ext</include>
      </includes>
      <useProjectArtifact>false</useProjectArtifact>
    </dependencySet>
    <dependencySet>
      <outputDirectory>${wildfly-module-root}/com/fasterxml/jackson/core/main</outputDirectory>
      <useTransitiveDependencies>false</useTransitiveDependencies>
      <includes>
        <include>com.fasterxml.jackson.core:jackson-core</include>
      </includes>
      <useProjectArtifact>true</useProjectArtifact>
    </dependencySet>         
  </dependencySets>  
  
</assembly>
