[DCAEGEN2] Release dcaegen2-services-kpi-computation-ms container
[dcaegen2/services.git] / components / datalake-handler / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 ============LICENSE_START=======================================================
4     Copyright (c) 2020 China Mobile. All rights reserved.
5     Copyright (C) 2022 Wipro Limited. All rights reserved.
6     ================================================================================
7     Licensed under the Apache License, Version 2.0 (the "License"); you may not
8     use this file except in compliance with the License. You may obtain
9     a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
10     by applicable law or agreed to in writing, software distributed under the
11     License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
12     OF ANY KIND, either express or implied. See the License for the specific
13     language governing permissions and ~ limitations under the License.
14 ============LICENSE_END=========================================================
15 -->
16 <project xmlns="http://maven.apache.org/POM/4.0.0"
17    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
19    <modelVersion>4.0.0</modelVersion>
20
21    <parent>
22       <groupId>org.onap.oparent</groupId>
23       <artifactId>oparent</artifactId>
24       <version>2.0.0</version>
25    </parent>
26
27    <groupId>org.onap.dcaegen2.services.components</groupId>
28    <artifactId>datalake-handler</artifactId>
29    <version>1.1.2-SNAPSHOT</version>
30    <packaging>pom</packaging>
31
32    <name>dcaegen2-service-datalake-handler</name>
33
34    <modules>
35       <module>feeder</module>
36       <module>admin</module>
37       <module>des</module>
38    </modules>
39
40    <properties>
41       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42       <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
43       <java.version>11</java.version>
44
45       <mongojava.version>3.10.1</mongojava.version>
46       <springboot.version>2.1.0.RELEASE</springboot.version>
47       <springcouchbase.version>3.1.2.RELEASE</springcouchbase.version>
48       <jackson.version>2.9.8</jackson.version>
49       <kafka.version>2.0.0</kafka.version>
50       <elasticsearchjava.version>7.1.1</elasticsearchjava.version>
51       <hadoop.version>3.2.0</hadoop.version>
52
53       <sonar.coverage.jacoco.xmlReportPaths>
54          ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
55       </sonar.coverage.jacoco.xmlReportPaths>
56    </properties>
57
58    <dependencyManagement>
59       <dependencies>
60
61          <dependency>
62             <groupId>org.apache.hadoop</groupId>
63             <artifactId>hadoop-client</artifactId>
64             <version>${hadoop.version}</version>
65          </dependency>
66
67          <dependency>
68             <groupId>org.mariadb.jdbc</groupId>
69             <artifactId>mariadb-java-client</artifactId>
70             <version>2.4.1</version>
71          </dependency>
72
73          <dependency>
74             <groupId>commons-io</groupId>
75             <artifactId>commons-io</artifactId>
76             <version>2.6</version>
77          </dependency>
78
79          <dependency>
80             <groupId>com.fasterxml.jackson.core</groupId>
81             <artifactId>jackson-core</artifactId>
82             <version>${jackson.version}</version>
83          </dependency>
84
85          <dependency>
86             <groupId>com.fasterxml.jackson.core</groupId>
87             <artifactId>jackson-annotations</artifactId>
88             <version>${jackson.version}</version>
89          </dependency>
90
91          <dependency>
92             <groupId>com.fasterxml.jackson.core</groupId>
93             <artifactId>jackson-databind</artifactId>
94             <version>${jackson.version}</version>
95          </dependency>
96
97          <dependency>
98             <groupId>com.fasterxml.jackson.dataformat</groupId>
99             <artifactId>jackson-dataformat-yaml</artifactId>
100             <version>${jackson.version}</version>
101          </dependency>
102
103          <dependency>
104             <groupId>com.fasterxml.jackson.dataformat</groupId>
105             <artifactId>jackson-dataformat-xml</artifactId>
106             <version>${jackson.version}</version>
107          </dependency>
108
109          <dependency>
110             <groupId>com.google.code.gson</groupId>
111             <artifactId>gson</artifactId>
112             <version>2.8.2</version>
113          </dependency>
114
115          <dependency>
116             <groupId>io.druid</groupId>
117             <artifactId>tranquility-core_2.11</artifactId>
118             <version>0.8.3</version>
119          </dependency>
120
121          <dependency>
122             <groupId>javax.servlet</groupId>
123             <artifactId>javax.servlet-api</artifactId>
124             <version>4.0.1</version>
125             <!--scope>provided</scope -->
126          </dependency>
127
128          <dependency>
129             <groupId>org.apache.kafka</groupId>
130             <artifactId>kafka-clients</artifactId>
131             <version>${kafka.version}</version>
132          </dependency>
133
134          <dependency>
135             <groupId>org.apache.velocity</groupId>
136             <artifactId>velocity-engine-core</artifactId>
137             <version>2.0</version>
138          </dependency>
139
140          <dependency>
141             <groupId>org.json</groupId>
142             <artifactId>json</artifactId>
143             <version>20180813</version>
144          </dependency>
145
146          <dependency>
147             <groupId>org.mongodb</groupId>
148             <artifactId>mongo-java-driver</artifactId>
149             <version>${mongojava.version}</version>
150          </dependency>
151
152          <dependency>
153             <groupId>org.projectlombok</groupId>
154             <artifactId>lombok</artifactId>
155             <version>1.18.2</version>
156          </dependency>
157
158          <dependency>
159             <groupId>org.springframework.data</groupId>
160             <artifactId>spring-data-couchbase</artifactId>
161             <version>${springcouchbase.version}</version>
162          </dependency>
163
164          <dependency>
165             <groupId>org.springframework.boot</groupId>
166             <artifactId>spring-boot-starter-web</artifactId>
167             <version>${springboot.version}</version>
168          </dependency>
169
170          <!-- tag::actuator[] -->
171          <dependency>
172             <groupId>org.springframework.boot</groupId>
173             <artifactId>spring-boot-starter-actuator</artifactId>
174             <version>${springboot.version}</version>
175          </dependency>
176          <!-- end::actuator[] -->
177
178          <dependency>
179             <groupId>org.springframework.boot</groupId>
180             <artifactId>spring-boot-starter-data-jpa</artifactId>
181             <version>${springboot.version}</version>
182          </dependency>
183
184          <dependency>
185             <groupId>org.springframework.boot</groupId>
186             <artifactId>spring-boot-starter-data-couchbase</artifactId>
187             <version>${springboot.version}</version>
188          </dependency>
189
190          <dependency>
191             <groupId>org.springframework.boot</groupId>
192             <artifactId>spring-boot-starter-data-mongodb</artifactId>
193             <version>${springboot.version}</version>
194          </dependency>
195
196          <dependency>
197             <groupId>org.springframework.boot</groupId>
198             <artifactId>spring-boot-starter-data-rest</artifactId>
199             <version>${springboot.version}</version>
200          </dependency>
201          <!-- tag::tests[] -->
202          <dependency>
203             <groupId>org.springframework.boot</groupId>
204             <artifactId>spring-boot-starter-test</artifactId>
205             <version>${springboot.version}</version>
206             <scope>test</scope>
207          </dependency>
208          <!-- end::tests[] -->
209
210          <dependency>
211             <groupId>org.springframework.boot</groupId>
212             <artifactId>spring-boot-configuration-processor</artifactId>
213             <version>${springboot.version}</version>
214             <optional>true</optional>
215          </dependency>
216
217          <dependency>
218             <groupId>org.elasticsearch.client</groupId>
219             <artifactId>elasticsearch-rest-high-level-client</artifactId>
220             <version>${elasticsearchjava.version}</version>
221          </dependency>
222
223       </dependencies>
224    </dependencyManagement>
225
226    <build>
227       <plugins>
228          <plugin>
229             <groupId>org.springframework.boot</groupId>
230             <artifactId>spring-boot-maven-plugin</artifactId>
231             <version>${springboot.version}</version>
232             <executions>
233                <execution>
234                   <goals>
235                      <goal>repackage</goal>
236                   </goals>
237                </execution>
238             </executions>
239          </plugin>
240
241          <plugin>
242             <artifactId>maven-failsafe-plugin</artifactId>
243             <executions>
244                <execution>
245                   <goals>
246                      <goal>integration-test</goal>
247                      <goal>verify</goal>
248                   </goals>
249                </execution>
250             </executions>
251          </plugin>
252
253          <plugin>
254             <groupId>org.apache.maven.plugins</groupId>
255             <artifactId>maven-eclipse-plugin</artifactId>
256             <configuration>
257                <downloadSources>true</downloadSources>
258                <downloadJavadocs>true</downloadJavadocs>
259             </configuration>
260          </plugin>
261
262          <plugin>
263             <groupId>org.apache.maven.plugins</groupId>
264             <artifactId>maven-deploy-plugin</artifactId>
265             <version>2.8</version>
266             <configuration>
267                <skip>true</skip>
268             </configuration>
269          </plugin>
270
271          <plugin>
272             <groupId>org.apache.maven.plugins</groupId>
273             <artifactId>maven-compiler-plugin</artifactId>
274             <version>3.8.0</version>
275          </plugin>
276
277       </plugins>
278    </build>
279
280 </project>