Supporting 3 or more network domains for Transport Slicing use case.
[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     </dependencies>
72
73     <build>
74         <plugins>
75             <plugin>
76                 <groupId>org.apache.maven.plugins</groupId>
77                 <artifactId>maven-compiler-plugin</artifactId>
78                 <version>${maven-compiler-plugin.version}</version>
79                 <configuration>
80                     <release>${java.version}</release>
81                     <!--explicitly remove source and target-->
82                     <source combine.self="override"/>
83                     <target combine.self="override"/>
84                 </configuration>
85             </plugin>
86             <plugin>
87                 <groupId>org.apache.maven.plugins</groupId>
88                 <artifactId>maven-jar-plugin</artifactId>
89                 <configuration>
90                     <archive>
91                         <manifest>
92                             <addClasspath>true</addClasspath>
93                             <mainClass>org.onap.sdnc.oam.datamigrator.DataMigration</mainClass>
94                         </manifest>
95                     </archive>
96                 </configuration>
97             </plugin>
98             <plugin>
99                 <artifactId>maven-assembly-plugin</artifactId>
100                 <executions>
101                     <execution>
102                         <id>create-zip</id>
103                         <goals>
104                             <goal>single</goal>
105                         </goals>
106                         <phase>package</phase>
107                         <configuration>
108                             <attach>true</attach>
109                             <finalName>${project.artifactId}.${project.version}</finalName>
110                             <attach>true</attach>
111                             <descriptors>
112                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
113                             </descriptors>
114                             <appendAssemblyId>false</appendAssemblyId>
115                         </configuration>
116                     </execution>
117                 </executions>
118             </plugin>
119
120         </plugins>
121     </build>
122 </project>