blob: 7f328cda6486d0691a0f94d3cb1ffcf194a64f21 [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=====================================================================
ajay_dp0018cc9e642021-01-29 17:44:27 +05304 ~ Copyright (C) 2018-2020 NOKIA Intellectual Property. All rights reserved.
5 ~ Copyright (C) 2018-2021 Nordix Foundation. All rights reserved.
elinuxhenrikf3945942018-09-14 15:49:10 +02006 ~ ==============================================================================================
elinuxhenrikd661dbc2018-08-17 12:34:58 +02007 ~ Licensed under the Apache License, Version 2.0 (the "License");
8 ~ you may not use this file except in compliance with the License.
9 ~ You may obtain a copy of the License at
10 ~
elinuxhenrikf3945942018-09-14 15:49:10 +020011 ~ http://www.apache.org/licenses/LICENSE-2.0
elinuxhenrikd661dbc2018-08-17 12:34:58 +020012 ~
13 ~ Unless required by applicable law or agreed to in writing, software
14 ~ distributed under the License is distributed on an "AS IS" BASIS,
15 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 ~ See the License for the specific language governing permissions and
17 ~ limitations under the License.
elinuxhenrikf3945942018-09-14 15:49:10 +020018 ~ ============LICENSE_END=======================================================================
elinuxhenrikd661dbc2018-08-17 12:34:58 +020019 -->
elinuxhenrik5a61d0c2018-09-18 13:18:03 +020020<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">
ajay_dp0018cc9e642021-01-29 17:44:27 +053023 <modelVersion>4.0.0</modelVersion>
elinuxhenrikf3945942018-09-14 15:49:10 +020024
ajay_dp0018cc9e642021-01-29 17:44:27 +053025 <parent>
26 <groupId>org.onap.oparent</groupId>
27 <artifactId>oparent</artifactId>
28 <version>2.0.0</version>
29 <relativePath/>
30 </parent>
elinuxhenrikf3945942018-09-14 15:49:10 +020031
ajay_dp0018cc9e642021-01-29 17:44:27 +053032 <groupId>org.onap.dcaegen2.collectors</groupId>
33 <artifactId>datafile</artifactId>
34 <version>1.5.2-SNAPSHOT</version>
wasala93adeb42018-09-18 14:17:19 +020035
ajay_dp0018cc9e642021-01-29 17:44:27 +053036 <name>dcaegen2-collectors.datafile</name>
37 <description>datafile collector</description>
38 <packaging>pom</packaging>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020039
ajay_dp0018cc9e642021-01-29 17:44:27 +053040 <modules>
41 <module>datafile-app-server</module>
42 </modules>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020043
ajay_dp0018cc9e642021-01-29 17:44:27 +053044 <licenses>
45 <license>
46 <name>The Apache Software License, Version 2.0</name>
47 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
48 </license>
49 </licenses>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020050
ajay_dp0018cc9e642021-01-29 17:44:27 +053051 <properties>
52 <java.version>11</java.version>
53 <sdk.version>1.5.0</sdk.version>
54 <apache.httpcomponents.version>4.1.4</apache.httpcomponents.version>
55 <apache.commons.version>3.6</apache.commons.version>
56 <immutable.version>2.7.1</immutable.version>
57 <spring.version>5.3.1</spring.version>
58 <spring-boot.version>2.4.0</spring-boot.version>
59 <commons-io.version>2.8.0</commons-io.version>
60 <commons-net.version>3.3</commons-net.version>
61 <projectreactor.version>2020.0.2</projectreactor.version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020062
ajay_dp0018cc9e642021-01-29 17:44:27 +053063 <!-- LOGGING SETTINGS -->
64 <slf4j.version>1.7.25</slf4j.version>
65 <logback.version>1.2.3</logback.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020066
ajay_dp0018cc9e642021-01-29 17:44:27 +053067 <!--TEST SETTINGS -->
68 <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
69 <junit-jupiter.version>5.5.2</junit-jupiter.version>
70 <junit-platform.version>1.3.2</junit-platform.version>
71 <mockito.version>2.23.4</mockito.version>
72 <testng.version>6.14.2</testng.version>
73 <jcraft.version>0.1.54</jcraft.version>
74 <springfox.version>3.0.0</springfox.version>
75 <awaitility.version>3.1.6</awaitility.version>
76 <jackson-databind.version>2.11.4</jackson-databind.version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020077
ajay_dp0018cc9e642021-01-29 17:44:27 +053078 <!-- Plugin versions -->
79 <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
80 <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
81 <docker-maven-plugin.version>1.2.1</docker-maven-plugin.version>
82 <git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version>
83 <sonar.coverage.jacoco.xmlReportPaths>
84 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
85 </sonar.coverage.jacoco.xmlReportPaths>
86 <springdoc-openapi-ui.version>1.5.3</springdoc-openapi-ui.version>
87 </properties>
elinuxhenrik215ab932019-04-17 11:07:48 +020088
ajay_dp0018cc9e642021-01-29 17:44:27 +053089 <dependencyManagement>
90 <dependencies>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020091 <dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +053092 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
93 <artifactId>cbs-client</artifactId>
94 <version>${sdk.version}</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020095 </dependency>
ERIMROB42a29322020-08-14 13:39:24 +010096 <dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +053097 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
98 <artifactId>dmaap-client</artifactId>
99 <version>${sdk.version}</version>
ERIMROB42a29322020-08-14 13:39:24 +0100100 </dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530101 <dependency>
102 <groupId>org.onap.dcaegen2.services.sdk.security</groupId>
103 <artifactId>ssl</artifactId>
104 <version>${sdk.version}</version>
105 </dependency>
106 <dependency>
107 <groupId>org.apache.httpcomponents</groupId>
108 <artifactId>httpasyncclient</artifactId>
109 <version>${apache.httpcomponents.version}</version>
110 </dependency>
111 <dependency>
112 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
113 <artifactId>common-dependency</artifactId>
114 <version>${sdk.version}</version>
115 </dependency>
116 <dependency>
117 <groupId>org.apache.commons</groupId>
118 <artifactId>commons-lang3</artifactId>
119 <version>${apache.commons.version}</version>
120 </dependency>
121 <dependency>
122 <groupId>org.immutables</groupId>
123 <artifactId>value</artifactId>
124 <version>${immutable.version}</version>
125 <scope>provided</scope>
126 </dependency>
127 <dependency>
128 <groupId>org.immutables</groupId>
129 <artifactId>gson</artifactId>
130 <version>${immutable.version}</version>
131 </dependency>
132 <dependency>
133 <groupId>org.springframework</groupId>
134 <artifactId>spring-web</artifactId>
135 <version>${spring.version}</version>
136 </dependency>
137 <dependency>
138 <groupId>org.springframework</groupId>
139 <artifactId>spring-webmvc</artifactId>
140 <version>${spring.version}</version>
141 </dependency>
142 <dependency>
143 <groupId>org.springframework</groupId>
144 <artifactId>spring-beans</artifactId>
145 <version>${spring.version}</version>
146 </dependency>
147 <dependency>
148 <groupId>org.springframework</groupId>
149 <artifactId>spring-context</artifactId>
150 <version>${spring.version}</version>
151 </dependency>
152 <dependency>
153 <groupId>org.springframework</groupId>
154 <artifactId>spring-webflux</artifactId>
155 <version>${spring.version}</version>
156 </dependency>
157 <dependency>
158 <groupId>org.springframework.boot</groupId>
159 <artifactId>spring-boot-dependencies</artifactId>
160 <version>${spring-boot.version}</version>
161 <type>pom</type>
162 <scope>import</scope>
163 </dependency>
164 <dependency>
165 <groupId>commons-io</groupId>
166 <artifactId>commons-io</artifactId>
167 <version>${commons-io.version}</version>
168 </dependency>
169 <dependency>
170 <groupId>commons-net</groupId>
171 <artifactId>commons-net</artifactId>
172 <version>${commons-net.version}</version>
173 </dependency>
174 <dependency>
175 <groupId>com.jcraft</groupId>
176 <artifactId>jsch</artifactId>
177 <version>${jcraft.version}</version>
178 </dependency>
179 <dependency>
180 <groupId>ch.qos.logback</groupId>
181 <artifactId>logback-classic</artifactId>
182 <version>${logback.version}</version>
183 <scope>provided</scope>
184 </dependency>
185 <dependency>
186 <groupId>org.slf4j</groupId>
187 <artifactId>slf4j-api</artifactId>
188 <version>${slf4j.version}</version>
189 </dependency>
190 <dependency>
191 <groupId>org.junit.jupiter</groupId>
192 <artifactId>junit-jupiter-api</artifactId>
193 <version>${junit-jupiter.version}</version>
194 <scope>test</scope>
195 </dependency>
196 <dependency>
197 <groupId>org.junit.jupiter</groupId>
198 <artifactId>junit-jupiter-engine</artifactId>
199 <version>${junit-jupiter.version}</version>
200 <scope>test</scope>
201 </dependency>
202 <dependency>
203 <groupId>org.springframework</groupId>
204 <artifactId>spring-test</artifactId>
205 <version>${spring.version}</version>
206 <scope>test</scope>
207 </dependency>
208 <dependency>
209 <groupId>org.mockito</groupId>
210 <artifactId>mockito-junit-jupiter</artifactId>
211 <version>${mockito.version}</version>
212 <scope>test</scope>
213 </dependency>
214 <dependency>
215 <groupId>org.mockito</groupId>
216 <artifactId>mockito-core</artifactId>
217 <version>${mockito.version}</version>
218 <scope>test</scope>
219 </dependency>
220 <dependency>
221 <groupId>org.testng</groupId>
222 <artifactId>testng</artifactId>
223 <version>${testng.version}</version>
224 <scope>test</scope>
225 </dependency>
226 <dependency>
227 <groupId>org.springframework.boot</groupId>
228 <artifactId>spring-boot-starter-test</artifactId>
229 <version>${spring-boot.version}</version>
230 <scope>test</scope>
231 </dependency>
232 <dependency>
233 <groupId>org.awaitility</groupId>
234 <artifactId>awaitility</artifactId>
235 <version>${awaitility.version}</version>
236 <scope>test</scope>
237 </dependency>
238
239 <!--REQUIRED TO GENERATE DOCUMENTATION -->
240 <dependency>
241 <groupId>io.springfox</groupId>
242 <artifactId>springfox-swagger2</artifactId>
243 <version>${springfox.version}</version>
244 </dependency>
245 <dependency>
246 <groupId>io.springfox</groupId>
247 <artifactId>springfox-swagger-ui</artifactId>
248 <version>${springfox.version}</version>
249 </dependency>
250 <dependency>
251 <groupId>org.springdoc</groupId>
252 <artifactId>springdoc-openapi-ui</artifactId>
253 <version>${springdoc-openapi-ui.version}</version>
254 </dependency>
255 <dependency>
256 <groupId>org.springdoc</groupId>
257 <artifactId>springdoc-openapi-data-rest</artifactId>
258 <version>${springdoc-openapi-ui.version}</version>
259 </dependency>
260 <dependency>
261 <groupId>com.fasterxml.jackson.core</groupId>
262 <artifactId>jackson-databind</artifactId>
263 <version>${jackson-databind.version}</version>
264 </dependency>
265 <dependency>
266 <groupId>io.springfox</groupId>
267 <artifactId>springfox-spring-web</artifactId>
268 <version>${springfox.version}</version>
269 </dependency>
270 <dependency>
271 <groupId>io.springfox</groupId>
272 <artifactId>springfox-spi</artifactId>
273 <version>${springfox.version}</version>
274 </dependency>
275 <dependency>
276 <groupId>io.springfox</groupId>
277 <artifactId>springfox-core</artifactId>
278 <version>${springfox.version}</version>
279 </dependency>
280 <dependency>
281 <groupId>io.projectreactor</groupId>
282 <artifactId>reactor-bom</artifactId>
283 <version>${projectreactor.version}</version>
284 <type>pom</type>
285 <scope>import</scope>
286 </dependency>
287 </dependencies>
288 </dependencyManagement>
289
290 <build>
291 <pluginManagement>
292 <plugins>
293 <plugin>
294 <groupId>org.apache.maven.plugins</groupId>
295 <artifactId>maven-resources-plugin</artifactId>
296 <version>${maven-resources-plugin.version}</version>
297 <configuration>
298 <encoding>${project.build.sourceEncoding}</encoding>
299 </configuration>
300 </plugin>
301 <plugin>
302 <groupId>org.apache.maven.plugins</groupId>
303 <artifactId>maven-compiler-plugin</artifactId>
304 <version>3.7.0</version>
305 <configuration>
306 <source>${java.version}</source>
307 <target>${java.version}</target>
308 <encoding>${project.build.sourceEncoding}</encoding>
309 <showWarnings>true</showWarnings>
310 <showDeprecation>true</showDeprecation>
311 </configuration>
312 </plugin>
313 <plugin>
314 <groupId>org.apache.maven.plugins</groupId>
315 <artifactId>maven-surefire-plugin</artifactId>
316 <version>${maven-surefire-plugin.version}</version>
317 <dependencies>
318 <dependency>
319 <groupId>org.junit.platform</groupId>
320 <artifactId>junit-platform-surefire-provider</artifactId>
321 <version>${junit-platform.version}</version>
322 </dependency>
323 <dependency>
324 <groupId>org.junit.jupiter</groupId>
325 <artifactId>junit-jupiter-engine</artifactId>
326 <version>${junit-jupiter.version}</version>
327 </dependency>
328 </dependencies>
329 </plugin>
330 <plugin>
331 <groupId>com.spotify</groupId>
332 <artifactId>docker-maven-plugin</artifactId>
333 <version>${docker-maven-plugin.version}</version>
334 </plugin>
335 <plugin>
336 <groupId>org.springframework.boot</groupId>
337 <artifactId>spring-boot-maven-plugin</artifactId>
338 <version>${spring-boot.version}</version>
339 <executions>
340 <execution>
341 <goals>
342 <goal>repackage</goal>
343 </goals>
344 </execution>
345 </executions>
346 </plugin>
347 <plugin>
348 <groupId>org.apache.maven.plugins</groupId>
349 <artifactId>maven-deploy-plugin</artifactId>
350 </plugin>
351 <plugin>
352 <groupId>org.apache.maven.plugins</groupId>
353 <artifactId>maven-enforcer-plugin</artifactId>
354 <configuration>
355 <skip>true</skip>
356 </configuration>
357 </plugin>
358 <plugin>
359 <groupId>pl.project13.maven</groupId>
360 <artifactId>git-commit-id-plugin</artifactId>
361 <version>${git-commit-id-plugin.version}</version>
362 </plugin>
363 <plugin>
364 <groupId>net.revelc.code.formatter</groupId>
365 <artifactId>formatter-maven-plugin</artifactId>
366 <version>2.8.1</version>
367 <configuration>
368 <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
369 </configuration>
370 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
371 to rewrite source files use mvn formatter:validate to validate source files -->
372 </plugin>
373 <plugin>
374 <groupId>com.diffplug.spotless</groupId>
375 <artifactId>spotless-maven-plugin</artifactId>
376 <version>1.18.0</version>
377 <configuration>
378 <java>
379 <removeUnusedImports/>
380 <importOrder>
381 <order>com,java,javax,org</order>
382 </importOrder>
383 </java>
384 </configuration>
385 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
386 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
387 source files -->
388 </plugin>
389 </plugins>
390 </pluginManagement>
391 </build>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200392</project>