<assembly
	xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
	<id>dist</id>
	<formats>
		<format>zip</format>
	</formats>
	<includeBaseDirectory>true</includeBaseDirectory>
	<moduleSets>
		<!-- The S-RAMP interactive shell -->
		<moduleSet>
			<useAllReactorProjects>true</useAllReactorProjects>
			<includes>
				<include>org.overlord.sramp:s-ramp-distro-shell:*</include>
			</includes>
			<binaries>
				<outputDirectory>bin</outputDirectory>
				<attachmentClassifier>onejar</attachmentClassifier>
				<includeDependencies>false</includeDependencies>
				<unpack>false</unpack>
				<outputFileNameMapping>s-ramp-shell-${project.version}.jar</outputFileNameMapping>
				<directoryMode>0755</directoryMode>
				<fileMode>0755</fileMode>
			</binaries>
		</moduleSet>
	</moduleSets>
	<fileSets>
		<!-- Additional files in the bin subfolder -->
		<fileSet>
			<directory>${basedir}/../s-ramp-distro-shell/src/main/bin</directory>
			<outputDirectory>bin</outputDirectory>
			<filtered>true</filtered>
			<includes>
				<include>*.sh</include>
				<include>*.bat</include>
			</includes>
			<directoryMode>0755</directoryMode>
			<fileMode>0755</fileMode>
		</fileSet>
	</fileSets>
</assembly>