1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ============LICENSE_START=======================================================
4 ~ dcaegen2-collectors-veshv
5 ~ ================================================================================
6 ~ Copyright (C) 2018 NOKIA
7 ~ ================================================================================
8 ~ 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
12 ~ http://www.apache.org/licenses/LICENSE-2.0
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.
19 ~ ============LICENSE_END=========================================================
21 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <modelVersion>4.0.0</modelVersion>
27 <name>The Apache Software License, Version 2.0</name>
28 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
33 <groupId>org.onap.oparent</groupId>
34 <artifactId>oparent</artifactId>
35 <version>1.2.1</version>
39 <groupId>org.onap.dcaegen2.collectors.hv-ves</groupId>
40 <artifactId>ves-hv-collector</artifactId>
41 <version>1.1.0-SNAPSHOT</version>
42 <name>dcaegen2-collectors-veshv</name>
43 <description>VES HighVolume Collector</description>
44 <packaging>pom</packaging>
47 <module>build</module>
48 <module>sources</module>
52 <kotlin.version>1.3.11</kotlin.version>
53 <arrow.version>0.8.0</arrow.version>
54 <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
55 <build-helper-maven-plugin.version>1.7</build-helper-maven-plugin.version>
56 <jacoco.version>0.8.2</jacoco.version>
57 <detekt.version>1.0.0-RC11</detekt.version>
59 <!-- Protocol buffers -->
60 <protobuf.version>3.6.1</protobuf.version>
61 <protoc-jar-maven-plugin.version>3.6.0.1</protoc-jar-maven-plugin.version>
62 <protobuf-generated-files.directory>${project.build.directory}/generated-sources/proto/main/java/
63 </protobuf-generated-files.directory>
65 <!-- Testing and code analysis -->
66 <junit-platform.version>1.2.0-RC1</junit-platform.version>
67 <junit-jupiter.version>5.2.0-RC1</junit-jupiter.version>
68 <spek.version>1.1.5</spek.version>
69 <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
70 <failIfMissingUnitTests>false</failIfMissingUnitTests>
71 <failIfMissingComponentTests>false</failIfMissingComponentTests>
72 <skipAnalysis>true</skipAnalysis>
73 <jacoco.minimum.coverage>60</jacoco.minimum.coverage>
76 <skipDocker>false</skipDocker>
77 <skipDockerPush>true</skipDockerPush>
78 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
79 <docker-image.registry>${onap.nexus.dockerregistry.daily}</docker-image.registry>
80 <docker-image.namespace>onap</docker-image.namespace>
81 <docker-image.name>${project.groupId}.${project.artifactId}</docker-image.name>
82 <docker-image.latest>1.1-SNAPSHOT</docker-image.latest>
87 <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
88 <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
91 <directory>${project.basedir}/src/main/resources</directory>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-resources-plugin</artifactId>
99 <version>3.1.0</version>
101 <encoding>UTF-8</encoding>
105 <groupId>org.apache.maven.plugins</groupId>
106 <artifactId>maven-deploy-plugin</artifactId>
112 <artifactId>kotlin-maven-plugin</artifactId>
113 <groupId>org.jetbrains.kotlin</groupId>
114 <version>${kotlin.version}</version>
116 <jvmTarget>1.8</jvmTarget>
126 <source>${project.build.sourceDirectory}</source>
127 <source>${project.build.directory}/generated-sources/annotations</source>
132 <id>test-compile</id>
134 <goal>test-compile</goal>
138 <source>${project.build.testSourceDirectory}</source>
145 <groupId>com.github.os72</groupId>
146 <artifactId>protoc-jar-maven-plugin</artifactId>
147 <version>${protoc-jar-maven-plugin.version}</version>
150 <groupId>org.codehaus.mojo</groupId>
151 <artifactId>build-helper-maven-plugin</artifactId>
152 <version>${build-helper-maven-plugin.version}</version>
156 <phase>generate-sources</phase>
158 <goal>add-source</goal>
162 <source>${protobuf-generated-files.directory}</source>
169 <groupId>org.apache.maven.plugins</groupId>
170 <artifactId>maven-compiler-plugin</artifactId>
171 <version>${maven-compiler-plugin.version}</version>
175 <encoding>UTF-8</encoding>
176 <showWarnings>true</showWarnings>
177 <showDeprecation>true</showDeprecation>
178 <failOnWarning>false</failOnWarning>
182 <groupId>org.ow2.asm</groupId>
183 <artifactId>asm</artifactId>
184 <version>6.1.1</version> <!-- Use newer version of ASM -->
189 Due to a memory leak in Surefire 2.20 and issues running on Java 9, the junit-platform-surefire-provider
190 currently only works with Surefire 2.19.1.
191 For updates see https://junit.org/junit5/docs/current/user-guide/#running-tests-build-maven
194 <artifactId>maven-surefire-plugin</artifactId>
195 <groupId>org.apache.maven.plugins</groupId>
196 <version>${maven-surefire-plugin.version}</version>
198 <failIfNoTests>${failIfMissingUnitTests}</failIfNoTests>
199 <forkCount>1</forkCount>
201 <include>**/*Test.*</include>
206 <groupId>org.apache.commons</groupId>
207 <artifactId>commons-lang3</artifactId>
208 <version>3.7</version>
211 <groupId>org.junit.platform</groupId>
212 <artifactId>junit-platform-surefire-provider</artifactId>
213 <version>${junit-platform.version}</version>
214 <scope>runtime</scope>
217 <groupId>org.jetbrains.spek</groupId>
218 <artifactId>spek-junit-platform-engine</artifactId>
219 <version>${spek.version}</version>
220 <scope>runtime</scope>
225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-failsafe-plugin</artifactId>
227 <version>2.22.0</version>
229 <failIfNoTests>${failIfMissingComponentTests}</failIfNoTests>
230 <forkCount>1</forkCount>
232 <include>**/*Specification.*</include>
237 <groupId>org.apache.commons</groupId>
238 <artifactId>commons-lang3</artifactId>
239 <version>3.7</version>
242 <groupId>org.junit.platform</groupId>
243 <artifactId>junit-platform-surefire-provider</artifactId>
244 <version>${junit-platform.version}</version>
245 <scope>runtime</scope>
248 <groupId>org.jetbrains.spek</groupId>
249 <artifactId>spek-junit-platform-engine</artifactId>
250 <version>${spek.version}</version>
251 <scope>runtime</scope>
256 <groupId>org.codehaus.mojo</groupId>
257 <artifactId>exec-maven-plugin</artifactId>
258 <version>1.6.0</version>
264 <groupId>kr.motd.maven</groupId>
265 <artifactId>os-maven-plugin</artifactId>
266 <version>1.6.0</version>
273 <id>docker-proxy</id>
276 <name>docker.http_proxy</name>
280 <!-- set build args as defined in https://dmp.fabric8.io/#build-buildargs -->
281 <docker.buildArg.http_proxy>${docker.http_proxy}</docker.buildArg.http_proxy>
282 <docker.buildArg.https_proxy>${docker.http_proxy}</docker.buildArg.https_proxy>
290 <name>!skipDocker</name>
294 <os.detected.name>linux</os.detected.name>
295 <os.detected.arch>x86_64</os.detected.arch>
296 <os.detected.classifier>${os.detected.name}-${os.detected.arch}</os.detected.classifier>
302 <groupId>org.apache.maven.plugins</groupId>
303 <artifactId>maven-dependency-plugin</artifactId>
304 <version>3.1.1</version>
307 <id>docker-copy-internal-deps</id>
308 <phase>package</phase>
310 <goal>copy-dependencies</goal>
313 <outputDirectory>${project.build.directory}/libs/internal</outputDirectory>
314 <includeGroupIds>${project.parent.groupId}</includeGroupIds>
315 <includeScope>runtime</includeScope>
319 <id>docker-copy-external-deps</id>
320 <phase>package</phase>
322 <goal>copy-dependencies</goal>
325 <outputDirectory>${project.build.directory}/libs/external</outputDirectory>
326 <excludeGroupIds>${project.parent.groupId}</excludeGroupIds>
327 <includeScope>runtime</includeScope>
333 <groupId>io.fabric8</groupId>
334 <artifactId>docker-maven-plugin</artifactId>
335 <version>0.26.0</version>
338 <id>docker-build-image</id>
339 <phase>package</phase>
345 <id>docker-push-image</id>
346 <phase>deploy</phase>
353 <skipPush>${skipDockerPush}</skipPush>
354 <verbose>true</verbose>
355 <imagePullPolicy>IfNotPresent</imagePullPolicy>
358 <alias>${project.artifactId}</alias>
359 <name>${docker-image.namespace}/${docker-image.name}
361 <registry>${docker-image.registry}</registry>
363 <dockerFileDir>${project.basedir}</dockerFileDir>
365 <tag>${project.version}-${maven.build.timestamp}Z</tag>
366 <tag>${project.version}</tag>
367 <tag>${docker-image.latest}</tag>
382 <id>arturbosch-code-analysis</id>
383 <name>arturbosch-code-analysis (for detekt)</name>
384 <url>https://dl.bintray.com/arturbosch/code-analysis/</url>
385 <layout>default</layout>
387 <enabled>true</enabled>
388 <updatePolicy>never</updatePolicy>
391 <enabled>false</enabled>
392 <updatePolicy>never</updatePolicy>
395 </pluginRepositories>
399 <id>40_openecomp-release</id>
400 <name>40_openecomp-release</name>
401 <url>https://nexus.onap.org/content/repositories/releases/</url>
403 <enabled>true</enabled>
404 <updatePolicy>daily</updatePolicy>
407 <enabled>false</enabled>
412 <dependencyManagement>
415 <groupId>com.google.guava</groupId>
416 <artifactId>guava</artifactId>
420 <groupId>com.google.code.findbugs</groupId>
421 <artifactId>jsr305</artifactId>
426 <groupId>org.jetbrains.kotlin</groupId>
427 <artifactId>kotlin-stdlib-jdk8</artifactId>
428 <version>${kotlin.version}</version>
431 <groupId>org.jetbrains.kotlin</groupId>
432 <artifactId>kotlin-reflect</artifactId>
433 <version>${kotlin.version}</version>
436 <groupId>org.jetbrains.kotlin</groupId>
437 <artifactId>kotlin-compiler-embeddable</artifactId>
438 <version>${kotlin.version}</version>
441 <groupId>org.jetbrains.kotlin</groupId>
442 <artifactId>kotlin-script-runtime</artifactId>
443 <version>${kotlin.version}</version>
444 <scope>runtime</scope>
447 <groupId>org.jetbrains.kotlin</groupId>
448 <artifactId>kotlin-script-util</artifactId>
449 <version>${kotlin.version}</version>
450 <scope>runtime</scope>
453 <groupId>org.jetbrains.kotlinx</groupId>
454 <artifactId>kotlinx-coroutines-core</artifactId>
455 <version>1.0.0</version>
458 <groupId>io.arrow-kt</groupId>
459 <artifactId>arrow-core</artifactId>
460 <version>${arrow.version}</version>
463 <groupId>org.jetbrains.kotlin</groupId>
464 <artifactId>kotlin-stdlib</artifactId>
467 <groupId>org.jetbrains.kotlin</groupId>
468 <artifactId>kotlin-stdlib-jdk7</artifactId>
473 <groupId>io.arrow-kt</groupId>
474 <artifactId>arrow-syntax</artifactId>
475 <version>${arrow.version}</version>
478 <groupId>io.arrow-kt</groupId>
479 <artifactId>arrow-instances-core</artifactId>
480 <version>${arrow.version}</version>
483 <groupId>io.arrow-kt</groupId>
484 <artifactId>arrow-instances-data</artifactId>
485 <version>${arrow.version}</version>
488 <groupId>io.arrow-kt</groupId>
489 <artifactId>arrow-effects</artifactId>
490 <version>${arrow.version}</version>
493 <groupId>io.arrow-kt</groupId>
494 <artifactId>arrow-effects-instances</artifactId>
495 <version>${arrow.version}</version>
498 <groupId>io.arrow-kt</groupId>
499 <artifactId>arrow-effects-reactor</artifactId>
500 <version>${arrow.version}</version>
503 <groupId>ch.qos.logback</groupId>
504 <artifactId>logback-classic</artifactId>
505 <version>1.3.0-alpha4</version>
506 <scope>runtime</scope>
509 <groupId>org.slf4j</groupId>
510 <artifactId>slf4j-api</artifactId>
511 <version>1.8.0-beta1</version>
514 <groupId>io.projectreactor</groupId>
515 <artifactId>reactor-bom</artifactId>
516 <!-- remember to update netty native bindings versions -->
517 <version>Californium-SR2</version>
519 <scope>import</scope>
523 Disable native extensions (ssl and epoll) on production for now.
524 Might be reintroduced if performance tests prove there is some performance issue.
527 <groupId>io.netty</groupId>
528 <artifactId>netty-tcnative-boringssl-static</artifactId>
529 <version>2.0.15.Final</version>
530 <scope>runtime</scope>
531 <classifier>${os.detected.classifier}</classifier>
535 <groupId>io.netty</groupId>
536 <artifactId>netty-transport-native-epoll</artifactId>
537 <version>4.1.29.Final</version>
538 <classifier>${os.detected.classifier}</classifier>
542 <groupId>com.google.protobuf</groupId>
543 <artifactId>protobuf-java</artifactId>
544 <version>${protobuf.version}</version>
547 <groupId>com.google.protobuf</groupId>
548 <artifactId>protobuf-java-util</artifactId>
549 <version>${protobuf.version}</version>
552 <groupId>commons-cli</groupId>
553 <artifactId>commons-cli</artifactId>
554 <version>1.4</version>
557 <groupId>javax.json</groupId>
558 <artifactId>javax.json-api</artifactId>
559 <version>1.1.2</version>
562 <groupId>org.glassfish</groupId>
563 <artifactId>javax.json</artifactId>
564 <version>1.1.2</version>
567 <!-- To override ratpack transitive dependency which creates security vulnerability
568 This issue will be resolved with ratpack 1.6.0 release -->
569 <groupId>com.fasterxml.jackson.core</groupId>
570 <artifactId>jackson-databind</artifactId>
571 <version>2.9.6</version>
574 <groupId>io.ratpack</groupId>
575 <artifactId>ratpack-core</artifactId>
576 <version>1.5.4</version>
579 <groupId>io.micrometer</groupId>
580 <artifactId>micrometer-registry-jmx</artifactId>
581 <version>1.0.5</version>
584 <!-- Test dependencies -->
587 <groupId>org.jetbrains.spek</groupId>
588 <artifactId>spek-api</artifactId>
589 <version>${spek.version}</version>
593 <groupId>org.jetbrains.spek</groupId>
594 <artifactId>spek-junit-platform-engine</artifactId>
595 <version>${spek.version}</version>
599 <groupId>org.assertj</groupId>
600 <artifactId>assertj-core</artifactId>
601 <version>3.9.1</version>
605 <groupId>com.nhaarman.mockitokotlin2</groupId>
606 <artifactId>mockito-kotlin</artifactId>
607 <version>2.0.0</version>
611 <groupId>org.jetbrains.kotlin</groupId>
612 <artifactId>kotlin-test</artifactId>
613 <version>${kotlin.version}</version>
617 <groupId>io.projectreactor</groupId>
618 <artifactId>reactor-test</artifactId>
619 <version>3.1.7.RELEASE</version>
623 </dependencyManagement>