Drools support for kafka topics
[policy/drools-pdp.git] / feature-pooling-messages / src / assembly / assemble_zip.xml
1 <!--
2   ============LICENSE_START=======================================================
3   feature-pooling-messages
4   ================================================================================
5   Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
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>feature-pooling-messages</id>
28         <formats>
29                 <format>zip</format>
30         </formats>
31
32         <!-- we want "system" and related files right at the root level as this 
33                 file is supposed to be unzipped on top of a karaf distro. -->
34         <includeBaseDirectory>false</includeBaseDirectory>
35
36         <fileSets>
37                 <fileSet>
38                         <directory>target</directory>
39                         <outputDirectory>lib/feature</outputDirectory>
40                         <includes>
41                                 <include>feature-pooling-messages-${project.version}.jar</include>
42                         </includes>
43                 </fileSet>
44                 <fileSet>
45                         <directory>target/assembly/lib</directory>
46                         <outputDirectory>lib/dependencies</outputDirectory>
47                         <includes>
48                                 <include>*.jar</include>
49                         </includes>
50                 </fileSet>
51                 <fileSet>
52                         <directory>src/main/feature/config</directory>
53                         <outputDirectory>config</outputDirectory>
54                         <fileMode>0644</fileMode>
55                         <excludes/>
56                 </fileSet>
57                 <fileSet>
58                         <directory>src/main/feature/bin</directory>
59                         <outputDirectory>bin</outputDirectory>
60                         <fileMode>0744</fileMode>
61                         <excludes/>
62                 </fileSet>
63                 <fileSet>
64                         <directory>src/main/feature/db</directory>
65                         <outputDirectory>db</outputDirectory>
66                         <fileMode>0744</fileMode>
67                         <excludes/>
68                 </fileSet>
69                 <fileSet>
70                         <directory>src/main/feature/install</directory>
71                         <outputDirectory>install</outputDirectory>
72                         <fileMode>0744</fileMode>
73                         <excludes/>
74                 </fileSet>
75         </fileSets>
76 </assembly>