Reduce size of docker images for PAP
[policy/pap.git] / packages / policy-pap-tarball / src / main / package / tarball / assembly.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2019 Nordix Foundation.
4    Modifications Copyright (C) 2019 AT&T Intellectual Property.
5    Modifications Copyright (C) 2021 Bell Canada. 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
19   SPDX-License-Identifier: Apache-2.0
20   ============LICENSE_END=========================================================
21 -->
22
23 <assembly>
24     <id>tarball</id>
25     <formats>
26         <format>tar.gz</format>
27     </formats>
28     <includeBaseDirectory>false</includeBaseDirectory>
29     <fileSets>
30         <fileSet>
31             <directory>${project.basedir}/src/main/resources/etc
32             </directory>
33             <includes>
34                 <include>*.json</include>
35                 <include>*.properties</include>
36                 <include>*.xml</include>
37                 <include>*.yaml</include>
38             </includes>
39             <outputDirectory>${file.separator}etc</outputDirectory>
40             <lineEnding>unix</lineEnding>
41             <excludes>
42                 <exclude>*.formatted</exclude>
43             </excludes>
44         </fileSet>
45         <fileSet>
46             <directory>${project.basedir}/src/main/resources/etc/ssl
47             </directory>
48             <includes>
49                 <include>policy*</include>
50             </includes>
51             <outputDirectory>${file.separator}etc${file.separator}ssl</outputDirectory>
52             <lineEnding>keep</lineEnding>
53         </fileSet>
54     </fileSets>
55 </assembly>