4716c7ad92c95f868777b7cfdaeb8c9f5a4a3da2
[sdnc/core.git] / dblib / installer / src / assembly / assemble_installer_zip.xml
1 <!-- Defines how we build the .zip file which is our distribution. -->
2
3 <assembly
4         xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
5         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6         xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
7         <formats>
8                 <format>zip</format>
9         </formats>
10
11         <!--  we want "system" and related files right at the root level
12                   as this file is suppose to be unzip on top of a karaf
13                   distro. -->
14         <includeBaseDirectory>false</includeBaseDirectory>
15
16         <fileSets>
17                 <fileSet>
18                         <directory>target/stage/</directory>
19                         <outputDirectory>${application.name}</outputDirectory>
20                         <fileMode>755</fileMode>
21                         <includes>
22                                 <include>*.sh</include>
23                         </includes>
24                 </fileSet>
25                 <fileSet>
26                         <directory>target/stage/</directory>
27                         <outputDirectory>${application.name}</outputDirectory>
28                         <fileMode>644</fileMode>
29                         <excludes>
30                                 <exclude>*.sh</exclude>
31                         </excludes>
32                 </fileSet>
33         </fileSets>
34
35
36
37 </assembly>