blob: c857d7ebb069fd014ef8a4c5651b95bf0687d4cb [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=====================================================================
Joanna Jeremicz52804062022-02-11 12:55:30 +01004 ~ Copyright (C) 2018-2022 NOKIA Intellectual Property. 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.
elinuxhenrikf3945942018-09-14 15:49:10 +02007 ~ ==============================================================================================
elinuxhenrikd661dbc2018-08-17 12:34:58 +02008 ~ Licensed under the Apache License, Version 2.0 (the "License");
9 ~ you may not use this file except in compliance with the License.
10 ~ You may obtain a copy of the License at
11 ~
elinuxhenrikf3945942018-09-14 15:49:10 +020012 ~ http://www.apache.org/licenses/LICENSE-2.0
elinuxhenrikd661dbc2018-08-17 12:34:58 +020013 ~
14 ~ Unless required by applicable law or agreed to in writing, software
15 ~ distributed under the License is distributed on an "AS IS" BASIS,
16 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 ~ See the License for the specific language governing permissions and
18 ~ limitations under the License.
elinuxhenrikf3945942018-09-14 15:49:10 +020019 ~ ============LICENSE_END=======================================================================
elinuxhenrikd661dbc2018-08-17 12:34:58 +020020 -->
elinuxhenrik5a61d0c2018-09-18 13:18:03 +020021<project xmlns="http://maven.apache.org/POM/4.0.0"
22 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 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 +053024 <modelVersion>4.0.0</modelVersion>
elinuxhenrikf3945942018-09-14 15:49:10 +020025
ajay_dp0018cc9e642021-01-29 17:44:27 +053026 <parent>
27 <groupId>org.onap.oparent</groupId>
28 <artifactId>oparent</artifactId>
29 <version>2.0.0</version>
30 <relativePath/>
31 </parent>
elinuxhenrikf3945942018-09-14 15:49:10 +020032
ajay_dp0018cc9e642021-01-29 17:44:27 +053033 <groupId>org.onap.dcaegen2.collectors</groupId>
34 <artifactId>datafile</artifactId>
Joanna Jeremicz52804062022-02-11 12:55:30 +010035 <version>1.7.0-SNAPSHOT</version>
wasala93adeb42018-09-18 14:17:19 +020036
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>
53 <java.version>11</java.version>
Joanna Jeremicz52804062022-02-11 12:55:30 +010054 <sdk.version>1.8.8</sdk.version>
ajay_dp0018cc9e642021-01-29 17:44:27 +053055 <apache.httpcomponents.version>4.1.4</apache.httpcomponents.version>
56 <apache.commons.version>3.6</apache.commons.version>
57 <immutable.version>2.7.1</immutable.version>
Joanna Jeremicz52804062022-02-11 12:55:30 +010058 <spring.version>5.3.14</spring.version>
Joanna Jeremiczc5a8cd42021-07-16 13:53:41 +020059 <spring-boot.version>2.4.5</spring-boot.version>
ajay_dp0018cc9e642021-01-29 17:44:27 +053060 <commons-io.version>2.8.0</commons-io.version>
61 <commons-net.version>3.3</commons-net.version>
62 <projectreactor.version>2020.0.2</projectreactor.version>
Krzysztof Gajewski60553392021-02-15 14:07:44 +010063 <httpcomponents.core5.version>5.0.3</httpcomponents.core5.version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020064
ajay_dp0018cc9e642021-01-29 17:44:27 +053065 <!-- LOGGING SETTINGS -->
66 <slf4j.version>1.7.25</slf4j.version>
67 <logback.version>1.2.3</logback.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020068
ajay_dp0018cc9e642021-01-29 17:44:27 +053069 <!--TEST SETTINGS -->
70 <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
71 <junit-jupiter.version>5.5.2</junit-jupiter.version>
72 <junit-platform.version>1.3.2</junit-platform.version>
73 <mockito.version>2.23.4</mockito.version>
74 <testng.version>6.14.2</testng.version>
75 <jcraft.version>0.1.54</jcraft.version>
76 <springfox.version>3.0.0</springfox.version>
77 <awaitility.version>3.1.6</awaitility.version>
78 <jackson-databind.version>2.11.4</jackson-databind.version>
Krzysztof Gajewski3eced292021-01-13 12:47:27 +010079 <powermock.version>2.0.9</powermock.version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020080
ajay_dp0018cc9e642021-01-29 17:44:27 +053081 <!-- Plugin versions -->
82 <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
83 <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
84 <docker-maven-plugin.version>1.2.1</docker-maven-plugin.version>
85 <git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version>
86 <sonar.coverage.jacoco.xmlReportPaths>
87 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
88 </sonar.coverage.jacoco.xmlReportPaths>
89 <springdoc-openapi-ui.version>1.5.3</springdoc-openapi-ui.version>
90 </properties>
elinuxhenrik215ab932019-04-17 11:07:48 +020091
ajay_dp0018cc9e642021-01-29 17:44:27 +053092 <dependencyManagement>
93 <dependencies>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020094 <dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +053095 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
96 <artifactId>cbs-client</artifactId>
97 <version>${sdk.version}</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020098 </dependency>
ERIMROB42a29322020-08-14 13:39:24 +010099 <dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530100 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
101 <artifactId>dmaap-client</artifactId>
102 <version>${sdk.version}</version>
ERIMROB42a29322020-08-14 13:39:24 +0100103 </dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530104 <dependency>
105 <groupId>org.onap.dcaegen2.services.sdk.security</groupId>
106 <artifactId>ssl</artifactId>
107 <version>${sdk.version}</version>
108 </dependency>
109 <dependency>
110 <groupId>org.apache.httpcomponents</groupId>
111 <artifactId>httpasyncclient</artifactId>
112 <version>${apache.httpcomponents.version}</version>
113 </dependency>
114 <dependency>
115 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
116 <artifactId>common-dependency</artifactId>
117 <version>${sdk.version}</version>
118 </dependency>
119 <dependency>
120 <groupId>org.apache.commons</groupId>
121 <artifactId>commons-lang3</artifactId>
122 <version>${apache.commons.version}</version>
123 </dependency>
124 <dependency>
125 <groupId>org.immutables</groupId>
126 <artifactId>value</artifactId>
127 <version>${immutable.version}</version>
128 <scope>provided</scope>
129 </dependency>
130 <dependency>
131 <groupId>org.immutables</groupId>
132 <artifactId>gson</artifactId>
133 <version>${immutable.version}</version>
134 </dependency>
135 <dependency>
136 <groupId>org.springframework</groupId>
137 <artifactId>spring-web</artifactId>
138 <version>${spring.version}</version>
139 </dependency>
140 <dependency>
141 <groupId>org.springframework</groupId>
142 <artifactId>spring-webmvc</artifactId>
143 <version>${spring.version}</version>
144 </dependency>
145 <dependency>
146 <groupId>org.springframework</groupId>
147 <artifactId>spring-beans</artifactId>
148 <version>${spring.version}</version>
149 </dependency>
150 <dependency>
151 <groupId>org.springframework</groupId>
152 <artifactId>spring-context</artifactId>
153 <version>${spring.version}</version>
154 </dependency>
155 <dependency>
156 <groupId>org.springframework</groupId>
157 <artifactId>spring-webflux</artifactId>
158 <version>${spring.version}</version>
159 </dependency>
160 <dependency>
161 <groupId>org.springframework.boot</groupId>
162 <artifactId>spring-boot-dependencies</artifactId>
163 <version>${spring-boot.version}</version>
164 <type>pom</type>
165 <scope>import</scope>
166 </dependency>
167 <dependency>
168 <groupId>commons-io</groupId>
169 <artifactId>commons-io</artifactId>
170 <version>${commons-io.version}</version>
171 </dependency>
172 <dependency>
173 <groupId>commons-net</groupId>
174 <artifactId>commons-net</artifactId>
175 <version>${commons-net.version}</version>
176 </dependency>
177 <dependency>
178 <groupId>com.jcraft</groupId>
179 <artifactId>jsch</artifactId>
180 <version>${jcraft.version}</version>
181 </dependency>
182 <dependency>
183 <groupId>ch.qos.logback</groupId>
184 <artifactId>logback-classic</artifactId>
185 <version>${logback.version}</version>
186 <scope>provided</scope>
187 </dependency>
188 <dependency>
189 <groupId>org.slf4j</groupId>
190 <artifactId>slf4j-api</artifactId>
191 <version>${slf4j.version}</version>
192 </dependency>
193 <dependency>
Krzysztof Gajewski60553392021-02-15 14:07:44 +0100194 <groupId>org.apache.httpcomponents.core5</groupId>
195 <artifactId>httpcore5</artifactId>
196 <version>${httpcomponents.core5.version}</version>
197 </dependency>
198 <dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530199 <groupId>org.junit.jupiter</groupId>
200 <artifactId>junit-jupiter-api</artifactId>
201 <version>${junit-jupiter.version}</version>
202 <scope>test</scope>
203 </dependency>
204 <dependency>
205 <groupId>org.junit.jupiter</groupId>
206 <artifactId>junit-jupiter-engine</artifactId>
207 <version>${junit-jupiter.version}</version>
208 <scope>test</scope>
209 </dependency>
210 <dependency>
211 <groupId>org.springframework</groupId>
212 <artifactId>spring-test</artifactId>
213 <version>${spring.version}</version>
214 <scope>test</scope>
215 </dependency>
216 <dependency>
217 <groupId>org.mockito</groupId>
218 <artifactId>mockito-junit-jupiter</artifactId>
219 <version>${mockito.version}</version>
220 <scope>test</scope>
221 </dependency>
222 <dependency>
223 <groupId>org.mockito</groupId>
224 <artifactId>mockito-core</artifactId>
225 <version>${mockito.version}</version>
226 <scope>test</scope>
227 </dependency>
228 <dependency>
229 <groupId>org.testng</groupId>
230 <artifactId>testng</artifactId>
231 <version>${testng.version}</version>
232 <scope>test</scope>
233 </dependency>
234 <dependency>
235 <groupId>org.springframework.boot</groupId>
236 <artifactId>spring-boot-starter-test</artifactId>
237 <version>${spring-boot.version}</version>
238 <scope>test</scope>
239 </dependency>
240 <dependency>
241 <groupId>org.awaitility</groupId>
242 <artifactId>awaitility</artifactId>
243 <version>${awaitility.version}</version>
244 <scope>test</scope>
245 </dependency>
Krzysztof Gajewski3eced292021-01-13 12:47:27 +0100246 <dependency>
247 <groupId>org.powermock</groupId>
248 <artifactId>powermock-module-junit4</artifactId>
249 <version>${powermock.version}</version>
250 <scope>test</scope>
251 </dependency>
252 <dependency>
253 <groupId>org.powermock</groupId>
254 <artifactId>powermock-api-mockito2</artifactId>
255 <version>${powermock.version}</version>
256 <scope>test</scope>
257 </dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530258
259 <!--REQUIRED TO GENERATE DOCUMENTATION -->
260 <dependency>
261 <groupId>io.springfox</groupId>
262 <artifactId>springfox-swagger2</artifactId>
263 <version>${springfox.version}</version>
264 </dependency>
265 <dependency>
266 <groupId>io.springfox</groupId>
267 <artifactId>springfox-swagger-ui</artifactId>
268 <version>${springfox.version}</version>
269 </dependency>
270 <dependency>
271 <groupId>org.springdoc</groupId>
272 <artifactId>springdoc-openapi-ui</artifactId>
273 <version>${springdoc-openapi-ui.version}</version>
274 </dependency>
275 <dependency>
276 <groupId>org.springdoc</groupId>
277 <artifactId>springdoc-openapi-data-rest</artifactId>
278 <version>${springdoc-openapi-ui.version}</version>
279 </dependency>
280 <dependency>
281 <groupId>com.fasterxml.jackson.core</groupId>
282 <artifactId>jackson-databind</artifactId>
283 <version>${jackson-databind.version}</version>
284 </dependency>
285 <dependency>
286 <groupId>io.springfox</groupId>
287 <artifactId>springfox-spring-web</artifactId>
288 <version>${springfox.version}</version>
289 </dependency>
290 <dependency>
291 <groupId>io.springfox</groupId>
292 <artifactId>springfox-spi</artifactId>
293 <version>${springfox.version}</version>
294 </dependency>
295 <dependency>
296 <groupId>io.springfox</groupId>
297 <artifactId>springfox-core</artifactId>
298 <version>${springfox.version}</version>
299 </dependency>
300 <dependency>
301 <groupId>io.projectreactor</groupId>
302 <artifactId>reactor-bom</artifactId>
303 <version>${projectreactor.version}</version>
304 <type>pom</type>
305 <scope>import</scope>
306 </dependency>
307 </dependencies>
308 </dependencyManagement>
309
310 <build>
311 <pluginManagement>
312 <plugins>
313 <plugin>
314 <groupId>org.apache.maven.plugins</groupId>
315 <artifactId>maven-resources-plugin</artifactId>
316 <version>${maven-resources-plugin.version}</version>
317 <configuration>
318 <encoding>${project.build.sourceEncoding}</encoding>
319 </configuration>
320 </plugin>
321 <plugin>
322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-compiler-plugin</artifactId>
324 <version>3.7.0</version>
325 <configuration>
326 <source>${java.version}</source>
327 <target>${java.version}</target>
328 <encoding>${project.build.sourceEncoding}</encoding>
329 <showWarnings>true</showWarnings>
330 <showDeprecation>true</showDeprecation>
331 </configuration>
332 </plugin>
333 <plugin>
334 <groupId>org.apache.maven.plugins</groupId>
335 <artifactId>maven-surefire-plugin</artifactId>
336 <version>${maven-surefire-plugin.version}</version>
337 <dependencies>
338 <dependency>
339 <groupId>org.junit.platform</groupId>
340 <artifactId>junit-platform-surefire-provider</artifactId>
341 <version>${junit-platform.version}</version>
342 </dependency>
343 <dependency>
344 <groupId>org.junit.jupiter</groupId>
345 <artifactId>junit-jupiter-engine</artifactId>
346 <version>${junit-jupiter.version}</version>
347 </dependency>
348 </dependencies>
349 </plugin>
350 <plugin>
351 <groupId>com.spotify</groupId>
352 <artifactId>docker-maven-plugin</artifactId>
353 <version>${docker-maven-plugin.version}</version>
354 </plugin>
355 <plugin>
356 <groupId>org.springframework.boot</groupId>
357 <artifactId>spring-boot-maven-plugin</artifactId>
358 <version>${spring-boot.version}</version>
359 <executions>
360 <execution>
361 <goals>
362 <goal>repackage</goal>
363 </goals>
364 </execution>
365 </executions>
366 </plugin>
367 <plugin>
368 <groupId>org.apache.maven.plugins</groupId>
369 <artifactId>maven-deploy-plugin</artifactId>
370 </plugin>
371 <plugin>
372 <groupId>org.apache.maven.plugins</groupId>
373 <artifactId>maven-enforcer-plugin</artifactId>
374 <configuration>
375 <skip>true</skip>
376 </configuration>
377 </plugin>
378 <plugin>
379 <groupId>pl.project13.maven</groupId>
380 <artifactId>git-commit-id-plugin</artifactId>
381 <version>${git-commit-id-plugin.version}</version>
382 </plugin>
383 <plugin>
384 <groupId>net.revelc.code.formatter</groupId>
385 <artifactId>formatter-maven-plugin</artifactId>
386 <version>2.8.1</version>
387 <configuration>
388 <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
389 </configuration>
390 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
391 to rewrite source files use mvn formatter:validate to validate source files -->
392 </plugin>
393 <plugin>
394 <groupId>com.diffplug.spotless</groupId>
395 <artifactId>spotless-maven-plugin</artifactId>
396 <version>1.18.0</version>
397 <configuration>
398 <java>
399 <removeUnusedImports/>
400 <importOrder>
401 <order>com,java,javax,org</order>
402 </importOrder>
403 </java>
404 </configuration>
405 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
406 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
407 source files -->
408 </plugin>
409 </plugins>
410 </pluginManagement>
411 </build>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200412</project>