<assembly>
    <id>bin</id>
    <formats>
        <format>zip</format>
    </formats>
    <fileSets>
        <fileSet>
            <includes>
                <include>README.md</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>target</directory>
            <outputDirectory></outputDirectory>
            <includes>
                <include>owl2vcs.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>scripts</directory>
            <outputDirectory></outputDirectory>
            <includes>
                <include>*</include>
            </includes>
        </fileSet>
    </fileSets>
</assembly>

<assembly>
    <id>bin</id>
    <baseDirectory>owl2vcs</baseDirectory>
    <formats>
        <format>zip</format>
        <format>tar.gz</format>
    </formats>
    <fileSets>
        <fileSet>
            <includes>
                <include>README.md</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>target</directory>
            <outputDirectory></outputDirectory>
            <includes>
                <include>owl2vcs.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>scripts</directory>
            <outputDirectory></outputDirectory>
            <includes>
                <include>javamem</include>
                <include>owl2diff</include>
                <include>owl2enable</include>
                <include>*.sh</include>
            </includes>
            <fileMode>0755</fileMode>
        </fileSet>
        <fileSet>
            <directory>scripts</directory>
            <outputDirectory></outputDirectory>
            <includes>
                <include>*</include>
            </includes>
            <excludes>
                <exclude>javamem</exclude>
                <exclude>owl2diff</exclude>
                <exclude>owl2enable</exclude>
                <exclude>*.sh</exclude>
            </excludes>
        </fileSet>
    </fileSets>
</assembly>

Create tar.gz with file mode (+x) for Linux
Create tar.gz with file mode (+x) for Linux
