blob: 3297c7ea8d4db221303773ffc7dad244d12c63af [file] [log] [blame]
Guobiao Moda703762019-02-22 15:36:27 -08001<?xml version="1.0" encoding="UTF-8"?>
Guobiao Mo6670cf92020-01-06 17:11:43 -08002<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Guobiao Mo3208e0c2019-05-13 11:58:33 -07003 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>
Guobiao Moda703762019-02-22 15:36:27 -08005
Guobiao Mo3208e0c2019-05-13 11:58:33 -07006 <parent>
7 <groupId>org.onap.dcaegen2.services.components</groupId>
8 <artifactId>datalake-handler</artifactId>
Kate Hsuana4def1d2020-03-17 03:46:32 +00009 <version>1.0.1-SNAPSHOT</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -070010 </parent>
Guobiao Moda703762019-02-22 15:36:27 -080011
Guobiao Mo3208e0c2019-05-13 11:58:33 -070012 <groupId>org.onap.dcaegen2.services.components.datalake-handler</groupId>
13 <artifactId>feeder</artifactId>
14 <packaging>jar</packaging>
15 <name>DataLake Feeder</name>
Guobiao Moda703762019-02-22 15:36:27 -080016
Guobiao Mo6670cf92020-01-06 17:11:43 -080017 <properties>
18 <swagger.version>2.9.2</swagger.version>
Guobiao Mo194d5142020-01-09 13:39:05 -080019 <dockerfile-maven.version>1.4.5</dockerfile-maven.version>
Guobiao Mo6670cf92020-01-06 17:11:43 -080020 <docker.image.path>onap/org.onap.dcaegen2.services.datalakefeeder</docker.image.path>
Kate Hsuan3cf3f3e2020-03-12 07:48:48 +000021 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
22
Guobiao Mo6670cf92020-01-06 17:11:43 -080023 </properties>
Guobiao Moda703762019-02-22 15:36:27 -080024
Guobiao Mo3208e0c2019-05-13 11:58:33 -070025 <dependencies>
Guobiao Moda703762019-02-22 15:36:27 -080026
Guobiao Mo3208e0c2019-05-13 11:58:33 -070027 <dependency>
Guobiao Mo6670cf92020-01-06 17:11:43 -080028 <groupId>org.jdom</groupId>
29 <artifactId>jdom2</artifactId>
30 <version>2.0.6</version>
31 </dependency>
32
33 <dependency>
34 <groupId>com.facebook.presto</groupId>
35 <artifactId>presto-jdbc</artifactId>
36 <version>0.229</version>
37 </dependency>
38
39 <dependency>
Guobiao Mo3208e0c2019-05-13 11:58:33 -070040 <groupId>org.apache.hadoop</groupId>
41 <artifactId>hadoop-client</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -080042 <version>${hadoop.version}</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -070043 </dependency>
Guobiao Moda703762019-02-22 15:36:27 -080044
Guobiao Mo3208e0c2019-05-13 11:58:33 -070045 <dependency>
46 <groupId>org.mariadb.jdbc</groupId>
47 <artifactId>mariadb-java-client</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -080048 <version>2.4.1</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -070049 </dependency>
Guobiao Moda703762019-02-22 15:36:27 -080050
Guobiao Mo3208e0c2019-05-13 11:58:33 -070051 <dependency>
52 <groupId>org.json</groupId>
53 <artifactId>json</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -080054 <version>20190722</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -070055 </dependency>
Rama-Huawei82b82f12019-04-22 14:17:50 +053056
Guobiao Mo3208e0c2019-05-13 11:58:33 -070057 <dependency>
58 <groupId>org.apache.httpcomponents</groupId>
59 <artifactId>httpclient</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -080060 <version>4.5.10</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -070061 </dependency>
Rama-Huawei82b82f12019-04-22 14:17:50 +053062
Guobiao Mo3208e0c2019-05-13 11:58:33 -070063 <dependency>
64 <groupId>org.apache.kafka</groupId>
65 <artifactId>kafka-clients</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -080066 <version>2.3.1</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -070067 </dependency>
Rama-Huawei82b82f12019-04-22 14:17:50 +053068
Guobiao Mo3208e0c2019-05-13 11:58:33 -070069 <dependency>
70 <groupId>org.springframework.boot</groupId>
71 <artifactId>spring-boot-starter-web</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -080072 <version>${springboot.version}</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -070073 </dependency>
Rama-Huawei82b82f12019-04-22 14:17:50 +053074
Guobiao Mo3208e0c2019-05-13 11:58:33 -070075 <dependency>
76 <groupId>org.springframework.boot</groupId>
77 <artifactId>spring-boot-starter-actuator</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -080078 <version>${springboot.version}</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -070079 </dependency>
Guobiao Moda703762019-02-22 15:36:27 -080080
Guobiao Mo3208e0c2019-05-13 11:58:33 -070081 <dependency>
82 <groupId>org.springframework.boot</groupId>
83 <artifactId>spring-boot-starter-data-jpa</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -080084 <version>${springboot.version}</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -070085 </dependency>
Guobiao Moda703762019-02-22 15:36:27 -080086
Guobiao Mo3208e0c2019-05-13 11:58:33 -070087 <dependency>
88 <groupId>org.springframework.boot</groupId>
89 <artifactId>spring-boot-starter-data-couchbase</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -080090 <version>${springboot.version}</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -070091 </dependency>
Guobiao Moda703762019-02-22 15:36:27 -080092
Guobiao Mo3208e0c2019-05-13 11:58:33 -070093 <dependency>
94 <groupId>org.springframework.boot</groupId>
95 <artifactId>spring-boot-starter-test</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -080096 <version>${springboot.version}</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -070097 <scope>test</scope>
98 </dependency>
Guobiao Moda703762019-02-22 15:36:27 -080099
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700100 <dependency>
101 <groupId>org.springframework.boot</groupId>
102 <artifactId>spring-boot-configuration-processor</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -0800103 <version>${springboot.version}</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700104 </dependency>
Guobiao Moda703762019-02-22 15:36:27 -0800105
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700106 <dependency>
107 <groupId>org.elasticsearch.client</groupId>
108 <artifactId>elasticsearch-rest-high-level-client</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -0800109 <version>${elasticsearchjava.version}</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700110 </dependency>
Guobiao Moda703762019-02-22 15:36:27 -0800111
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700112 <dependency>
113 <groupId>commons-io</groupId>
114 <artifactId>commons-io</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -0800115 <version>2.6</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700116 </dependency>
Guobiao Moda703762019-02-22 15:36:27 -0800117
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700118 <dependency>
119 <groupId>com.fasterxml.jackson.dataformat</groupId>
120 <artifactId>jackson-dataformat-yaml</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -0800121 <version>${jackson.version}</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700122 </dependency>
Guobiao Moda703762019-02-22 15:36:27 -0800123
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700124 <dependency>
125 <groupId>com.fasterxml.jackson.dataformat</groupId>
126 <artifactId>jackson-dataformat-xml</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -0800127 <version>${jackson.version}</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700128 </dependency>
Guobiao Moda703762019-02-22 15:36:27 -0800129
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700130 <dependency>
131 <groupId>com.fasterxml.jackson.core</groupId>
132 <artifactId>jackson-databind</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -0800133 <version>${jackson.version}</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700134 </dependency>
Guobiao Moda703762019-02-22 15:36:27 -0800135
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700136 <dependency>
137 <groupId>com.google.code.gson</groupId>
138 <artifactId>gson</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -0800139 <version>2.8.2</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700140 </dependency>
Guobiao Moda703762019-02-22 15:36:27 -0800141
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700142 <dependency>
143 <groupId>org.projectlombok</groupId>
144 <artifactId>lombok</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -0800145 <version>1.18.10</version>
146 <scope>provided</scope>
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700147 </dependency>
Rama-Huawei82b82f12019-04-22 14:17:50 +0530148
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700149 <dependency>
150 <groupId>io.druid</groupId>
151 <artifactId>tranquility-core_2.11</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -0800152 <version>0.8.3</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700153 </dependency>
154
155 <dependency>
156 <groupId>org.apache.velocity</groupId>
157 <artifactId>velocity-engine-core</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -0800158 <version>2.1</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700159 </dependency>
Guobiao Moda703762019-02-22 15:36:27 -0800160
161
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700162 <dependency>
163 <groupId>org.hibernate</groupId>
164 <artifactId>hibernate-core</artifactId>
165 <version>5.3.7.Final</version>
166 </dependency>
Guobiao Moda703762019-02-22 15:36:27 -0800167
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700168 <!-- jsr303 validation -->
169 <dependency>
170 <groupId>javax.validation</groupId>
171 <artifactId>validation-api</artifactId>
172 <version>2.0.1.Final</version>
173 </dependency>
Guobiao Moda703762019-02-22 15:36:27 -0800174
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700175 <dependency>
176 <groupId>org.hibernate</groupId>
177 <artifactId>hibernate-validator</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -0800178 <version>6.1.0.Final</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700179 </dependency>
Guobiao Moda703762019-02-22 15:36:27 -0800180
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700181 <dependency>
182 <groupId>io.springfox</groupId>
183 <artifactId>springfox-swagger2</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -0800184 <version>${swagger.version}</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700185 <scope>compile</scope>
186 </dependency>
Guobiao Mo1995d2e2019-04-08 16:59:14 -0700187
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700188 <dependency>
189 <groupId>io.springfox</groupId>
190 <artifactId>springfox-swagger-ui</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -0800191 <version>${swagger.version}</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700192 <scope>compile</scope>
193 </dependency>
Guobiao Mo1995d2e2019-04-08 16:59:14 -0700194
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700195 <dependency>
196 <groupId>org.mongodb</groupId>
197 <artifactId>mongo-java-driver</artifactId>
Guobiao Mo6670cf92020-01-06 17:11:43 -0800198 <version>${mongojava.version}</version>
Guobiao Mo3208e0c2019-05-13 11:58:33 -0700199 </dependency>
200 <dependency>
201 <groupId>com.couchbase.mock</groupId>
202 <artifactId>CouchbaseMock</artifactId>
203 <version>1.5.22</version>
204 <scope>test</scope>
205 </dependency>
206 </dependencies>
Guobiao Moda703762019-02-22 15:36:27 -0800207
Guobiao Mo6670cf92020-01-06 17:11:43 -0800208
209 <build>
210 <plugins>
211 <plugin>
212 <groupId>com.spotify</groupId>
213 <artifactId>dockerfile-maven-plugin</artifactId>
214 <version>${dockerfile-maven.version}</version>
Guobiao Mo194d5142020-01-09 13:39:05 -0800215 <configuration>
216 <!--
217 <username>docker</username>
218 <password>docker</password> -->
219 <!-- repository>repo.treescale.com/moguobiao/datalake-feeder-maven</repository -->
220 <!-- repository>moguobiao/datalake-feeder-maven-spotify</repository -->
Guobiao Mo6670cf92020-01-06 17:11:43 -0800221 <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository>
222 <tag>${project.version}</tag>
223 <dockerfile>Dockerfile</dockerfile>
Guobiao Mo194d5142020-01-09 13:39:05 -0800224 <!-- useMavenSettingsForAuth>true</useMavenSettingsForAuth -->
Guobiao Mo6670cf92020-01-06 17:11:43 -0800225 <buildArgs>
226 <JAR_FILE>${project.build.finalName}.jar</JAR_FILE>
227 </buildArgs>
228 </configuration>
Kate Hsuan3cf3f3e2020-03-12 07:48:48 +0000229 <executions>
230 <execution>
231 <id>build-sl-feeder-image</id>
232 <phase>package</phase>
233 <goals>
234 <goal>build</goal>
235 </goals>
236 </execution>
237 <execution>
238 <id>tag-and-push-image-latest</id>
239 <phase>package</phase>
240 <goals>
241 <goal>tag</goal>
242 <goal>push</goal>
243 </goals>
244 <configuration>
245 <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository>
246 <tag>latest</tag>
247 <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
248 </configuration>
249 </execution>
250 <execution>
251 <id>tag-and-push-image-with-version</id>
252 <phase>package</phase>
253 <goals>
254 <goal>tag</goal>
255 <goal>push</goal>
256 </goals>
257 <configuration>
258 <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository>
259 <tag>${project.version}</tag>
260 <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
261 </configuration>
262 </execution>
263 <execution>
264 <id>tag-and-push-image-with-version-and-date</id>
265 <phase>package</phase>
266 <goals>
267 <goal>tag</goal>
268 <goal>push</goal>
269 </goals>
270 <configuration>
271 <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository>
272 <tag>${project.version}-${maven.build.timestamp}Z</tag>
273 <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
274 </configuration>
275 </execution>
276 </executions>
Guobiao Mo194d5142020-01-09 13:39:05 -0800277 <dependencies>
278 <!-- To make this work on JDK 9+ -->
279 <dependency>
280 <groupId>javax.activation</groupId>
281 <artifactId>javax.activation-api</artifactId>
282 <version>1.2.0</version>
283 </dependency>
284 </dependencies>
Guobiao Mo6670cf92020-01-06 17:11:43 -0800285 </plugin>
286 </plugins>
287 </build>
Guobiao Moda703762019-02-22 15:36:27 -0800288</project>