blob: c10a164ebb963c4611f00afe3c36d889871629de [file] [log] [blame]
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ ============LICENSE_START=======================================================
4 ~ dcaegen2-collectors-veshv
5 ~ ================================================================================
fkrzywkae74c9e12018-06-06 10:43:53 +02006 ~ Copyright (C) 2018 NOKIA
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +02007 ~ ================================================================================
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
11 ~
12 ~ http://www.apache.org/licenses/LICENSE-2.0
13 ~
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=========================================================
20 -->
Gary Wu2d669cf2018-08-24 15:20:36 -070021<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">
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +020022
Piotr Jaszczyka4becf22018-05-29 13:35:11 +020023 <modelVersion>4.0.0</modelVersion>
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +020024
Piotr Jaszczyka4becf22018-05-29 13:35:11 +020025 <licenses>
26 <license>
27 <name>The Apache Software License, Version 2.0</name>
28 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
29 </license>
30 </licenses>
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +020031
Filip Krzywka88726d92018-08-10 08:26:42 +020032 <parent>
33 <groupId>org.onap.oparent</groupId>
34 <artifactId>oparent</artifactId>
Gary Wu2d669cf2018-08-24 15:20:36 -070035 <version>1.2.0</version>
Filip Krzywka88726d92018-08-10 08:26:42 +020036 <relativePath/>
37 </parent>
38
Piotr Jaszczykae633932018-08-21 08:28:54 +020039 <groupId>org.onap.dcaegen2.collectors.hv-ves</groupId>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +020040 <artifactId>ves-hv-collector</artifactId>
Jakub Dudycz4aa75b52018-11-15 13:45:44 +010041 <version>1.0.2-SNAPSHOT</version>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +020042 <name>dcaegen2-collectors-veshv</name>
43 <description>VES HighVolume Collector</description>
44 <packaging>pom</packaging>
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +020045
Piotr Jaszczyk1e77afd2018-06-13 09:56:17 +020046 <modules>
47 <module>hv-collector-analysis</module>
Piotr Jaszczyk1e77afd2018-06-13 09:56:17 +020048 <module>hv-collector-core</module>
49 <module>hv-collector-coverage</module>
50 <module>hv-collector-ct</module>
51 <module>hv-collector-dcae-app-simulator</module>
52 <module>hv-collector-domain</module>
Jakub Dudyczdd827e22018-08-07 14:18:37 +020053 <module>hv-collector-health-check</module>
Piotr Jaszczyk1e77afd2018-06-13 09:56:17 +020054 <module>hv-collector-main</module>
Piotr Jaszczyk069dcc12018-09-20 12:04:03 +020055 <module>hv-collector-ssl</module>
Jakub Dudyczdd827e22018-08-07 14:18:37 +020056 <module>hv-collector-test-utils</module>
Piotr Jaszczyk1e77afd2018-06-13 09:56:17 +020057 <module>hv-collector-utils</module>
kjaniak3bdd4172018-07-12 10:57:58 +020058 <module>hv-collector-ves-message-generator</module>
fkrzywka2a8d4e32018-07-16 08:17:29 +020059 <module>hv-collector-xnf-simulator</module>
Piotr Jaszczyk1e77afd2018-06-13 09:56:17 +020060 </modules>
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +020061
Piotr Jaszczyka4becf22018-05-29 13:35:11 +020062 <properties>
Piotr Jaszczykd7bb3ae2018-09-19 13:07:13 +020063 <kotlin.version>1.2.70</kotlin.version>
Piotr Jaszczyke2bd5642018-08-21 08:49:39 +020064 <arrow.version>0.7.3</arrow.version>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +020065 <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
66 <build-helper-maven-plugin.version>1.7</build-helper-maven-plugin.version>
Piotr Jaszczyk1d9f81b2018-08-23 09:06:19 +020067 <jacoco.version>0.8.2</jacoco.version>
Piotr Jaszczyk069dcc12018-09-20 12:04:03 +020068 <jacoco.minimum.coverage>60</jacoco.minimum.coverage>
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +020069
Piotr Jaszczyka4becf22018-05-29 13:35:11 +020070 <!-- Protocol buffers -->
71 <protobuf.version>3.5.1</protobuf.version>
72 <protoc-jar-maven-plugin.version>3.5.1.1</protoc-jar-maven-plugin.version>
73 <protobuf-generated-files.directory>${project.build.directory}/generated-sources/proto/main/java/
74 </protobuf-generated-files.directory>
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +020075
Piotr Jaszczyka4becf22018-05-29 13:35:11 +020076 <!-- Testing and code analysis -->
77 <junit-platform.version>1.2.0-RC1</junit-platform.version>
78 <junit-jupiter.version>5.2.0-RC1</junit-jupiter.version>
79 <spek.version>1.1.5</spek.version>
Filip Krzywka88726d92018-08-10 08:26:42 +020080 <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
81 <failIfMissingUnitTests>false</failIfMissingUnitTests>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +020082 <failIfMissingComponentTests>false</failIfMissingComponentTests>
83 <skipAnalysis>true</skipAnalysis>
fkrzywka4b8cfb32018-06-01 12:45:22 +020084
Piotr Jaszczyk69f43f22018-06-25 09:59:01 +020085 <!-- Docker -->
Piotr Jaszczyk286d4fb2018-08-03 11:50:23 +020086 <skipDocker>false</skipDocker>
Piotr Jaszczyk45613ff2018-08-16 08:09:27 +020087 <skipDockerPush>true</skipDockerPush>
Piotr Jaszczyk8a2552a2018-08-03 13:05:15 +020088 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
Piotr Jaszczyk69f43f22018-06-25 09:59:01 +020089 <docker-image.registry>${onap.nexus.dockerregistry.daily}</docker-image.registry>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +020090 <docker-image.namespace>onap</docker-image.namespace>
Filip Krzywka88726d92018-08-10 08:26:42 +020091 <docker-image.name>${project.groupId}.${project.artifactId}</docker-image.name>
kjaniak7df0f282018-12-07 08:25:01 +010092 <docker-image.latest>1.0-SNAPSHOT</docker-image.latest>
Gary Wu2d669cf2018-08-24 15:20:36 -070093 <docker.http_proxy/>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +020094 </properties>
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +020095
Piotr Jaszczyka4becf22018-05-29 13:35:11 +020096 <build>
97 <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
98 <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
99 <resources>
100 <resource>
101 <directory>${project.basedir}/src/main/resources</directory>
102 </resource>
103 </resources>
104 <pluginManagement>
105 <plugins>
106 <plugin>
107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-resources-plugin</artifactId>
109 <version>3.1.0</version>
110 <configuration>
111 <encoding>UTF-8</encoding>
112 </configuration>
113 </plugin>
114 <plugin>
Piotr Jaszczyk0aa02842018-06-06 13:18:05 +0200115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-deploy-plugin</artifactId>
117 <configuration>
118 <skip>true</skip>
119 </configuration>
120 </plugin>
121 <plugin>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200122 <artifactId>kotlin-maven-plugin</artifactId>
123 <groupId>org.jetbrains.kotlin</groupId>
124 <version>${kotlin.version}</version>
125 <configuration>
126 <jvmTarget>1.8</jvmTarget>
Piotr Jaszczyk5e93c1e2018-08-14 12:52:28 +0200127 <experimentalCoroutines>enable</experimentalCoroutines>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200128 </configuration>
129 <executions>
130 <execution>
131 <id>compile</id>
132 <goals>
133 <goal>compile</goal>
134 </goals>
135 <configuration>
136 <sourceDirs>
137 <source>${project.build.sourceDirectory}</source>
138 <source>${project.build.directory}/generated-sources/annotations</source>
139 </sourceDirs>
140 </configuration>
141 </execution>
142 <execution>
143 <id>test-compile</id>
144 <goals>
145 <goal>test-compile</goal>
146 </goals>
147 <configuration>
148 <sourceDirs>
149 <source>${project.build.testSourceDirectory}</source>
150 </sourceDirs>
151 </configuration>
152 </execution>
153 </executions>
154 </plugin>
155 <plugin>
156 <groupId>com.github.os72</groupId>
157 <artifactId>protoc-jar-maven-plugin</artifactId>
158 <version>${protoc-jar-maven-plugin.version}</version>
159 </plugin>
160 <plugin>
161 <groupId>org.codehaus.mojo</groupId>
162 <artifactId>build-helper-maven-plugin</artifactId>
163 <version>${build-helper-maven-plugin.version}</version>
164 <executions>
165 <execution>
166 <id>add-source</id>
167 <phase>generate-sources</phase>
168 <goals>
169 <goal>add-source</goal>
170 </goals>
171 <configuration>
172 <sources>
173 <source>${protobuf-generated-files.directory}</source>
174 </sources>
175 </configuration>
176 </execution>
177 </executions>
178 </plugin>
179 <plugin>
180 <groupId>org.apache.maven.plugins</groupId>
181 <artifactId>maven-compiler-plugin</artifactId>
182 <version>${maven-compiler-plugin.version}</version>
183 <configuration>
184 <source>8</source>
185 <target>8</target>
186 <encoding>UTF-8</encoding>
187 <showWarnings>true</showWarnings>
188 <showDeprecation>true</showDeprecation>
189 <failOnWarning>false</failOnWarning>
190 </configuration>
191 <dependencies>
192 <dependency>
193 <groupId>org.ow2.asm</groupId>
194 <artifactId>asm</artifactId>
195 <version>6.1.1</version> <!-- Use newer version of ASM -->
196 </dependency>
197 </dependencies>
198 </plugin>
199 <!--
200 Due to a memory leak in Surefire 2.20 and issues running on Java 9, the junit-platform-surefire-provider
201 currently only works with Surefire 2.19.1.
202 For updates see https://junit.org/junit5/docs/current/user-guide/#running-tests-build-maven
203 -->
204 <plugin>
205 <artifactId>maven-surefire-plugin</artifactId>
206 <groupId>org.apache.maven.plugins</groupId>
207 <version>${maven-surefire-plugin.version}</version>
Filip Krzywka88726d92018-08-10 08:26:42 +0200208 <configuration>
209 <failIfNoTests>${failIfMissingUnitTests}</failIfNoTests>
210 <forkCount>1</forkCount>
211 <includes>
212 <include>**/*Test.*</include>
213 </includes>
214 </configuration>
215 <dependencies>
216 <dependency>
217 <groupId>org.apache.commons</groupId>
218 <artifactId>commons-lang3</artifactId>
219 <version>3.7</version>
220 </dependency>
221 <dependency>
222 <groupId>org.junit.platform</groupId>
223 <artifactId>junit-platform-surefire-provider</artifactId>
224 <version>${junit-platform.version}</version>
225 <scope>runtime</scope>
226 </dependency>
227 <dependency>
228 <groupId>org.jetbrains.spek</groupId>
229 <artifactId>spek-junit-platform-engine</artifactId>
230 <version>${spek.version}</version>
231 <scope>runtime</scope>
232 </dependency>
233 </dependencies>
234 </plugin>
235 <plugin>
236 <groupId>org.apache.maven.plugins</groupId>
237 <artifactId>maven-failsafe-plugin</artifactId>
238 <version>2.22.0</version>
239 <configuration>
240 <failIfNoTests>${failIfMissingComponentTests}</failIfNoTests>
241 <forkCount>1</forkCount>
242 <includes>
243 <include>**/*Specification.*</include>
244 </includes>
245 </configuration>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200246 <dependencies>
247 <dependency>
248 <groupId>org.apache.commons</groupId>
249 <artifactId>commons-lang3</artifactId>
250 <version>3.7</version>
251 </dependency>
252 <dependency>
253 <groupId>org.junit.platform</groupId>
254 <artifactId>junit-platform-surefire-provider</artifactId>
255 <version>${junit-platform.version}</version>
256 <scope>runtime</scope>
257 </dependency>
258 <dependency>
259 <groupId>org.jetbrains.spek</groupId>
260 <artifactId>spek-junit-platform-engine</artifactId>
261 <version>${spek.version}</version>
262 <scope>runtime</scope>
263 </dependency>
264 </dependencies>
265 </plugin>
Piotr Jaszczyk851d4702018-08-23 14:45:39 +0200266 <plugin>
267 <groupId>org.codehaus.mojo</groupId>
268 <artifactId>exec-maven-plugin</artifactId>
269 <version>1.6.0</version>
270 </plugin>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200271 </plugins>
272 </pluginManagement>
Filip Krzywka88726d92018-08-10 08:26:42 +0200273 <plugins>
274 <plugin>
275 <artifactId>maven-checkstyle-plugin</artifactId>
276 <version>2.17</version>
277 <dependencies>
278 <dependency>
279 <groupId>org.onap.oparent</groupId>
280 <artifactId>checkstyle</artifactId>
281 <version>1.1.1</version>
282 </dependency>
283 </dependencies>
284 <executions>
285 <execution>
286 <!-- To override oparent configuration different id must be used
287 We need to override it to include .kt files in check. -->
288 <id>check-license-kotlin</id>
289 <goals>
290 <goal>check</goal>
291 </goals>
292 <phase>process-sources</phase>
293 <configuration>
294 <configLocation>onap-checkstyle/check-license.xml</configLocation>
295 <includeResources>false</includeResources>
296 <includeTestSourceDirectory>true</includeTestSourceDirectory>
297 <includeTestResources>false</includeTestResources>
298 <includes>**\/*.kt</includes>
299 <consoleOutput>true</consoleOutput>
300 <!--<failOnViolation>false</failOnViolation>-->
301 </configuration>
302 </execution>
303 </executions>
304 </plugin>
305 <plugin>
306 <groupId>org.apache.maven.plugins</groupId>
307 <artifactId>maven-antrun-plugin</artifactId>
308 <version>1.8</version>
309 <executions>
310 <execution>
311 <!-- This can be run separately with mvn antrun:run@detekt -->
312 <id>detekt</id>
313 <phase>verify</phase>
314 <goals>
315 <goal>run</goal>
316 </goals>
317 <configuration>
318 <target name="detekt" unless="${skipAnalysis}">
Gary Wu2d669cf2018-08-24 15:20:36 -0700319 <java taskname="detekt" dir="${basedir}" fork="true" failonerror="true" classname="io.gitlab.arturbosch.detekt.cli.Main" classpathref="maven.plugin.classpath">
Filip Krzywka88726d92018-08-10 08:26:42 +0200320 <arg value="--input"/>
321 <arg value="${basedir}/src/main/kotlin"/>
322 <arg value="--config-resource"/>
323 <arg value="onap-detekt-config.yml"/>
324 <arg value="--filters"/>
325 <arg value=".*/target/.*,.*/resources/.*"/>
326 <arg value="--output"/>
327 <arg value="${basedir}/target/reports"/>
328 <arg value="--output-name"/>
329 <arg value="detekt-report"/>
330 <arg value="--baseline"/>
331 <arg value="${basedir}/target/reports/baseline.xml"/>
332 </java>
333 </target>
334 </configuration>
335 </execution>
336 </executions>
337 <dependencies>
338 <dependency>
339 <groupId>io.gitlab.arturbosch.detekt</groupId>
340 <artifactId>detekt-cli</artifactId>
341 <version>1.0.0.RC7</version>
342 </dependency>
343 <dependency>
344 <groupId>${project.groupId}</groupId>
345 <artifactId>hv-collector-analysis</artifactId>
Jakub Dudycz4aa75b52018-11-15 13:45:44 +0100346 <version>1.0.2-SNAPSHOT</version>
Filip Krzywka88726d92018-08-10 08:26:42 +0200347 </dependency>
348 </dependencies>
349 </plugin>
350 </plugins>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200351 <extensions>
352 <extension>
353 <groupId>kr.motd.maven</groupId>
354 <artifactId>os-maven-plugin</artifactId>
355 <version>1.6.0</version>
356 </extension>
357 </extensions>
358 </build>
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +0200359
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200360 <profiles>
361 <profile>
Piotr Jaszczykb20f9632018-09-06 08:20:03 +0200362 <id>docker-proxy</id>
363 <activation>
364 <property>
365 <name>docker.http_proxy</name>
366 </property>
367 </activation>
368 <properties>
369 <!-- set build args as defined in https://dmp.fabric8.io/#build-buildargs -->
370 <docker.buildArg.http_proxy>${docker.http_proxy}</docker.buildArg.http_proxy>
371 <docker.buildArg.https_proxy>${docker.http_proxy}</docker.buildArg.https_proxy>
372 </properties>
373 </profile>
374
375 <profile>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200376 <id>docker</id>
377 <activation>
378 <property>
379 <name>!skipDocker</name>
380 </property>
381 </activation>
382 <properties>
383 <os.detected.name>linux</os.detected.name>
384 <os.detected.arch>x86_64</os.detected.arch>
385 <os.detected.classifier>${os.detected.name}-${os.detected.arch}</os.detected.classifier>
386 </properties>
387 <build>
388 <pluginManagement>
389 <plugins>
390 <plugin>
Piotr Jaszczyk286d4fb2018-08-03 11:50:23 +0200391 <groupId>org.apache.maven.plugins</groupId>
392 <artifactId>maven-dependency-plugin</artifactId>
393 <version>3.1.1</version>
394 <executions>
395 <execution>
396 <id>docker-copy-internal-deps</id>
397 <phase>package</phase>
398 <goals>
399 <goal>copy-dependencies</goal>
400 </goals>
401 <configuration>
402 <outputDirectory>${project.build.directory}/libs/internal</outputDirectory>
403 <includeGroupIds>${project.parent.groupId}</includeGroupIds>
404 <includeScope>runtime</includeScope>
405 </configuration>
406 </execution>
407 <execution>
408 <id>docker-copy-external-deps</id>
409 <phase>package</phase>
410 <goals>
411 <goal>copy-dependencies</goal>
412 </goals>
413 <configuration>
414 <outputDirectory>${project.build.directory}/libs/external</outputDirectory>
415 <excludeGroupIds>${project.parent.groupId}</excludeGroupIds>
416 <includeScope>runtime</includeScope>
417 </configuration>
418 </execution>
419 </executions>
420 </plugin>
421 <plugin>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200422 <groupId>io.fabric8</groupId>
423 <artifactId>docker-maven-plugin</artifactId>
424 <version>0.26.0</version>
425 <executions>
426 <execution>
Piotr Jaszczyk286d4fb2018-08-03 11:50:23 +0200427 <id>docker-build-image</id>
Piotr Jaszczyk8a2552a2018-08-03 13:05:15 +0200428 <phase>package</phase>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200429 <goals>
430 <goal>build</goal>
431 </goals>
432 </execution>
Piotr Jaszczyk0aa02842018-06-06 13:18:05 +0200433 <execution>
Piotr Jaszczyk286d4fb2018-08-03 11:50:23 +0200434 <id>docker-push-image</id>
Piotr Jaszczyk0aa02842018-06-06 13:18:05 +0200435 <phase>deploy</phase>
436 <goals>
437 <goal>push</goal>
438 </goals>
439 </execution>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200440 </executions>
441 <configuration>
Piotr Jaszczyk45613ff2018-08-16 08:09:27 +0200442 <skipPush>${skipDockerPush}</skipPush>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200443 <verbose>true</verbose>
444 <imagePullPolicy>IfNotPresent</imagePullPolicy>
445 <images>
446 <image>
447 <alias>${project.artifactId}</alias>
Piotr Jaszczyk8a2552a2018-08-03 13:05:15 +0200448 <name>${docker-image.namespace}/${docker-image.name}
Filip Krzywka88726d92018-08-10 08:26:42 +0200449 </name>
Piotr Jaszczyk8a2552a2018-08-03 13:05:15 +0200450 <registry>${docker-image.registry}</registry>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200451 <build>
452 <dockerFileDir>${project.basedir}</dockerFileDir>
Piotr Jaszczyk8a2552a2018-08-03 13:05:15 +0200453 <tags>
Piotr Jaszczyk5bdae832018-08-30 08:42:21 +0200454 <tag>${project.version}-${maven.build.timestamp}Z</tag>
Piotr Jaszczyk8a2552a2018-08-03 13:05:15 +0200455 <tag>${project.version}</tag>
kjaniak7df0f282018-12-07 08:25:01 +0100456 <tag>${docker-image.latest}</tag>
Piotr Jaszczyk8a2552a2018-08-03 13:05:15 +0200457 </tags>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200458 </build>
459 </image>
460 </images>
461 </configuration>
Piotr Jaszczyk8a2552a2018-08-03 13:05:15 +0200462 <dependencies>
463 <dependency>
464 <groupId>io.fabric8</groupId>
465 <artifactId>run-java-sh</artifactId>
466 <version>1.2.2</version>
467 </dependency>
468 </dependencies>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200469 </plugin>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200470 </plugins>
471 </pluginManagement>
472 </build>
473 </profile>
474 </profiles>
475
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200476 <pluginRepositories>
477 <pluginRepository>
478 <id>arturbosch-code-analysis</id>
479 <name>arturbosch-code-analysis (for detekt)</name>
480 <url>https://dl.bintray.com/arturbosch/code-analysis/</url>
481 <layout>default</layout>
482 <releases>
483 <enabled>true</enabled>
484 <updatePolicy>never</updatePolicy>
485 </releases>
486 <snapshots>
487 <enabled>false</enabled>
488 <updatePolicy>never</updatePolicy>
489 </snapshots>
490 </pluginRepository>
491 </pluginRepositories>
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +0200492
Piotr Jaszczyk1e77afd2018-06-13 09:56:17 +0200493 <repositories>
494 <repository>
495 <id>40_openecomp-release</id>
496 <name>40_openecomp-release</name>
497 <url>https://nexus.onap.org/content/repositories/releases/</url>
498 <releases>
499 <enabled>true</enabled>
500 <updatePolicy>daily</updatePolicy>
501 </releases>
502 <snapshots>
503 <enabled>false</enabled>
504 </snapshots>
505 </repository>
506 </repositories>
507
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200508 <dependencyManagement>
509 <dependencies>
510 <dependency>
511 <groupId>com.google.guava</groupId>
512 <artifactId>guava</artifactId>
Gary Wu2d669cf2018-08-24 15:20:36 -0700513
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200514 <exclusions>
515 <exclusion>
516 <groupId>com.google.code.findbugs</groupId>
517 <artifactId>jsr305</artifactId>
518 </exclusion>
519 </exclusions>
520 </dependency>
521 <dependency>
522 <groupId>org.jetbrains.kotlin</groupId>
523 <artifactId>kotlin-stdlib-jdk8</artifactId>
524 <version>${kotlin.version}</version>
525 </dependency>
526 <dependency>
527 <groupId>org.jetbrains.kotlin</groupId>
528 <artifactId>kotlin-reflect</artifactId>
529 <version>${kotlin.version}</version>
530 </dependency>
531 <dependency>
Piotr Jaszczykd6f5bfa2018-08-29 13:24:59 +0200532 <groupId>org.jetbrains.kotlinx</groupId>
533 <artifactId>kotlinx-coroutines-core</artifactId>
534 <version>0.25.0</version>
535 </dependency>
536 <dependency>
Piotr Jaszczyk0ba97c72018-06-13 15:45:00 +0200537 <groupId>io.arrow-kt</groupId>
538 <artifactId>arrow-core</artifactId>
Piotr Jaszczyk67689402018-06-14 09:48:46 +0200539 <version>${arrow.version}</version>
540 <exclusions>
541 <exclusion>
542 <groupId>org.jetbrains.kotlin</groupId>
543 <artifactId>kotlin-stdlib</artifactId>
544 </exclusion>
545 <exclusion>
546 <groupId>org.jetbrains.kotlin</groupId>
547 <artifactId>kotlin-stdlib-jdk7</artifactId>
548 </exclusion>
549 </exclusions>
Piotr Jaszczyk0ba97c72018-06-13 15:45:00 +0200550 </dependency>
551 <dependency>
552 <groupId>io.arrow-kt</groupId>
553 <artifactId>arrow-syntax</artifactId>
Piotr Jaszczyk67689402018-06-14 09:48:46 +0200554 <version>${arrow.version}</version>
555 </dependency>
556 <dependency>
557 <groupId>io.arrow-kt</groupId>
558 <artifactId>arrow-instances-core</artifactId>
559 <version>${arrow.version}</version>
560 </dependency>
561 <dependency>
562 <groupId>io.arrow-kt</groupId>
563 <artifactId>arrow-instances-data</artifactId>
564 <version>${arrow.version}</version>
565 </dependency>
566 <dependency>
567 <groupId>io.arrow-kt</groupId>
568 <artifactId>arrow-effects</artifactId>
569 <version>${arrow.version}</version>
Piotr Jaszczyk0ba97c72018-06-13 15:45:00 +0200570 </dependency>
571 <dependency>
Piotr Jaszczykd00acee2018-08-24 12:51:14 +0200572 <groupId>io.arrow-kt</groupId>
573 <artifactId>arrow-effects-reactor</artifactId>
574 <version>${arrow.version}</version>
575 </dependency>
576 <dependency>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200577 <groupId>ch.qos.logback</groupId>
578 <artifactId>logback-classic</artifactId>
579 <version>1.3.0-alpha4</version>
580 <scope>runtime</scope>
581 </dependency>
582 <dependency>
583 <groupId>org.slf4j</groupId>
584 <artifactId>slf4j-api</artifactId>
585 <version>1.8.0-beta1</version>
586 </dependency>
587 <dependency>
588 <groupId>io.projectreactor</groupId>
589 <artifactId>reactor-bom</artifactId>
Piotr Jaszczyk069dcc12018-09-20 12:04:03 +0200590 <!-- remember to update netty native bindings versions -->
591 <version>Bismuth-SR11</version>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200592 <type>pom</type>
593 <scope>import</scope>
594 </dependency>
Piotr Jaszczyk069dcc12018-09-20 12:04:03 +0200595
596 <!--
597 Disable native extensions (ssl and epoll) on production for now.
598 Might be reintroduced if performance tests prove there is some performance issue.
599 -->
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200600 <dependency>
601 <groupId>io.netty</groupId>
602 <artifactId>netty-tcnative-boringssl-static</artifactId>
Piotr Jaszczyk069dcc12018-09-20 12:04:03 +0200603 <version>2.0.15.Final</version>
604 <scope>runtime</scope>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200605 <classifier>${os.detected.classifier}</classifier>
606 </dependency>
Piotr Jaszczyk069dcc12018-09-20 12:04:03 +0200607 <!--
608 <dependency>
609 <groupId>io.netty</groupId>
610 <artifactId>netty-transport-native-epoll</artifactId>
611 <version>4.1.29.Final</version>
612 <classifier>${os.detected.classifier}</classifier>
613 </dependency>
614 -->
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200615 <dependency>
616 <groupId>com.google.protobuf</groupId>
617 <artifactId>protobuf-java</artifactId>
618 <version>${protobuf.version}</version>
619 </dependency>
620 <dependency>
Piotr Jaszczyk94eeb732018-06-12 14:19:10 +0200621 <groupId>com.google.protobuf</groupId>
622 <artifactId>protobuf-java-util</artifactId>
623 <version>${protobuf.version}</version>
624 </dependency>
625 <dependency>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200626 <groupId>commons-cli</groupId>
627 <artifactId>commons-cli</artifactId>
628 <version>1.4</version>
629 </dependency>
630 <dependency>
631 <groupId>javax.json</groupId>
632 <artifactId>javax.json-api</artifactId>
633 <version>1.1.2</version>
634 </dependency>
635 <dependency>
636 <groupId>org.glassfish</groupId>
637 <artifactId>javax.json</artifactId>
638 <version>1.1.2</version>
639 </dependency>
Piotr Jaszczyk39ceb732018-06-12 12:16:19 +0200640 <dependency>
Filip Krzywkaadf43b12018-09-11 10:29:31 +0200641 <!-- To override ratpack transitive dependency which creates security vulnerability
642 This issue will be resolved with ratpack 1.6.0 release -->
643 <groupId>com.fasterxml.jackson.core</groupId>
644 <artifactId>jackson-databind</artifactId>
645 <version>2.9.6</version>
646 </dependency>
647 <dependency>
Piotr Jaszczyk39ceb732018-06-12 12:16:19 +0200648 <groupId>io.ratpack</groupId>
649 <artifactId>ratpack-core</artifactId>
650 <version>1.5.4</version>
651 </dependency>
Piotr Jaszczyk0ba97c72018-06-13 15:45:00 +0200652 <dependency>
653 <groupId>io.micrometer</groupId>
654 <artifactId>micrometer-registry-jmx</artifactId>
655 <version>1.0.5</version>
656 </dependency>
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +0200657
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200658 <!-- Test dependencies -->
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +0200659
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200660 <dependency>
661 <groupId>org.jetbrains.spek</groupId>
662 <artifactId>spek-api</artifactId>
663 <version>${spek.version}</version>
664 <scope>test</scope>
665 </dependency>
666 <dependency>
667 <groupId>org.jetbrains.spek</groupId>
668 <artifactId>spek-junit-platform-engine</artifactId>
669 <version>${spek.version}</version>
670 <scope>test</scope>
671 </dependency>
Piotr Jaszczyka4becf22018-05-29 13:35:11 +0200672 <dependency>
673 <groupId>org.assertj</groupId>
674 <artifactId>assertj-core</artifactId>
675 <version>3.9.1</version>
676 <scope>test</scope>
677 </dependency>
678 <dependency>
679 <groupId>com.nhaarman</groupId>
680 <artifactId>mockito-kotlin</artifactId>
681 <version>1.5.0</version>
682 <scope>test</scope>
683 <exclusions>
684 <exclusion>
685 <groupId>org.mockito</groupId>
686 <artifactId>mockito-core</artifactId>
687 </exclusion>
688 </exclusions>
689 </dependency>
690 <dependency>
691 <groupId>org.mockito</groupId>
692 <artifactId>mockito-core</artifactId>
693 <version>2.18.3</version>
694 <scope>test</scope>
695 </dependency>
696 <dependency>
697 <groupId>org.jetbrains.kotlin</groupId>
698 <artifactId>kotlin-test</artifactId>
699 <version>${kotlin.version}</version>
700 <scope>test</scope>
701 </dependency>
702 <dependency>
703 <groupId>io.projectreactor</groupId>
704 <artifactId>reactor-test</artifactId>
705 <version>3.1.7.RELEASE</version>
706 <scope>test</scope>
707 </dependency>
708 </dependencies>
709 </dependencyManagement>
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +0200710</project>