Refactor dblib
[ccsdk/sli/core.git] / sliapi / installer / src / assembly / assemble_installer_zip.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP : CCSDK
4   ================================================================================
5   Copyright (C) 2017 ONAP
6   ================================================================================
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10   
11        http://www.apache.org/licenses/LICENSE-2.0
12   
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ============LICENSE_END=========================================================
19   -->
20
21 <!-- Defines how we build the .zip file which is our distribution. -->
22
23 <assembly
24         xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
25         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26         xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
27   <id>bin</id>
28         <formats>
29                 <format>zip</format>
30         </formats>
31
32         <!--  we want "system" and related files right at the root level
33                   as this file is suppose to be unzip on top of a karaf
34                   distro. -->
35         <includeBaseDirectory>false</includeBaseDirectory>
36
37         <fileSets>
38                 <fileSet>
39                         <directory>target/stage/</directory>
40                         <outputDirectory>${application.name}</outputDirectory>
41                         <fileMode>755</fileMode>
42                         <includes>
43                                 <include>*.sh</include>
44                         </includes>
45                 </fileSet>
46                 <fileSet>
47                         <directory>target/stage/</directory>
48                         <outputDirectory>${application.name}</outputDirectory>
49                         <fileMode>644</fileMode>
50                         <excludes>
51                                 <exclude>*.sh</exclude>
52                         </excludes>
53                 </fileSet>
54         </fileSets>
55
56
57
58 </assembly>