blob: 8febb28324a7fa3286901c88f9d8d7172535b5e6 [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=====================================================================
deen198571c13cd2020-08-03 11:06:37 +02004 ~ Copyright (C) 2018-2020 NOKIA Intellectual Property, 2018-2020 Nordix Foundation. All rights reserved.
elinuxhenrikf3945942018-09-14 15:49:10 +02005 ~ ==============================================================================================
elinuxhenrikd661dbc2018-08-17 12:34:58 +02006 ~ 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
9 ~
elinuxhenrikf3945942018-09-14 15:49:10 +020010 ~ http://www.apache.org/licenses/LICENSE-2.0
elinuxhenrikd661dbc2018-08-17 12:34:58 +020011 ~
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.
elinuxhenrikf3945942018-09-14 15:49:10 +020017 ~ ============LICENSE_END=======================================================================
elinuxhenrikd661dbc2018-08-17 12:34:58 +020018 -->
elinuxhenrik5a61d0c2018-09-18 13:18:03 +020019<project xmlns="http://maven.apache.org/POM/4.0.0"
20 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
elinuxhenrikd661dbc2018-08-17 12:34:58 +020022 <modelVersion>4.0.0</modelVersion>
elinuxhenrikf3945942018-09-14 15:49:10 +020023
elinuxhenrikd661dbc2018-08-17 12:34:58 +020024 <parent>
25 <groupId>org.onap.oparent</groupId>
26 <artifactId>oparent</artifactId>
elinuxhenrik415aa5b2019-06-28 12:18:16 +000027 <version>2.0.0</version>
elinuxhenrikf3945942018-09-14 15:49:10 +020028 <relativePath />
elinuxhenrikd661dbc2018-08-17 12:34:58 +020029 </parent>
elinuxhenrikf3945942018-09-14 15:49:10 +020030
elinuxhenrikd661dbc2018-08-17 12:34:58 +020031 <groupId>org.onap.dcaegen2.collectors</groupId>
32 <artifactId>datafile</artifactId>
Remigiusz Janeczek3b6c2732020-08-18 12:48:19 +020033 <version>1.4.3-SNAPSHOT</version>
wasala93adeb42018-09-18 14:17:19 +020034
elinuxhenrikf3945942018-09-14 15:49:10 +020035 <name>dcaegen2-collectors.datafile</name>
36 <description>datafile collector</description>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020037 <packaging>pom</packaging>
38
39 <licenses>
40 <license>
41 <name>The Apache Software License, Version 2.0</name>
42 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
43 </license>
44 </licenses>
45
elinuxhenrikd661dbc2018-08-17 12:34:58 +020046 <properties>
Piotr Marcinkiewicz79461fa2020-07-29 15:23:46 +020047 <java.version>11</java.version>
Remigiusz Janeczek3b6c2732020-08-18 12:48:19 +020048 <sdk.version>1.4.2</sdk.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020049 <apache.httpcomponents.version>4.1.4</apache.httpcomponents.version>
50 <apache.commons.version>3.6</apache.commons.version>
wasala93adeb42018-09-18 14:17:19 +020051 <immutable.version>2.7.1</immutable.version>
ERIMROB42a29322020-08-14 13:39:24 +010052 <spring.version>5.2.8.RELEASE</spring.version>
53 <spring-boot.version>2.2.9.RELEASE</spring-boot.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020054 <commons-io.version>1.3.2</commons-io.version>
55 <commons-net.version>3.3</commons-net.version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020056
57 <!-- LOGGING SETTINGS -->
58 <slf4j.version>1.7.25</slf4j.version>
59 <logback.version>1.2.3</logback.version>
60
61 <!--TEST SETTINGS -->
62 <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
Jan Malkiewicz5135fde2020-07-15 15:28:41 +020063 <junit-jupiter.version>5.5.2</junit-jupiter.version>
ERIMROB42a29322020-08-14 13:39:24 +010064 <junit-platform.version>1.3.2</junit-platform.version>
elinuxhenrikaddf3f12019-06-05 08:54:17 +000065 <mockito.version>2.23.4</mockito.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020066 <testng.version>6.14.2</testng.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020067 <jcraft.version>0.1.54</jcraft.version>
ERIMROB42a29322020-08-14 13:39:24 +010068 <springfox.version>2.9.2</springfox.version>
elinuxhenrikaddf3f12019-06-05 08:54:17 +000069 <awaitility.version>3.1.6</awaitility.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020070
71 <!-- Plugin versions -->
72 <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
ERIMROB42a29322020-08-14 13:39:24 +010073 <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020074 <docker-maven-plugin.version>1.1.1</docker-maven-plugin.version>
75 <git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version>
Hansen, Tony (th1395)b788d2d2020-02-11 22:05:48 +000076 <sonar.coverage.jacoco.xmlReportPaths>
77 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
78 </sonar.coverage.jacoco.xmlReportPaths>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020079 </properties>
80
elinuxhenrik215ab932019-04-17 11:07:48 +020081 <dependencyManagement>
82 <dependencies>
83 <dependency>
84 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
85 <artifactId>cbs-client</artifactId>
86 <version>${sdk.version}</version>
87 </dependency>
88 <dependency>
89 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
90 <artifactId>dmaap-client</artifactId>
91 <version>${sdk.version}</version>
92 </dependency>
93 <dependency>
Remigiusz Janeczek3b6c2732020-08-18 12:48:19 +020094 <groupId>org.onap.dcaegen2.services.sdk.security</groupId>
95 <artifactId>ssl</artifactId>
96 <version>${sdk.version}</version>
97 </dependency>
98 <dependency>
elinuxhenrik215ab932019-04-17 11:07:48 +020099 <groupId>org.apache.httpcomponents</groupId>
100 <artifactId>httpasyncclient</artifactId>
101 <version>${apache.httpcomponents.version}</version>
102 </dependency>
103 <dependency>
elinuxhenrikaddf3f12019-06-05 08:54:17 +0000104 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
105 <artifactId>common-dependency</artifactId>
106 <version>${sdk.version}</version>
107 </dependency>
108 <dependency>
elinuxhenrik215ab932019-04-17 11:07:48 +0200109 <groupId>org.apache.commons</groupId>
110 <artifactId>commons-lang3</artifactId>
111 <version>${apache.commons.version}</version>
112 </dependency>
113 <dependency>
114 <groupId>org.immutables</groupId>
115 <artifactId>value</artifactId>
116 <version>${immutable.version}</version>
117 <scope>provided</scope>
118 </dependency>
119 <dependency>
120 <groupId>org.immutables</groupId>
121 <artifactId>gson</artifactId>
122 <version>${immutable.version}</version>
123 </dependency>
124 <dependency>
125 <groupId>org.springframework</groupId>
126 <artifactId>spring-beans</artifactId>
127 <version>${spring.version}</version>
128 </dependency>
129 <dependency>
130 <groupId>org.springframework</groupId>
131 <artifactId>spring-context</artifactId>
132 <version>${spring.version}</version>
133 </dependency>
134 <dependency>
135 <groupId>org.springframework</groupId>
136 <artifactId>spring-webflux</artifactId>
137 <version>${spring.version}</version>
138 </dependency>
139 <dependency>
140 <groupId>org.springframework.boot</groupId>
141 <artifactId>spring-boot-dependencies</artifactId>
142 <version>${spring-boot.version}</version>
143 <type>pom</type>
144 <scope>import</scope>
145 </dependency>
146 <dependency>
147 <groupId>commons-io</groupId>
148 <artifactId>commons-io</artifactId>
149 <version>${commons-io.version}</version>
150 </dependency>
151 <dependency>
152 <groupId>commons-net</groupId>
153 <artifactId>commons-net</artifactId>
154 <version>${commons-net.version}</version>
155 </dependency>
156 <dependency>
157 <groupId>com.jcraft</groupId>
158 <artifactId>jsch</artifactId>
159 <version>${jcraft.version}</version>
160 </dependency>
elinuxhenrik215ab932019-04-17 11:07:48 +0200161 <dependency>
162 <groupId>ch.qos.logback</groupId>
163 <artifactId>logback-classic</artifactId>
164 <version>${logback.version}</version>
165 <scope>provided</scope>
166 </dependency>
167 <dependency>
168 <groupId>org.slf4j</groupId>
169 <artifactId>slf4j-api</artifactId>
170 <version>${slf4j.version}</version>
171 </dependency>
elinuxhenrik215ab932019-04-17 11:07:48 +0200172 <dependency>
173 <groupId>org.junit.jupiter</groupId>
174 <artifactId>junit-jupiter-api</artifactId>
175 <version>${junit-jupiter.version}</version>
176 <scope>test</scope>
177 </dependency>
178 <dependency>
179 <groupId>org.junit.jupiter</groupId>
180 <artifactId>junit-jupiter-engine</artifactId>
181 <version>${junit-jupiter.version}</version>
182 <scope>test</scope>
183 </dependency>
184 <dependency>
elinuxhenrik215ab932019-04-17 11:07:48 +0200185 <groupId>org.springframework</groupId>
186 <artifactId>spring-test</artifactId>
187 <version>${spring.version}</version>
188 <scope>test</scope>
189 </dependency>
190 <dependency>
191 <groupId>org.mockito</groupId>
elinuxhenrikaddf3f12019-06-05 08:54:17 +0000192 <artifactId>mockito-junit-jupiter</artifactId>
193 <version>${mockito.version}</version>
194 <scope>test</scope>
195 </dependency>
196 <dependency>
197 <groupId>org.mockito</groupId>
elinuxhenrik215ab932019-04-17 11:07:48 +0200198 <artifactId>mockito-core</artifactId>
199 <version>${mockito.version}</version>
200 <scope>test</scope>
201 </dependency>
202 <dependency>
203 <groupId>org.testng</groupId>
204 <artifactId>testng</artifactId>
205 <version>${testng.version}</version>
206 <scope>test</scope>
207 </dependency>
208 <dependency>
209 <groupId>org.springframework.boot</groupId>
210 <artifactId>spring-boot-starter-test</artifactId>
211 <version>${spring-boot.version}</version>
212 <scope>test</scope>
213 </dependency>
214 <dependency>
elinuxhenrikaddf3f12019-06-05 08:54:17 +0000215 <groupId>org.awaitility</groupId>
216 <artifactId>awaitility</artifactId>
217 <version>${awaitility.version}</version>
218 <scope>test</scope>
elinuxhenrik215ab932019-04-17 11:07:48 +0200219 </dependency>
220
221 <!--REQUIRED TO GENERATE DOCUMENTATION -->
222 <dependency>
223 <groupId>io.springfox</groupId>
224 <artifactId>springfox-swagger2</artifactId>
225 <version>${springfox.version}</version>
226 </dependency>
227 <dependency>
228 <groupId>io.springfox</groupId>
229 <artifactId>springfox-swagger-ui</artifactId>
230 <version>${springfox.version}</version>
231 </dependency>
232 </dependencies>
233 </dependencyManagement>
234
elinuxhenrikf3945942018-09-14 15:49:10 +0200235 <modules>
Vijay Venkatesh Kumar0ae7a7f2018-10-05 14:14:00 +0200236 <module>datafile-app-server</module>
elinuxhenrikf3945942018-09-14 15:49:10 +0200237 </modules>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200238
239 <build>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200240 <pluginManagement>
241 <plugins>
elinuxhenrikf3945942018-09-14 15:49:10 +0200242 <plugin>
243 <groupId>org.apache.maven.plugins</groupId>
244 <artifactId>maven-resources-plugin</artifactId>
elinuxhenrik215ab932019-04-17 11:07:48 +0200245 <version>${maven-resources-plugin.version}</version>
elinuxhenrikf3945942018-09-14 15:49:10 +0200246 <configuration>
247 <encoding>${project.build.sourceEncoding}</encoding>
248 </configuration>
249 </plugin>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200250 <plugin>
251 <groupId>org.apache.maven.plugins</groupId>
252 <artifactId>maven-compiler-plugin</artifactId>
elinuxhenrikf3945942018-09-14 15:49:10 +0200253 <version>3.7.0</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200254 <configuration>
255 <source>${java.version}</source>
256 <target>${java.version}</target>
elinuxhenrikf3945942018-09-14 15:49:10 +0200257 <encoding>${project.build.sourceEncoding}</encoding>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200258 <showWarnings>true</showWarnings>
259 <showDeprecation>true</showDeprecation>
260 </configuration>
261 </plugin>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200262 <plugin>
263 <groupId>org.apache.maven.plugins</groupId>
264 <artifactId>maven-surefire-plugin</artifactId>
ERIMROB42a29322020-08-14 13:39:24 +0100265 <version>${maven-surefire-plugin.version}</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200266 <dependencies>
267 <dependency>
268 <groupId>org.junit.platform</groupId>
269 <artifactId>junit-platform-surefire-provider</artifactId>
elinuxhenrikf3945942018-09-14 15:49:10 +0200270 <version>${junit-platform.version}</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200271 </dependency>
ERIMROB42a29322020-08-14 13:39:24 +0100272 <dependency>
273 <groupId>org.junit.jupiter</groupId>
274 <artifactId>junit-jupiter-engine</artifactId>
275 <version>${junit-jupiter.version}</version>
276 </dependency>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200277 </dependencies>
278 </plugin>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200279 <plugin>
280 <groupId>com.spotify</groupId>
281 <artifactId>docker-maven-plugin</artifactId>
elinuxhenrik215ab932019-04-17 11:07:48 +0200282 <version>${docker-maven-plugin.version}</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200283 </plugin>
284 <plugin>
elinuxhenrikf3945942018-09-14 15:49:10 +0200285 <groupId>org.springframework.boot</groupId>
286 <artifactId>spring-boot-maven-plugin</artifactId>
287 <version>${spring-boot.version}</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200288 <executions>
289 <execution>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200290 <goals>
elinuxhenrikf3945942018-09-14 15:49:10 +0200291 <goal>repackage</goal>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200292 </goals>
293 </execution>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200294 </executions>
295 </plugin>
296 <plugin>
297 <groupId>org.apache.maven.plugins</groupId>
298 <artifactId>maven-deploy-plugin</artifactId>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200299 </plugin>
pwielebs8a84a9d2019-01-07 13:48:18 +0100300 <plugin>
301 <groupId>org.apache.maven.plugins</groupId>
302 <artifactId>maven-enforcer-plugin</artifactId>
303 <configuration>
304 <skip>true</skip>
305 </configuration>
306 </plugin>
PatrikBuhr1ee111c2019-04-12 08:24:36 +0000307 <plugin>
308 <groupId>pl.project13.maven</groupId>
309 <artifactId>git-commit-id-plugin</artifactId>
elinuxhenrik215ab932019-04-17 11:07:48 +0200310 <version>${git-commit-id-plugin.version}</version>
PatrikBuhr1ee111c2019-04-12 08:24:36 +0000311 </plugin>
PatrikBuhr30eab2b2019-05-29 08:31:52 +0000312 <plugin>
313 <groupId>net.revelc.code.formatter</groupId>
314 <artifactId>formatter-maven-plugin</artifactId>
315 <version>2.8.1</version>
316 <configuration>
317 <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
318 </configuration>
319 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
320 to rewrite source files use mvn formatter:validate to validate source files -->
321 </plugin>
322 <plugin>
323 <groupId>com.diffplug.spotless</groupId>
324 <artifactId>spotless-maven-plugin</artifactId>
325 <version>1.18.0</version>
326 <configuration>
327 <java>
328 <removeUnusedImports/>
329 <importOrder>
330 <order>com,java,javax,org</order>
331 </importOrder>
332 </java>
333 </configuration>
334 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
335 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
336 source files -->
337 </plugin>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200338 </plugins>
339 </pluginManagement>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200340 </build>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200341</project>