48b1a0de56a8f241c3fecfa623bf7279365eb3ab
[sdnc/oam.git] / data-migrator / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4
5     <parent>
6         <groupId>org.onap.sdnc.oam</groupId>
7         <artifactId>sdnc-oam</artifactId>
8         <version>2.1.1-SNAPSHOT</version>
9     </parent>
10
11     <groupId>org.onap.sdnc.oam</groupId>
12     <artifactId>data-migrator</artifactId>
13     <version>2.1.1-SNAPSHOT</version>
14     <packaging>jar</packaging>
15
16     <name>sdnc-oam :: data-migrator</name>
17     <description>MDSAL Data Migrator</description>
18
19     <properties>
20         <skip.SWM>true</skip.SWM>
21         <java.version>11</java.version>
22         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
23         <build.number>${maven.build.timestamp}</build.number>
24         <SWM_VERSION>${project.version}-${build.number}</SWM_VERSION>
25     </properties>
26
27     <dependencies>
28         <dependency>
29             <groupId>org.slf4j</groupId>
30             <artifactId>slf4j-api</artifactId>
31         </dependency>
32         <dependency>
33             <groupId>org.slf4j</groupId>
34             <artifactId>slf4j-log4j12</artifactId>
35             <scope>compile</scope>
36         </dependency>
37         <dependency>
38             <groupId>log4j</groupId>
39             <artifactId>log4j</artifactId>
40         </dependency>
41         <dependency>
42             <groupId>junit</groupId>
43             <artifactId>junit</artifactId>
44             <version>${junit.version}</version>
45             <scope>test</scope>
46         </dependency>
47         <dependency>
48             <groupId>com.google.code.gson</groupId>
49             <artifactId>gson</artifactId>
50         </dependency>
51         <dependency>
52             <groupId>org.apache.commons</groupId>
53             <artifactId>commons-lang3</artifactId>
54         </dependency>
55         <dependency>
56             <groupId>org.reflections</groupId>
57             <artifactId>reflections</artifactId>
58             <version>0.9.9-RC1</version>
59         </dependency>
60         <dependency>
61             <groupId>com.beust</groupId>
62             <artifactId>jcommander</artifactId>
63             <version>1.48</version>
64         </dependency>
65         <dependency>
66             <groupId>com.github.tomakehurst</groupId>
67             <artifactId>wiremock-standalone</artifactId>
68             <version>2.18.0</version>
69             <scope>test</scope>
70         </dependency>
71         <dependency>
72             <groupId>org.onap.ccsdk.sli.core</groupId>
73             <artifactId>utils-provider</artifactId>
74             <version>${ccsdk.sli.version}</version>
75         </dependency>
76     </dependencies>
77
78     <build>
79         <plugins>
80             <plugin>
81                 <groupId>org.apache.maven.plugins</groupId>
82                 <artifactId>maven-compiler-plugin</artifactId>
83                 <version>${maven-compiler-plugin.version}</version>
84                 <configuration>
85                     <release>${java.version}</release>
86                     <!--explicitly remove source and target-->
87                     <source combine.self="override"/>
88                     <target combine.self="override"/>
89                 </configuration>
90             </plugin>
91             <plugin>
92                 <groupId>org.apache.maven.plugins</groupId>
93                 <artifactId>maven-jar-plugin</artifactId>
94                 <configuration>
95                     <archive>
96                         <manifest>
97                             <addClasspath>true</addClasspath>
98                             <mainClass>org.onap.sdnc.oam.datamigrator.DataMigration</mainClass>
99                         </manifest>
100                     </archive>
101                 </configuration>
102             </plugin>
103             <plugin>
104                 <artifactId>maven-assembly-plugin</artifactId>
105                 <executions>
106                     <execution>
107                         <id>create-zip</id>
108                         <goals>
109                             <goal>single</goal>
110                         </goals>
111                         <phase>package</phase>
112                         <configuration>
113                             <attach>true</attach>
114                             <finalName>${project.artifactId}.${project.version}</finalName>
115                             <attach>true</attach>
116                             <descriptors>
117                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
118                             </descriptors>
119                             <appendAssemblyId>false</appendAssemblyId>
120                         </configuration>
121                     </execution>
122                 </executions>
123             </plugin>
124
125         </plugins>
126     </build>
127 </project>