Merge "DG changes for the closed loop and async support in MDONS"
[sdnc/oam.git] / data-migrator / src / assembly / assemble_zip.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP : SDNC
4   ================================================================================
5   Copyright (C) 2019 AMDOCS
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        http://www.apache.org/licenses/LICENSE-2.0
11   Unless required by applicable law or agreed to in writing, software
12   distributed under the License is distributed on an "AS IS" BASIS,
13   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   See the License for the specific language governing permissions and
15   limitations under the License.
16   ============LICENSE_END=========================================================
17   -->
18
19 <!-- Defines how we build the .zip file which is our distribution. -->
20
21 <assembly
22         xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
23         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24         xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
25         <id>assemble_zip</id>
26         <formats>
27                 <format>zip</format>
28         </formats>
29
30         <includeBaseDirectory>false</includeBaseDirectory>
31
32         <fileSets>
33                 <fileSet>
34                         <directory>src/main/scripts</directory>
35                         <outputDirectory>bin</outputDirectory>
36                 </fileSet>
37                 <fileSet>
38                         <directory>target</directory>
39                         <outputDirectory>lib</outputDirectory>
40                         <includes>
41                                 <include>*.jar</include>
42                         </includes>
43                 </fileSet>
44                 <fileSet>
45                         <directory>src/main/resources</directory>
46                         <outputDirectory>properties</outputDirectory>
47                         <includes>
48                                 <include>*.properties</include>
49                         </includes>
50                 </fileSet>
51         </fileSets>
52         <dependencySets>
53                 <dependencySet>
54                         <outputDirectory>lib</outputDirectory>
55                         <useProjectArtifact>true</useProjectArtifact>
56                         <scope>runtime</scope>
57                 </dependencySet>
58         </dependencySets>
59 </assembly>