Gld Extension Release Module release.xml

From NovaOrdis Knowledge Base
Revision as of 21:16, 19 January 2017 by Ovidiu (talk | contribs) (→‎Template)
Jump to navigation Jump to search

Internal

Template

<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" 
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd">

    <id>public-binary-release</id>

    <formats>
        <format>zip</format>
    </formats>

    <includeBaseDirectory>true</includeBaseDirectory>

    <files>
        <file>
            <!--
                Needs the extension name replaced
            -->
            <source>./src/main/bash/.install</source>
            <filtered>true</filtered>
            <outputDirectory>bin</outputDirectory>
            <fileMode>0755</fileMode>
        </file>
    </files>

    <dependencySets>

        <!--
            We place the integration libraries into the root directory of the extension ZIP file
        -->
        <dependencySet>
            <outputDirectory>.</outputDirectory>
            <includes>
                <include>io.novaordis.gld.extensions.jboss-datagrid:*</include>
            </includes>
        </dependencySet>

        <!--
            We place the service external dependencies under a sub-directory whose name is the version we ship
            dependencies for. We do that by including everything, except the integration library.
        -->
        <dependencySet>
            <outputDirectory>${jboss.datagrid.version}</outputDirectory>
            <excludes>
                <exclude>io.novaordis.gld.extensions.jboss-datagrid:*</exclude>
            </excludes>
        </dependencySet>

    </dependencySets>

</assembly>