1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ============LICENSE_START=======================================================
4 ~ Copyright (c) 2020 China Mobile. All rights reserved.
5 ~ ================================================================================
6 ~ Licensed under the Apache License, Version 2.0 (the "License");
7 ~ you may not use this file except in compliance with the License.
8 ~ You may obtain a copy of the License at
10 ~ http://www.apache.org/licenses/LICENSE-2.0
12 ~ Unless required by applicable law or agreed to in writing, software
13 ~ distributed under the License is distributed on an "AS IS" BASIS,
14 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ~ See the License for the specific language governing permissions and
16 ~ limitations under the License.
17 ~ ============LICENSE_END=========================================================
20 <project xmlns="http://maven.apache.org/POM/4.0.0"
21 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <modelVersion>4.0.0</modelVersion>
26 <groupId>org.onap.dcaegen2.services.components</groupId>
27 <artifactId>datalake-handler</artifactId>
28 <version>1.1.1-SNAPSHOT</version>
31 <artifactId>des</artifactId>
32 <packaging>jar</packaging>
33 <name>DataLake Extraction Service</name>
36 <swagger.version>2.9.2</swagger.version>
37 <dockerfile-maven.version>1.4.10</dockerfile-maven.version>
38 <docker.image.path>onap/org.onap.dcaegen2.services.datalake.exposure.service</docker.image.path>
39 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
45 <groupId>org.jdom</groupId>
46 <artifactId>jdom2</artifactId>
47 <version>2.0.6</version>
51 <groupId>com.facebook.presto</groupId>
52 <artifactId>presto-jdbc</artifactId>
53 <version>0.240</version>
57 <groupId>org.apache.hadoop</groupId>
58 <artifactId>hadoop-client</artifactId>
59 <version>${hadoop.version}</version>
63 <groupId>org.postgresql</groupId>
64 <artifactId>postgresql</artifactId>
65 <version>42.2.18</version>
69 <groupId>org.json</groupId>
70 <artifactId>json</artifactId>
71 <version>20190722</version>
75 <groupId>org.apache.httpcomponents</groupId>
76 <artifactId>httpclient</artifactId>
77 <version>4.5.10</version>
81 <groupId>org.apache.kafka</groupId>
82 <artifactId>kafka-clients</artifactId>
83 <version>2.3.1</version>
87 <groupId>org.springframework.boot</groupId>
88 <artifactId>spring-boot-starter-web</artifactId>
89 <version>${springboot.version}</version>
93 <groupId>org.springframework.boot</groupId>
94 <artifactId>spring-boot-starter-actuator</artifactId>
95 <version>${springboot.version}</version>
99 <groupId>org.springframework.boot</groupId>
100 <artifactId>spring-boot-starter-data-jpa</artifactId>
101 <version>${springboot.version}</version>
105 <groupId>org.springframework.boot</groupId>
106 <artifactId>spring-boot-starter-data-couchbase</artifactId>
107 <version>${springboot.version}</version>
111 <groupId>org.springframework.boot</groupId>
112 <artifactId>spring-boot-starter-test</artifactId>
113 <version>${springboot.version}</version>
118 <groupId>org.springframework.boot</groupId>
119 <artifactId>spring-boot-configuration-processor</artifactId>
120 <version>${springboot.version}</version>
124 <groupId>org.elasticsearch.client</groupId>
125 <artifactId>elasticsearch-rest-high-level-client</artifactId>
126 <version>${elasticsearchjava.version}</version>
130 <groupId>commons-io</groupId>
131 <artifactId>commons-io</artifactId>
132 <version>2.6</version>
136 <groupId>com.fasterxml.jackson.dataformat</groupId>
137 <artifactId>jackson-dataformat-yaml</artifactId>
138 <version>${jackson.version}</version>
142 <groupId>com.fasterxml.jackson.dataformat</groupId>
143 <artifactId>jackson-dataformat-xml</artifactId>
144 <version>${jackson.version}</version>
148 <groupId>com.fasterxml.jackson.core</groupId>
149 <artifactId>jackson-databind</artifactId>
150 <version>${jackson.version}</version>
154 <groupId>com.google.code.gson</groupId>
155 <artifactId>gson</artifactId>
156 <version>2.8.2</version>
160 <groupId>org.projectlombok</groupId>
161 <artifactId>lombok</artifactId>
162 <version>1.18.10</version>
163 <scope>provided</scope>
167 <groupId>io.druid</groupId>
168 <artifactId>tranquility-core_2.11</artifactId>
169 <version>0.8.3</version>
173 <groupId>org.apache.velocity</groupId>
174 <artifactId>velocity-engine-core</artifactId>
175 <version>2.1</version>
180 <groupId>org.hibernate</groupId>
181 <artifactId>hibernate-core</artifactId>
182 <version>5.3.7.Final</version>
185 <!-- jsr303 validation -->
187 <groupId>javax.validation</groupId>
188 <artifactId>validation-api</artifactId>
189 <version>2.0.1.Final</version>
193 <groupId>org.hibernate</groupId>
194 <artifactId>hibernate-validator</artifactId>
195 <version>6.1.0.Final</version>
199 <groupId>io.springfox</groupId>
200 <artifactId>springfox-swagger2</artifactId>
201 <version>${swagger.version}</version>
202 <scope>compile</scope>
206 <groupId>io.springfox</groupId>
207 <artifactId>springfox-swagger-ui</artifactId>
208 <version>${swagger.version}</version>
209 <scope>compile</scope>
213 <groupId>org.mongodb</groupId>
214 <artifactId>mongo-java-driver</artifactId>
215 <version>${mongojava.version}</version>
219 <groupId>com.couchbase.mock</groupId>
220 <artifactId>CouchbaseMock</artifactId>
221 <version>1.5.22</version>
231 <groupId>org.apache.maven.plugins</groupId>
232 <artifactId>maven-deploy-plugin</artifactId>
233 <version>2.8</version>
240 <groupId>org.springframework.boot</groupId>
241 <artifactId>spring-boot-maven-plugin</artifactId>
243 <classifier>execute</classifier>
247 <goal>repackage</goal>
254 <groupId>com.spotify</groupId>
255 <artifactId>dockerfile-maven-plugin</artifactId>
256 <version>${dockerfile-maven.version}</version>
258 <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository>
259 <tag>${project.version}</tag>
260 <dockerfile>Dockerfile</dockerfile>
262 <JAR_FILE>${project.build.finalName}.jar</JAR_FILE>
267 <id>build-sl-des-image</id>
268 <phase>package</phase>
273 <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
277 <id>tag-and-push-image-latest</id>
278 <phase>package</phase>
284 <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository>
286 <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
290 <id>tag-and-push-image-with-version</id>
291 <phase>package</phase>
297 <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository>
298 <tag>${project.version}</tag>
299 <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
303 <id>tag-and-push-image-with-version-and-date</id>
304 <phase>package</phase>
310 <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository>
311 <tag>${project.version}-${maven.build.timestamp}Z</tag>
312 <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
317 <!-- To make this work on JDK 9+ -->
319 <groupId>javax.activation</groupId>
320 <artifactId>javax.activation-api</artifactId>
321 <version>1.2.0</version>