Added SDNC MDSAL Data Migrator Functionality.
[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"
3     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5
6     <parent>
7         <groupId>org.onap.sdnc.oam</groupId>
8         <artifactId>sdnc-oam</artifactId>
9         <version>1.5.0-SNAPSHOT</version>
10     </parent>
11     
12     <groupId>org.onap.sdnc.oam</groupId>
13     <artifactId>data-migrator</artifactId>
14     <version>1.5.0-SNAPSHOT</version>
15     <packaging>jar</packaging>
16
17     <name>sdnc-oam :: data-migrator</name>
18     <description>MDSAL Data Migrator</description>
19
20     <properties>
21         <fasterxml.jackson.version>2.9.4</fasterxml.jackson.version>
22         <velocity.version>2.0</velocity.version>
23         <skip.SWM>true</skip.SWM>
24         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
25         <build.number>${maven.build.timestamp}</build.number>
26         <SWM_VERSION>${project.version}-${build.number}</SWM_VERSION>
27     </properties>
28
29     <dependencyManagement>
30         <dependencies>
31         </dependencies>
32     </dependencyManagement>
33
34     <dependencies>
35         <dependency>
36             <groupId>org.slf4j</groupId>
37             <artifactId>slf4j-api</artifactId>
38             <version>1.7.21</version>
39         </dependency>
40         <dependency>
41             <groupId>org.slf4j</groupId>
42             <artifactId>slf4j-log4j12</artifactId>
43             <version>1.6.1</version>
44             <scope>compile</scope>
45         </dependency>
46         <dependency>
47             <groupId>log4j</groupId>
48             <artifactId>log4j</artifactId>
49             <version>1.2.17</version>
50         </dependency>
51         <dependency>
52             <groupId>junit</groupId>
53             <artifactId>junit</artifactId>
54             <version>${junit.version}</version>
55             <scope>test</scope>
56         </dependency>
57         <dependency>
58             <groupId>com.google.code.gson</groupId>
59             <artifactId>gson</artifactId>
60             <version>2.8.5</version>
61         </dependency>
62         <dependency>
63             <groupId>org.apache.commons</groupId>
64             <artifactId>commons-lang3</artifactId>
65             <version>3.5</version>
66         </dependency>
67         <dependency>
68             <groupId>org.reflections</groupId>
69             <artifactId>reflections</artifactId>
70             <version>0.9.9-RC1</version>
71         </dependency>
72         <dependency>
73             <groupId>com.beust</groupId>
74             <artifactId>jcommander</artifactId>
75             <version>1.48</version>
76         </dependency>
77         <dependency>
78             <groupId>com.github.tomakehurst</groupId>
79             <artifactId>wiremock-standalone</artifactId>
80             <version>2.18.0</version>
81             <scope>test</scope>
82         </dependency>
83     </dependencies>
84
85     <build>
86         <plugins>
87
88             <!-- ================================================== -->
89             <!-- Set the JDK compiler version. -->
90             <!-- ================================================== -->
91             <plugin>
92                 <groupId>org.apache.maven.plugins</groupId>
93                 <artifactId>maven-compiler-plugin</artifactId>
94                 <version>2.5.1</version>
95                 <inherited>true</inherited>
96                 <configuration>
97                     <source>1.8</source>
98                     <target>1.8</target>
99                 </configuration>
100             </plugin>
101             <plugin>
102                 <groupId>org.apache.maven.plugins</groupId>
103                 <artifactId>maven-jar-plugin</artifactId>
104                 <version>2.6</version>
105                 <configuration>
106                     <archive>
107                         <manifest>
108                             <addClasspath>true</addClasspath>
109                             <mainClass>org.onap.sdnc.oam.datamigrator.DataMigration</mainClass>
110                         </manifest>
111                     </archive>
112                 </configuration>
113             </plugin>
114             <plugin>
115                 <artifactId>maven-assembly-plugin</artifactId>
116                 <version>2.6</version>
117                 <executions>
118                     <execution>
119                         <id>create-zip</id>
120                         <goals>
121                             <goal>single</goal>
122                         </goals>
123                         <phase>package</phase>
124                         <configuration>
125                             <attach>true</attach>
126                             <finalName>${project.artifactId}.${project.version}</finalName>
127                             <attach>true</attach>
128                             <descriptors>
129                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
130                             </descriptors>
131                             <appendAssemblyId>false</appendAssemblyId>
132                         </configuration>
133                     </execution>
134                 </executions>
135             </plugin>
136
137         </plugins>
138     </build>
139 </project>