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