Project release.xml: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "<pre> <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...")
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 13: Line 13:
     <files>
     <files>
         <file>
         <file>
             <source>./src/main/bash/replace_with_shell_wrapper_name</source>
             <source>./src/main/bash/REPLACE_WITH_SHELL_WRAPPER_NAME</source>
             <outputDirectory>bin</outputDirectory>
             <outputDirectory>bin</outputDirectory>
             <fileMode>0755</fileMode>
             <fileMode>0755</fileMode>
         </file>
         </file>
         <file>
         <file>
             <source>./src/main/bash/replace_with_shell_wrapper_name.shlib</source>
             <source>./src/main/bash/bash-wrapper-functions</source>
             <outputDirectory>bin</outputDirectory>
             <outputDirectory>bin</outputDirectory>
         </file>
         </file>
Line 32: Line 32:
         <file>
         <file>
             <source>./src/main/resources/VERSION</source>
             <source>./src/main/resources/VERSION</source>
            <outputDirectory>lib</outputDirectory>
            <filtered>true</filtered>
        </file>
        <file>
            <source>./src/main/resources/help.txt</source>
             <outputDirectory>lib</outputDirectory>
             <outputDirectory>lib</outputDirectory>
             <filtered>true</filtered>
             <filtered>true</filtered>
Line 39: Line 44:
     <dependencySets>
     <dependencySets>
         <dependencySet>
         <dependencySet>
            <!--
                This avoids the assembly plugin warning complaining that the
                release project does not have an artifact to include; this is normal.
            -->
            <useProjectArtifact>false</useProjectArtifact>
             <outputDirectory>lib</outputDirectory>
             <outputDirectory>lib</outputDirectory>
         </dependencySet>
         </dependencySet>

Latest revision as of 17:54, 9 January 2018

<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>
            <source>./src/main/bash/REPLACE_WITH_SHELL_WRAPPER_NAME</source>
            <outputDirectory>bin</outputDirectory>
            <fileMode>0755</fileMode>
        </file>
        <file>
            <source>./src/main/bash/bash-wrapper-functions</source>
            <outputDirectory>bin</outputDirectory>
        </file>
        <file>
            <source>./src/main/bash/.install</source>
            <outputDirectory>bin</outputDirectory>
            <fileMode>0755</fileMode>
        </file>
        <file>
            <source>./src/main/resources/log4j.xml</source>
            <outputDirectory>lib</outputDirectory>
        </file>
        <file>
            <source>./src/main/resources/VERSION</source>
            <outputDirectory>lib</outputDirectory>
            <filtered>true</filtered>
        </file>
        <file>
            <source>./src/main/resources/help.txt</source>
            <outputDirectory>lib</outputDirectory>
            <filtered>true</filtered>
        </file>
    </files>

    <dependencySets>
        <dependencySet>
            <!-- 
                This avoids the assembly plugin warning complaining that the 
                release project does not have an artifact to include; this is normal. 
            -->
            <useProjectArtifact>false</useProjectArtifact>
            <outputDirectory>lib</outputDirectory>
        </dependencySet>
    </dependencySets>

</assembly>