elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 3 | ~ ============LICENSE_START===================================================================== |
Krzysztof Gajewski | 3eced29 | 2021-01-13 12:47:27 +0100 | [diff] [blame] | 4 | ~ Copyright (C) 2018-2021 NOKIA Intellectual Property. All rights reserved. |
ajay_dp001 | 8cc9e64 | 2021-01-29 17:44:27 +0530 | [diff] [blame] | 5 | ~ Copyright (C) 2018-2021 Nordix Foundation. All rights reserved. |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 6 | ~ ============================================================================================== |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 7 | ~ 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 | ~ |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 11 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 12 | ~ |
| 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. |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 18 | ~ ============LICENSE_END======================================================================= |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 19 | --> |
elinuxhenrik | 5a61d0c | 2018-09-18 13:18:03 +0200 | [diff] [blame] | 20 | <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_dp001 | 8cc9e64 | 2021-01-29 17:44:27 +0530 | [diff] [blame] | 23 | <modelVersion>4.0.0</modelVersion> |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 24 | |
ajay_dp001 | 8cc9e64 | 2021-01-29 17:44:27 +0530 | [diff] [blame] | 25 | <parent> |
| 26 | <groupId>org.onap.oparent</groupId> |
| 27 | <artifactId>oparent</artifactId> |
| 28 | <version>2.0.0</version> |
| 29 | <relativePath/> |
| 30 | </parent> |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 31 | |
ajay_dp001 | 8cc9e64 | 2021-01-29 17:44:27 +0530 | [diff] [blame] | 32 | <groupId>org.onap.dcaegen2.collectors</groupId> |
| 33 | <artifactId>datafile</artifactId> |
Krzysztof Gajewski | 6055339 | 2021-02-15 14:07:44 +0100 | [diff] [blame^] | 34 | <version>1.5.4-SNAPSHOT</version> |
wasala | 93adeb4 | 2018-09-18 14:17:19 +0200 | [diff] [blame] | 35 | |
ajay_dp001 | 8cc9e64 | 2021-01-29 17:44:27 +0530 | [diff] [blame] | 36 | <name>dcaegen2-collectors.datafile</name> |
| 37 | <description>datafile collector</description> |
| 38 | <packaging>pom</packaging> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 39 | |
ajay_dp001 | 8cc9e64 | 2021-01-29 17:44:27 +0530 | [diff] [blame] | 40 | <modules> |
| 41 | <module>datafile-app-server</module> |
| 42 | </modules> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 43 | |
ajay_dp001 | 8cc9e64 | 2021-01-29 17:44:27 +0530 | [diff] [blame] | 44 | <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> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 50 | |
ajay_dp001 | 8cc9e64 | 2021-01-29 17:44:27 +0530 | [diff] [blame] | 51 | <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> |
Krzysztof Gajewski | 6055339 | 2021-02-15 14:07:44 +0100 | [diff] [blame^] | 62 | <httpcomponents.core5.version>5.0.3</httpcomponents.core5.version> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 63 | |
ajay_dp001 | 8cc9e64 | 2021-01-29 17:44:27 +0530 | [diff] [blame] | 64 | <!-- LOGGING SETTINGS --> |
| 65 | <slf4j.version>1.7.25</slf4j.version> |
| 66 | <logback.version>1.2.3</logback.version> |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 67 | |
ajay_dp001 | 8cc9e64 | 2021-01-29 17:44:27 +0530 | [diff] [blame] | 68 | <!--TEST SETTINGS --> |
| 69 | <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile> |
| 70 | <junit-jupiter.version>5.5.2</junit-jupiter.version> |
| 71 | <junit-platform.version>1.3.2</junit-platform.version> |
| 72 | <mockito.version>2.23.4</mockito.version> |
| 73 | <testng.version>6.14.2</testng.version> |
| 74 | <jcraft.version>0.1.54</jcraft.version> |
| 75 | <springfox.version>3.0.0</springfox.version> |
| 76 | <awaitility.version>3.1.6</awaitility.version> |
| 77 | <jackson-databind.version>2.11.4</jackson-databind.version> |
Krzysztof Gajewski | 3eced29 | 2021-01-13 12:47:27 +0100 | [diff] [blame] | 78 | <powermock.version>2.0.9</powermock.version> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 79 | |
ajay_dp001 | 8cc9e64 | 2021-01-29 17:44:27 +0530 | [diff] [blame] | 80 | <!-- Plugin versions --> |
| 81 | <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version> |
| 82 | <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version> |
| 83 | <docker-maven-plugin.version>1.2.1</docker-maven-plugin.version> |
| 84 | <git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version> |
| 85 | <sonar.coverage.jacoco.xmlReportPaths> |
| 86 | ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml |
| 87 | </sonar.coverage.jacoco.xmlReportPaths> |
| 88 | <springdoc-openapi-ui.version>1.5.3</springdoc-openapi-ui.version> |
| 89 | </properties> |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 90 | |
ajay_dp001 | 8cc9e64 | 2021-01-29 17:44:27 +0530 | [diff] [blame] | 91 | <dependencyManagement> |
| 92 | <dependencies> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 93 | <dependency> |
ajay_dp001 | 8cc9e64 | 2021-01-29 17:44:27 +0530 | [diff] [blame] | 94 | <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId> |
| 95 | <artifactId>cbs-client</artifactId> |
| 96 | <version>${sdk.version}</version> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 97 | </dependency> |
ERIMROB | 42a2932 | 2020-08-14 13:39:24 +0100 | [diff] [blame] | 98 | <dependency> |
ajay_dp001 | 8cc9e64 | 2021-01-29 17:44:27 +0530 | [diff] [blame] | 99 | <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId> |
| 100 | <artifactId>dmaap-client</artifactId> |
| 101 | <version>${sdk.version}</version> |
ERIMROB | 42a2932 | 2020-08-14 13:39:24 +0100 | [diff] [blame] | 102 | </dependency> |
ajay_dp001 | 8cc9e64 | 2021-01-29 17:44:27 +0530 | [diff] [blame] | 103 | <dependency> |
| 104 | <groupId>org.onap.dcaegen2.services.sdk.security</groupId> |
| 105 | <artifactId>ssl</artifactId> |
| 106 | <version>${sdk.version}</version> |
| 107 | </dependency> |
| 108 | <dependency> |
| 109 | <groupId>org.apache.httpcomponents</groupId> |
| 110 | <artifactId>httpasyncclient</artifactId> |
| 111 | <version>${apache.httpcomponents.version}</version> |
| 112 | </dependency> |
| 113 | <dependency> |
| 114 | <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId> |
| 115 | <artifactId>common-dependency</artifactId> |
| 116 | <version>${sdk.version}</version> |
| 117 | </dependency> |
| 118 | <dependency> |
| 119 | <groupId>org.apache.commons</groupId> |
| 120 | <artifactId>commons-lang3</artifactId> |
| 121 | <version>${apache.commons.version}</version> |
| 122 | </dependency> |
| 123 | <dependency> |
| 124 | <groupId>org.immutables</groupId> |
| 125 | <artifactId>value</artifactId> |
| 126 | <version>${immutable.version}</version> |
| 127 | <scope>provided</scope> |
| 128 | </dependency> |
| 129 | <dependency> |
| 130 | <groupId>org.immutables</groupId> |
| 131 | <artifactId>gson</artifactId> |
| 132 | <version>${immutable.version}</version> |
| 133 | </dependency> |
| 134 | <dependency> |
| 135 | <groupId>org.springframework</groupId> |
| 136 | <artifactId>spring-web</artifactId> |
| 137 | <version>${spring.version}</version> |
| 138 | </dependency> |
| 139 | <dependency> |
| 140 | <groupId>org.springframework</groupId> |
| 141 | <artifactId>spring-webmvc</artifactId> |
| 142 | <version>${spring.version}</version> |
| 143 | </dependency> |
| 144 | <dependency> |
| 145 | <groupId>org.springframework</groupId> |
| 146 | <artifactId>spring-beans</artifactId> |
| 147 | <version>${spring.version}</version> |
| 148 | </dependency> |
| 149 | <dependency> |
| 150 | <groupId>org.springframework</groupId> |
| 151 | <artifactId>spring-context</artifactId> |
| 152 | <version>${spring.version}</version> |
| 153 | </dependency> |
| 154 | <dependency> |
| 155 | <groupId>org.springframework</groupId> |
| 156 | <artifactId>spring-webflux</artifactId> |
| 157 | <version>${spring.version}</version> |
| 158 | </dependency> |
| 159 | <dependency> |
| 160 | <groupId>org.springframework.boot</groupId> |
| 161 | <artifactId>spring-boot-dependencies</artifactId> |
| 162 | <version>${spring-boot.version}</version> |
| 163 | <type>pom</type> |
| 164 | <scope>import</scope> |
| 165 | </dependency> |
| 166 | <dependency> |
| 167 | <groupId>commons-io</groupId> |
| 168 | <artifactId>commons-io</artifactId> |
| 169 | <version>${commons-io.version}</version> |
| 170 | </dependency> |
| 171 | <dependency> |
| 172 | <groupId>commons-net</groupId> |
| 173 | <artifactId>commons-net</artifactId> |
| 174 | <version>${commons-net.version}</version> |
| 175 | </dependency> |
| 176 | <dependency> |
| 177 | <groupId>com.jcraft</groupId> |
| 178 | <artifactId>jsch</artifactId> |
| 179 | <version>${jcraft.version}</version> |
| 180 | </dependency> |
| 181 | <dependency> |
| 182 | <groupId>ch.qos.logback</groupId> |
| 183 | <artifactId>logback-classic</artifactId> |
| 184 | <version>${logback.version}</version> |
| 185 | <scope>provided</scope> |
| 186 | </dependency> |
| 187 | <dependency> |
| 188 | <groupId>org.slf4j</groupId> |
| 189 | <artifactId>slf4j-api</artifactId> |
| 190 | <version>${slf4j.version}</version> |
| 191 | </dependency> |
| 192 | <dependency> |
Krzysztof Gajewski | 6055339 | 2021-02-15 14:07:44 +0100 | [diff] [blame^] | 193 | <groupId>org.apache.httpcomponents.core5</groupId> |
| 194 | <artifactId>httpcore5</artifactId> |
| 195 | <version>${httpcomponents.core5.version}</version> |
| 196 | </dependency> |
| 197 | <dependency> |
ajay_dp001 | 8cc9e64 | 2021-01-29 17:44:27 +0530 | [diff] [blame] | 198 | <groupId>org.junit.jupiter</groupId> |
| 199 | <artifactId>junit-jupiter-api</artifactId> |
| 200 | <version>${junit-jupiter.version}</version> |
| 201 | <scope>test</scope> |
| 202 | </dependency> |
| 203 | <dependency> |
| 204 | <groupId>org.junit.jupiter</groupId> |
| 205 | <artifactId>junit-jupiter-engine</artifactId> |
| 206 | <version>${junit-jupiter.version}</version> |
| 207 | <scope>test</scope> |
| 208 | </dependency> |
| 209 | <dependency> |
| 210 | <groupId>org.springframework</groupId> |
| 211 | <artifactId>spring-test</artifactId> |
| 212 | <version>${spring.version}</version> |
| 213 | <scope>test</scope> |
| 214 | </dependency> |
| 215 | <dependency> |
| 216 | <groupId>org.mockito</groupId> |
| 217 | <artifactId>mockito-junit-jupiter</artifactId> |
| 218 | <version>${mockito.version}</version> |
| 219 | <scope>test</scope> |
| 220 | </dependency> |
| 221 | <dependency> |
| 222 | <groupId>org.mockito</groupId> |
| 223 | <artifactId>mockito-core</artifactId> |
| 224 | <version>${mockito.version}</version> |
| 225 | <scope>test</scope> |
| 226 | </dependency> |
| 227 | <dependency> |
| 228 | <groupId>org.testng</groupId> |
| 229 | <artifactId>testng</artifactId> |
| 230 | <version>${testng.version}</version> |
| 231 | <scope>test</scope> |
| 232 | </dependency> |
| 233 | <dependency> |
| 234 | <groupId>org.springframework.boot</groupId> |
| 235 | <artifactId>spring-boot-starter-test</artifactId> |
| 236 | <version>${spring-boot.version}</version> |
| 237 | <scope>test</scope> |
| 238 | </dependency> |
| 239 | <dependency> |
| 240 | <groupId>org.awaitility</groupId> |
| 241 | <artifactId>awaitility</artifactId> |
| 242 | <version>${awaitility.version}</version> |
| 243 | <scope>test</scope> |
| 244 | </dependency> |
Krzysztof Gajewski | 3eced29 | 2021-01-13 12:47:27 +0100 | [diff] [blame] | 245 | <dependency> |
| 246 | <groupId>org.powermock</groupId> |
| 247 | <artifactId>powermock-module-junit4</artifactId> |
| 248 | <version>${powermock.version}</version> |
| 249 | <scope>test</scope> |
| 250 | </dependency> |
| 251 | <dependency> |
| 252 | <groupId>org.powermock</groupId> |
| 253 | <artifactId>powermock-api-mockito2</artifactId> |
| 254 | <version>${powermock.version}</version> |
| 255 | <scope>test</scope> |
| 256 | </dependency> |
ajay_dp001 | 8cc9e64 | 2021-01-29 17:44:27 +0530 | [diff] [blame] | 257 | |
| 258 | <!--REQUIRED TO GENERATE DOCUMENTATION --> |
| 259 | <dependency> |
| 260 | <groupId>io.springfox</groupId> |
| 261 | <artifactId>springfox-swagger2</artifactId> |
| 262 | <version>${springfox.version}</version> |
| 263 | </dependency> |
| 264 | <dependency> |
| 265 | <groupId>io.springfox</groupId> |
| 266 | <artifactId>springfox-swagger-ui</artifactId> |
| 267 | <version>${springfox.version}</version> |
| 268 | </dependency> |
| 269 | <dependency> |
| 270 | <groupId>org.springdoc</groupId> |
| 271 | <artifactId>springdoc-openapi-ui</artifactId> |
| 272 | <version>${springdoc-openapi-ui.version}</version> |
| 273 | </dependency> |
| 274 | <dependency> |
| 275 | <groupId>org.springdoc</groupId> |
| 276 | <artifactId>springdoc-openapi-data-rest</artifactId> |
| 277 | <version>${springdoc-openapi-ui.version}</version> |
| 278 | </dependency> |
| 279 | <dependency> |
| 280 | <groupId>com.fasterxml.jackson.core</groupId> |
| 281 | <artifactId>jackson-databind</artifactId> |
| 282 | <version>${jackson-databind.version}</version> |
| 283 | </dependency> |
| 284 | <dependency> |
| 285 | <groupId>io.springfox</groupId> |
| 286 | <artifactId>springfox-spring-web</artifactId> |
| 287 | <version>${springfox.version}</version> |
| 288 | </dependency> |
| 289 | <dependency> |
| 290 | <groupId>io.springfox</groupId> |
| 291 | <artifactId>springfox-spi</artifactId> |
| 292 | <version>${springfox.version}</version> |
| 293 | </dependency> |
| 294 | <dependency> |
| 295 | <groupId>io.springfox</groupId> |
| 296 | <artifactId>springfox-core</artifactId> |
| 297 | <version>${springfox.version}</version> |
| 298 | </dependency> |
| 299 | <dependency> |
| 300 | <groupId>io.projectreactor</groupId> |
| 301 | <artifactId>reactor-bom</artifactId> |
| 302 | <version>${projectreactor.version}</version> |
| 303 | <type>pom</type> |
| 304 | <scope>import</scope> |
| 305 | </dependency> |
| 306 | </dependencies> |
| 307 | </dependencyManagement> |
| 308 | |
| 309 | <build> |
| 310 | <pluginManagement> |
| 311 | <plugins> |
| 312 | <plugin> |
| 313 | <groupId>org.apache.maven.plugins</groupId> |
| 314 | <artifactId>maven-resources-plugin</artifactId> |
| 315 | <version>${maven-resources-plugin.version}</version> |
| 316 | <configuration> |
| 317 | <encoding>${project.build.sourceEncoding}</encoding> |
| 318 | </configuration> |
| 319 | </plugin> |
| 320 | <plugin> |
| 321 | <groupId>org.apache.maven.plugins</groupId> |
| 322 | <artifactId>maven-compiler-plugin</artifactId> |
| 323 | <version>3.7.0</version> |
| 324 | <configuration> |
| 325 | <source>${java.version}</source> |
| 326 | <target>${java.version}</target> |
| 327 | <encoding>${project.build.sourceEncoding}</encoding> |
| 328 | <showWarnings>true</showWarnings> |
| 329 | <showDeprecation>true</showDeprecation> |
| 330 | </configuration> |
| 331 | </plugin> |
| 332 | <plugin> |
| 333 | <groupId>org.apache.maven.plugins</groupId> |
| 334 | <artifactId>maven-surefire-plugin</artifactId> |
| 335 | <version>${maven-surefire-plugin.version}</version> |
| 336 | <dependencies> |
| 337 | <dependency> |
| 338 | <groupId>org.junit.platform</groupId> |
| 339 | <artifactId>junit-platform-surefire-provider</artifactId> |
| 340 | <version>${junit-platform.version}</version> |
| 341 | </dependency> |
| 342 | <dependency> |
| 343 | <groupId>org.junit.jupiter</groupId> |
| 344 | <artifactId>junit-jupiter-engine</artifactId> |
| 345 | <version>${junit-jupiter.version}</version> |
| 346 | </dependency> |
| 347 | </dependencies> |
| 348 | </plugin> |
| 349 | <plugin> |
| 350 | <groupId>com.spotify</groupId> |
| 351 | <artifactId>docker-maven-plugin</artifactId> |
| 352 | <version>${docker-maven-plugin.version}</version> |
| 353 | </plugin> |
| 354 | <plugin> |
| 355 | <groupId>org.springframework.boot</groupId> |
| 356 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 357 | <version>${spring-boot.version}</version> |
| 358 | <executions> |
| 359 | <execution> |
| 360 | <goals> |
| 361 | <goal>repackage</goal> |
| 362 | </goals> |
| 363 | </execution> |
| 364 | </executions> |
| 365 | </plugin> |
| 366 | <plugin> |
| 367 | <groupId>org.apache.maven.plugins</groupId> |
| 368 | <artifactId>maven-deploy-plugin</artifactId> |
| 369 | </plugin> |
| 370 | <plugin> |
| 371 | <groupId>org.apache.maven.plugins</groupId> |
| 372 | <artifactId>maven-enforcer-plugin</artifactId> |
| 373 | <configuration> |
| 374 | <skip>true</skip> |
| 375 | </configuration> |
| 376 | </plugin> |
| 377 | <plugin> |
| 378 | <groupId>pl.project13.maven</groupId> |
| 379 | <artifactId>git-commit-id-plugin</artifactId> |
| 380 | <version>${git-commit-id-plugin.version}</version> |
| 381 | </plugin> |
| 382 | <plugin> |
| 383 | <groupId>net.revelc.code.formatter</groupId> |
| 384 | <artifactId>formatter-maven-plugin</artifactId> |
| 385 | <version>2.8.1</version> |
| 386 | <configuration> |
| 387 | <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile> |
| 388 | </configuration> |
| 389 | <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format |
| 390 | to rewrite source files use mvn formatter:validate to validate source files --> |
| 391 | </plugin> |
| 392 | <plugin> |
| 393 | <groupId>com.diffplug.spotless</groupId> |
| 394 | <artifactId>spotless-maven-plugin</artifactId> |
| 395 | <version>1.18.0</version> |
| 396 | <configuration> |
| 397 | <java> |
| 398 | <removeUnusedImports/> |
| 399 | <importOrder> |
| 400 | <order>com,java,javax,org</order> |
| 401 | </importOrder> |
| 402 | </java> |
| 403 | </configuration> |
| 404 | <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use |
| 405 | mvn spotless:apply to rewrite source files use mvn spotless:check to validate |
| 406 | source files --> |
| 407 | </plugin> |
| 408 | </plugins> |
| 409 | </pluginManagement> |
| 410 | </build> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 411 | </project> |