<!--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/apache/olingo/client/main</outputDirectory>
			<useTransitiveDependencies>false</useTransitiveDependencies>
			<includes>
				<include>org.apache.olingo:odata-client-api</include>
				<include>org.apache.olingo:odata-client-core</include>
			</includes>
		</dependencySet>

		<dependencySet>
			<outputDirectory>${jbossas-module-root}/org/jboss/teiid/translator/odata4/main</outputDirectory>
			<useTransitiveDependencies>false</useTransitiveDependencies>
			<includes>
				<include>org.jboss.teiid.connectors:translator-odata4</include>
			</includes>
		</dependencySet>
		<dependencySet>
			<outputDirectory>${jbossas-module-root}/com/fasterxml/aalto-xml/main</outputDirectory>
			<useTransitiveDependencies>false</useTransitiveDependencies>
			<includes>
				<include>com.fasterxml:aalto-xml</include>
			</includes>
			<useProjectArtifact>false</useProjectArtifact>
		</dependencySet>
	</dependencySets>
</assembly>
