Create ZIP with Dmaap DR docker-compose stuff
[dmaap/datarouter.git] / datarouter-docker-compose / src / assembly / zip.xml
1 <!--
2   ============LICENSE_START==================================================
3   * org.onap.dmaap
4   * ===========================================================================
5   * Copyright (C) 2018 Nokia. 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   * ECOMP is a trademark and service mark of AT&T Intellectual Property.
21   *
22 -->
23 <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
24   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25   xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
26   <id>zip</id>
27   <includeBaseDirectory>true</includeBaseDirectory>
28
29   <formats>
30     <format>zip</format>
31   </formats>
32   <fileSets>
33     <fileSet>
34       <directory>${project.basedir}/src/main/resources</directory>
35       <outputDirectory>/</outputDirectory>
36       <includes>
37         <include>**</include>
38         <include>*/*</include>
39       </includes>
40     </fileSet>
41   </fileSets>
42   <dependencySets>
43     <dependencySet>
44       <outputDirectory>lib</outputDirectory>
45       <excludes>
46         <exclude>${project.groupId}:${project.artifactId}:jar:*</exclude>
47       </excludes>
48     </dependencySet>
49   </dependencySets>
50 </assembly>