Gld Extension Release Module release.xml: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:


<pre>
<pre>
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3"  
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        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">
        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>
     <id>public-binary-release</id>
Line 33: Line 32:


         <!--
         <!--
             We place the integration library into the root directory of the extension ZIP file
             We place the integration libraries into the root directory of the extension ZIP file
         -->
         -->
         <dependencySet>
         <dependencySet>
             <outputDirectory>.</outputDirectory>
             <outputDirectory>.</outputDirectory>
             <includes>
             <includes>
                 <include>io.novaordis.gld.extensions.jboss-datagrid-7:*</include>
                 <include>io.novaordis.gld.extensions.jboss-datagrid:*</include>
             </includes>
             </includes>
         </dependencySet>
         </dependencySet>
Line 44: Line 43:
         <!--
         <!--
             We place the service external dependencies under a sub-directory whose name is the version we ship
             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.
             dependencies for. We do that by including mostly everything, except the integration library, and the
            dependencies of io.novaordis.gld.extensions.jboss-datagrid:jboss-datagrid-common, which was NOT declared as
            <provided> because we needed its dependencies during compilation and testing. Those libraries, which are
            the GLD API and *its* dependencies, will already be available in the runtime.
         -->
         -->
         <dependencySet>
         <dependencySet>
             <outputDirectory>${jboss.datagrid.version}</outputDirectory>
             <outputDirectory>${jboss.datagrid.version}</outputDirectory>
             <excludes>
             <excludes>
                 <exclude>io.novaordis.gld.extensions.jboss-datagrid-7:*</exclude>
                 <exclude>io.novaordis.gld.extensions.jboss-datagrid:*</exclude>
                <exclude>io.novaordis.gld:*</exclude>
                <exclude>org.yaml:snakeyaml</exclude>
             </excludes>
             </excludes>
         </dependencySet>
         </dependencySet>

Latest revision as of 04:03, 20 January 2017

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 mostly everything, except the integration library, and the
            dependencies of io.novaordis.gld.extensions.jboss-datagrid:jboss-datagrid-common, which was NOT declared as
            <provided> because we needed its dependencies during compilation and testing. Those libraries, which are
            the GLD API and *its* dependencies, will already be available in the runtime.
        -->
        <dependencySet>
            <outputDirectory>${jboss.datagrid.version}</outputDirectory>
            <excludes>
                <exclude>io.novaordis.gld.extensions.jboss-datagrid:*</exclude>
                <exclude>io.novaordis.gld:*</exclude>
                <exclude>org.yaml:snakeyaml</exclude>
            </excludes>
        </dependencySet>

    </dependencySets>

</assembly>