blob: 48f08084c6d7554b1e332021c6c371c8ae0bd0b1 [file] [log] [blame]
elinuxhenrikd661dbc2018-08-17 12:34:58 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
elinuxhenrikf3945942018-09-14 15:49:10 +02003 ~ ============LICENSE_START=====================================================================
Tomasz Wrobel5da97dc2022-05-13 09:01:26 +02004 ~ Copyright (C) 2018-2022 Nokia. All rights reserved.
ajay_dp0018cc9e642021-01-29 17:44:27 +05305 ~ Copyright (C) 2018-2021 Nordix Foundation. All rights reserved.
Alexander Mazuruk015b5482021-02-18 17:04:21 +01006 ~ Copyright (C) 2021 Samsung Electronics. All rights reserved.
sushant5376667542023-03-27 11:57:41 +05307 ~ Copyright (C) 2023 Deutsche Telekom AG. All rights reserved.
elinuxhenrikf3945942018-09-14 15:49:10 +02008 ~ ==============================================================================================
elinuxhenrikd661dbc2018-08-17 12:34:58 +02009 ~ Licensed under the Apache License, Version 2.0 (the "License");
10 ~ you may not use this file except in compliance with the License.
11 ~ You may obtain a copy of the License at
12 ~
elinuxhenrikf3945942018-09-14 15:49:10 +020013 ~ http://www.apache.org/licenses/LICENSE-2.0
elinuxhenrikd661dbc2018-08-17 12:34:58 +020014 ~
15 ~ Unless required by applicable law or agreed to in writing, software
16 ~ distributed under the License is distributed on an "AS IS" BASIS,
17 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 ~ See the License for the specific language governing permissions and
19 ~ limitations under the License.
elinuxhenrikf3945942018-09-14 15:49:10 +020020 ~ ============LICENSE_END=======================================================================
elinuxhenrikd661dbc2018-08-17 12:34:58 +020021 -->
elinuxhenrik5a61d0c2018-09-18 13:18:03 +020022<project xmlns="http://maven.apache.org/POM/4.0.0"
23 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
ajay_dp0018cc9e642021-01-29 17:44:27 +053025 <modelVersion>4.0.0</modelVersion>
elinuxhenrikf3945942018-09-14 15:49:10 +020026
ajay_dp0018cc9e642021-01-29 17:44:27 +053027 <parent>
28 <groupId>org.onap.oparent</groupId>
29 <artifactId>oparent</artifactId>
30 <version>2.0.0</version>
31 <relativePath/>
32 </parent>
elinuxhenrikf3945942018-09-14 15:49:10 +020033
ajay_dp0018cc9e642021-01-29 17:44:27 +053034 <groupId>org.onap.dcaegen2.collectors</groupId>
35 <artifactId>datafile</artifactId>
Tomasz Wrobel5662ec22022-08-25 13:48:45 +020036 <version>${revision}</version>
ajay_dp0018cc9e642021-01-29 17:44:27 +053037 <name>dcaegen2-collectors.datafile</name>
38 <description>datafile collector</description>
39 <packaging>pom</packaging>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020040
ajay_dp0018cc9e642021-01-29 17:44:27 +053041 <modules>
42 <module>datafile-app-server</module>
43 </modules>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020044
ajay_dp0018cc9e642021-01-29 17:44:27 +053045 <licenses>
46 <license>
47 <name>The Apache Software License, Version 2.0</name>
48 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
49 </license>
50 </licenses>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020051
ajay_dp0018cc9e642021-01-29 17:44:27 +053052 <properties>
sushant5376667542023-03-27 11:57:41 +053053 <revision>1.10.0-SNAPSHOT</revision>
ajay_dp0018cc9e642021-01-29 17:44:27 +053054 <java.version>11</java.version>
Tomasz Wrobel5662ec22022-08-25 13:48:45 +020055 <sdk.version>1.8.10</sdk.version>
ajay_dp0018cc9e642021-01-29 17:44:27 +053056 <apache.httpcomponents.version>4.1.4</apache.httpcomponents.version>
57 <apache.commons.version>3.6</apache.commons.version>
58 <immutable.version>2.7.1</immutable.version>
sushant5376667542023-03-27 11:57:41 +053059 <spring.version>5.3.25</spring.version>
Tomasz Wrobel5662ec22022-08-25 13:48:45 +020060 <spring-boot.version>2.7.2</spring-boot.version>
ajay_dp0018cc9e642021-01-29 17:44:27 +053061 <commons-io.version>2.8.0</commons-io.version>
62 <commons-net.version>3.3</commons-net.version>
63 <projectreactor.version>2020.0.2</projectreactor.version>
Krzysztof Gajewski60553392021-02-15 14:07:44 +010064 <httpcomponents.core5.version>5.0.3</httpcomponents.core5.version>
sushant5376667542023-03-27 11:57:41 +053065 <tomcat-embed-core.version>9.0.72</tomcat-embed-core.version>
Tomasz Wrobel5662ec22022-08-25 13:48:45 +020066 <io.github.classgraph.version>4.8.149</io.github.classgraph.version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020067
ajay_dp0018cc9e642021-01-29 17:44:27 +053068 <!-- LOGGING SETTINGS -->
69 <slf4j.version>1.7.25</slf4j.version>
70 <logback.version>1.2.3</logback.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020071
ajay_dp0018cc9e642021-01-29 17:44:27 +053072 <!--TEST SETTINGS -->
73 <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
74 <junit-jupiter.version>5.5.2</junit-jupiter.version>
75 <junit-platform.version>1.3.2</junit-platform.version>
76 <mockito.version>2.23.4</mockito.version>
77 <testng.version>6.14.2</testng.version>
78 <jcraft.version>0.1.54</jcraft.version>
79 <springfox.version>3.0.0</springfox.version>
80 <awaitility.version>3.1.6</awaitility.version>
sushant5376667542023-03-27 11:57:41 +053081 <jackson-databind.version>2.14.1</jackson-databind.version>
Krzysztof Gajewski3eced292021-01-13 12:47:27 +010082 <powermock.version>2.0.9</powermock.version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020083
ajay_dp0018cc9e642021-01-29 17:44:27 +053084 <!-- Plugin versions -->
85 <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
86 <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
87 <docker-maven-plugin.version>1.2.1</docker-maven-plugin.version>
88 <git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version>
89 <sonar.coverage.jacoco.xmlReportPaths>
90 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
91 </sonar.coverage.jacoco.xmlReportPaths>
Tomasz Wrobel5662ec22022-08-25 13:48:45 +020092 <springdoc-openapi-ui.version>1.6.11</springdoc-openapi-ui.version>
ajay_dp0018cc9e642021-01-29 17:44:27 +053093 </properties>
elinuxhenrik215ab932019-04-17 11:07:48 +020094
ajay_dp0018cc9e642021-01-29 17:44:27 +053095 <dependencyManagement>
96 <dependencies>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020097 <dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +053098 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
99 <artifactId>cbs-client</artifactId>
100 <version>${sdk.version}</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200101 </dependency>
ERIMROB42a29322020-08-14 13:39:24 +0100102 <dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530103 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
104 <artifactId>dmaap-client</artifactId>
105 <version>${sdk.version}</version>
ERIMROB42a29322020-08-14 13:39:24 +0100106 </dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530107 <dependency>
108 <groupId>org.onap.dcaegen2.services.sdk.security</groupId>
109 <artifactId>ssl</artifactId>
110 <version>${sdk.version}</version>
111 </dependency>
112 <dependency>
113 <groupId>org.apache.httpcomponents</groupId>
114 <artifactId>httpasyncclient</artifactId>
115 <version>${apache.httpcomponents.version}</version>
116 </dependency>
117 <dependency>
118 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
119 <artifactId>common-dependency</artifactId>
120 <version>${sdk.version}</version>
121 </dependency>
122 <dependency>
123 <groupId>org.apache.commons</groupId>
124 <artifactId>commons-lang3</artifactId>
125 <version>${apache.commons.version}</version>
126 </dependency>
127 <dependency>
128 <groupId>org.immutables</groupId>
129 <artifactId>value</artifactId>
130 <version>${immutable.version}</version>
131 <scope>provided</scope>
132 </dependency>
133 <dependency>
134 <groupId>org.immutables</groupId>
135 <artifactId>gson</artifactId>
136 <version>${immutable.version}</version>
137 </dependency>
138 <dependency>
Tomasz Wrobel5662ec22022-08-25 13:48:45 +0200139 <groupId>org.apache.tomcat.embed</groupId>
140 <artifactId>tomcat-embed-core</artifactId>
141 <version>${tomcat-embed-core.version}</version>
142 </dependency>
143 <dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530144 <groupId>org.springframework</groupId>
145 <artifactId>spring-web</artifactId>
146 <version>${spring.version}</version>
147 </dependency>
148 <dependency>
149 <groupId>org.springframework</groupId>
150 <artifactId>spring-webmvc</artifactId>
151 <version>${spring.version}</version>
152 </dependency>
153 <dependency>
154 <groupId>org.springframework</groupId>
155 <artifactId>spring-beans</artifactId>
156 <version>${spring.version}</version>
157 </dependency>
158 <dependency>
159 <groupId>org.springframework</groupId>
160 <artifactId>spring-context</artifactId>
161 <version>${spring.version}</version>
162 </dependency>
163 <dependency>
164 <groupId>org.springframework</groupId>
165 <artifactId>spring-webflux</artifactId>
166 <version>${spring.version}</version>
167 </dependency>
168 <dependency>
169 <groupId>org.springframework.boot</groupId>
170 <artifactId>spring-boot-dependencies</artifactId>
171 <version>${spring-boot.version}</version>
172 <type>pom</type>
173 <scope>import</scope>
174 </dependency>
175 <dependency>
Tomasz Wrobel5662ec22022-08-25 13:48:45 +0200176 <groupId>io.github.classgraph</groupId>
177 <artifactId>classgraph</artifactId>
178 <version>${io.github.classgraph.version}</version>
179 </dependency>
180 <dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530181 <groupId>commons-io</groupId>
182 <artifactId>commons-io</artifactId>
183 <version>${commons-io.version}</version>
184 </dependency>
185 <dependency>
186 <groupId>commons-net</groupId>
187 <artifactId>commons-net</artifactId>
188 <version>${commons-net.version}</version>
189 </dependency>
190 <dependency>
191 <groupId>com.jcraft</groupId>
192 <artifactId>jsch</artifactId>
193 <version>${jcraft.version}</version>
194 </dependency>
195 <dependency>
196 <groupId>ch.qos.logback</groupId>
197 <artifactId>logback-classic</artifactId>
198 <version>${logback.version}</version>
199 <scope>provided</scope>
200 </dependency>
201 <dependency>
202 <groupId>org.slf4j</groupId>
203 <artifactId>slf4j-api</artifactId>
204 <version>${slf4j.version}</version>
205 </dependency>
206 <dependency>
Krzysztof Gajewski60553392021-02-15 14:07:44 +0100207 <groupId>org.apache.httpcomponents.core5</groupId>
208 <artifactId>httpcore5</artifactId>
209 <version>${httpcomponents.core5.version}</version>
210 </dependency>
211 <dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530212 <groupId>org.junit.jupiter</groupId>
213 <artifactId>junit-jupiter-api</artifactId>
214 <version>${junit-jupiter.version}</version>
215 <scope>test</scope>
216 </dependency>
217 <dependency>
218 <groupId>org.junit.jupiter</groupId>
219 <artifactId>junit-jupiter-engine</artifactId>
220 <version>${junit-jupiter.version}</version>
221 <scope>test</scope>
222 </dependency>
223 <dependency>
224 <groupId>org.springframework</groupId>
225 <artifactId>spring-test</artifactId>
226 <version>${spring.version}</version>
227 <scope>test</scope>
228 </dependency>
229 <dependency>
Tomasz Wrobel8cdd6de2022-03-10 15:13:43 +0100230 <groupId>org.springframework</groupId>
231 <artifactId>spring-expression</artifactId>
232 <version>${spring.version}</version>
233 </dependency>
234 <dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530235 <groupId>org.mockito</groupId>
236 <artifactId>mockito-junit-jupiter</artifactId>
237 <version>${mockito.version}</version>
238 <scope>test</scope>
239 </dependency>
240 <dependency>
241 <groupId>org.mockito</groupId>
242 <artifactId>mockito-core</artifactId>
243 <version>${mockito.version}</version>
244 <scope>test</scope>
245 </dependency>
246 <dependency>
247 <groupId>org.testng</groupId>
248 <artifactId>testng</artifactId>
249 <version>${testng.version}</version>
250 <scope>test</scope>
251 </dependency>
252 <dependency>
253 <groupId>org.springframework.boot</groupId>
254 <artifactId>spring-boot-starter-test</artifactId>
255 <version>${spring-boot.version}</version>
256 <scope>test</scope>
257 </dependency>
258 <dependency>
259 <groupId>org.awaitility</groupId>
260 <artifactId>awaitility</artifactId>
261 <version>${awaitility.version}</version>
262 <scope>test</scope>
263 </dependency>
Krzysztof Gajewski3eced292021-01-13 12:47:27 +0100264 <dependency>
265 <groupId>org.powermock</groupId>
266 <artifactId>powermock-module-junit4</artifactId>
267 <version>${powermock.version}</version>
268 <scope>test</scope>
269 </dependency>
270 <dependency>
271 <groupId>org.powermock</groupId>
272 <artifactId>powermock-api-mockito2</artifactId>
273 <version>${powermock.version}</version>
274 <scope>test</scope>
275 </dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530276
277 <!--REQUIRED TO GENERATE DOCUMENTATION -->
278 <dependency>
279 <groupId>io.springfox</groupId>
280 <artifactId>springfox-swagger2</artifactId>
281 <version>${springfox.version}</version>
282 </dependency>
283 <dependency>
284 <groupId>io.springfox</groupId>
285 <artifactId>springfox-swagger-ui</artifactId>
286 <version>${springfox.version}</version>
287 </dependency>
288 <dependency>
289 <groupId>org.springdoc</groupId>
290 <artifactId>springdoc-openapi-ui</artifactId>
291 <version>${springdoc-openapi-ui.version}</version>
292 </dependency>
293 <dependency>
294 <groupId>org.springdoc</groupId>
295 <artifactId>springdoc-openapi-data-rest</artifactId>
296 <version>${springdoc-openapi-ui.version}</version>
297 </dependency>
298 <dependency>
299 <groupId>com.fasterxml.jackson.core</groupId>
300 <artifactId>jackson-databind</artifactId>
301 <version>${jackson-databind.version}</version>
302 </dependency>
303 <dependency>
304 <groupId>io.springfox</groupId>
305 <artifactId>springfox-spring-web</artifactId>
306 <version>${springfox.version}</version>
307 </dependency>
308 <dependency>
309 <groupId>io.springfox</groupId>
310 <artifactId>springfox-spi</artifactId>
311 <version>${springfox.version}</version>
312 </dependency>
313 <dependency>
314 <groupId>io.springfox</groupId>
315 <artifactId>springfox-core</artifactId>
316 <version>${springfox.version}</version>
317 </dependency>
318 <dependency>
319 <groupId>io.projectreactor</groupId>
320 <artifactId>reactor-bom</artifactId>
321 <version>${projectreactor.version}</version>
322 <type>pom</type>
323 <scope>import</scope>
324 </dependency>
325 </dependencies>
326 </dependencyManagement>
327
328 <build>
329 <pluginManagement>
330 <plugins>
331 <plugin>
332 <groupId>org.apache.maven.plugins</groupId>
333 <artifactId>maven-resources-plugin</artifactId>
334 <version>${maven-resources-plugin.version}</version>
335 <configuration>
336 <encoding>${project.build.sourceEncoding}</encoding>
337 </configuration>
338 </plugin>
339 <plugin>
340 <groupId>org.apache.maven.plugins</groupId>
341 <artifactId>maven-compiler-plugin</artifactId>
342 <version>3.7.0</version>
343 <configuration>
344 <source>${java.version}</source>
345 <target>${java.version}</target>
346 <encoding>${project.build.sourceEncoding}</encoding>
347 <showWarnings>true</showWarnings>
348 <showDeprecation>true</showDeprecation>
349 </configuration>
350 </plugin>
351 <plugin>
352 <groupId>org.apache.maven.plugins</groupId>
353 <artifactId>maven-surefire-plugin</artifactId>
354 <version>${maven-surefire-plugin.version}</version>
355 <dependencies>
356 <dependency>
357 <groupId>org.junit.platform</groupId>
358 <artifactId>junit-platform-surefire-provider</artifactId>
359 <version>${junit-platform.version}</version>
360 </dependency>
361 <dependency>
362 <groupId>org.junit.jupiter</groupId>
363 <artifactId>junit-jupiter-engine</artifactId>
364 <version>${junit-jupiter.version}</version>
365 </dependency>
366 </dependencies>
367 </plugin>
368 <plugin>
369 <groupId>com.spotify</groupId>
370 <artifactId>docker-maven-plugin</artifactId>
371 <version>${docker-maven-plugin.version}</version>
372 </plugin>
373 <plugin>
374 <groupId>org.springframework.boot</groupId>
375 <artifactId>spring-boot-maven-plugin</artifactId>
376 <version>${spring-boot.version}</version>
377 <executions>
378 <execution>
379 <goals>
380 <goal>repackage</goal>
381 </goals>
382 </execution>
383 </executions>
384 </plugin>
385 <plugin>
386 <groupId>org.apache.maven.plugins</groupId>
387 <artifactId>maven-deploy-plugin</artifactId>
388 </plugin>
389 <plugin>
390 <groupId>org.apache.maven.plugins</groupId>
391 <artifactId>maven-enforcer-plugin</artifactId>
392 <configuration>
393 <skip>true</skip>
394 </configuration>
395 </plugin>
396 <plugin>
397 <groupId>pl.project13.maven</groupId>
398 <artifactId>git-commit-id-plugin</artifactId>
399 <version>${git-commit-id-plugin.version}</version>
400 </plugin>
401 <plugin>
402 <groupId>net.revelc.code.formatter</groupId>
403 <artifactId>formatter-maven-plugin</artifactId>
404 <version>2.8.1</version>
405 <configuration>
406 <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
407 </configuration>
408 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
409 to rewrite source files use mvn formatter:validate to validate source files -->
410 </plugin>
411 <plugin>
412 <groupId>com.diffplug.spotless</groupId>
413 <artifactId>spotless-maven-plugin</artifactId>
414 <version>1.18.0</version>
415 <configuration>
416 <java>
417 <removeUnusedImports/>
418 <importOrder>
419 <order>com,java,javax,org</order>
420 </importOrder>
421 </java>
422 </configuration>
423 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
424 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
425 source files -->
426 </plugin>
427 </plugins>
428 </pluginManagement>
429 </build>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200430</project>