Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ ============LICENSE_START======================================================= |
| 4 | ~ dcaegen2-collectors-veshv |
| 5 | ~ ================================================================================ |
fkrzywka | e74c9e1 | 2018-06-06 10:43:53 +0200 | [diff] [blame] | 6 | ~ Copyright (C) 2018 NOKIA |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 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 |
| 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 | --> |
| 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 23 | |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 24 | <modelVersion>4.0.0</modelVersion> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 25 | |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 26 | <licenses> |
| 27 | <license> |
| 28 | <name>The Apache Software License, Version 2.0</name> |
| 29 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 30 | </license> |
| 31 | </licenses> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 32 | |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 33 | <groupId>org.onap.dcaegen2.collectors.veshv</groupId> |
| 34 | <artifactId>ves-hv-collector</artifactId> |
| 35 | <version>1.0.0-SNAPSHOT</version> |
| 36 | <name>dcaegen2-collectors-veshv</name> |
| 37 | <description>VES HighVolume Collector</description> |
| 38 | <packaging>pom</packaging> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 39 | |
Piotr Jaszczyk | 1e77afd | 2018-06-13 09:56:17 +0200 | [diff] [blame] | 40 | <modules> |
| 41 | <module>hv-collector-analysis</module> |
| 42 | <module>hv-collector-client-simulator</module> |
| 43 | <module>hv-collector-core</module> |
| 44 | <module>hv-collector-coverage</module> |
| 45 | <module>hv-collector-ct</module> |
| 46 | <module>hv-collector-dcae-app-simulator</module> |
| 47 | <module>hv-collector-domain</module> |
| 48 | <module>hv-collector-main</module> |
| 49 | <module>hv-collector-utils</module> |
| 50 | </modules> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 51 | |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 52 | <properties> |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 53 | <kotlin.version>1.2.50</kotlin.version> |
| 54 | <arrow.version>0.7.2</arrow.version> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 55 | <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version> |
| 56 | <build-helper-maven-plugin.version>1.7</build-helper-maven-plugin.version> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 57 | |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 58 | <!-- Protocol buffers --> |
| 59 | <protobuf.version>3.5.1</protobuf.version> |
| 60 | <protoc-jar-maven-plugin.version>3.5.1.1</protoc-jar-maven-plugin.version> |
| 61 | <protobuf-generated-files.directory>${project.build.directory}/generated-sources/proto/main/java/ |
| 62 | </protobuf-generated-files.directory> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 63 | |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 64 | <!-- Testing and code analysis --> |
| 65 | <junit-platform.version>1.2.0-RC1</junit-platform.version> |
| 66 | <junit-jupiter.version>5.2.0-RC1</junit-jupiter.version> |
| 67 | <spek.version>1.1.5</spek.version> |
| 68 | <maven-surefire-plugin.version>2.21.0</maven-surefire-plugin.version> |
| 69 | <failIfMissingUnitTests>true</failIfMissingUnitTests> |
| 70 | <failIfMissingComponentTests>false</failIfMissingComponentTests> |
| 71 | <skipAnalysis>true</skipAnalysis> |
fkrzywka | 4b8cfb3 | 2018-06-01 12:45:22 +0200 | [diff] [blame] | 72 | |
Piotr Jaszczyk | 94eeb73 | 2018-06-12 14:19:10 +0200 | [diff] [blame] | 73 | <skipDocker>true</skipDocker> <!-- TODO: unskip docker --> |
Piotr Jaszczyk | 69f43f2 | 2018-06-25 09:59:01 +0200 | [diff] [blame] | 74 | <!-- Docker --> |
| 75 | <onap.nexus.dockerregistry.daily>nexus3.onap.org:10003</onap.nexus.dockerregistry.daily> |
| 76 | <onap.nexus.dockerregistry.release>nexus3.onap.org:10002</onap.nexus.dockerregistry.release> |
| 77 | <docker-image.registry>${onap.nexus.dockerregistry.daily}</docker-image.registry> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 78 | <docker-image.namespace>onap</docker-image.namespace> |
Piotr Jaszczyk | 69f43f2 | 2018-06-25 09:59:01 +0200 | [diff] [blame] | 79 | <docker-image.name>ves-hv-collector/${project.artifactId}</docker-image.name> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 80 | </properties> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 81 | |
| 82 | |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 83 | <build> |
| 84 | <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory> |
| 85 | <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory> |
| 86 | <resources> |
| 87 | <resource> |
| 88 | <directory>${project.basedir}/src/main/resources</directory> |
| 89 | </resource> |
| 90 | </resources> |
| 91 | <pluginManagement> |
| 92 | <plugins> |
| 93 | <plugin> |
| 94 | <groupId>org.apache.maven.plugins</groupId> |
| 95 | <artifactId>maven-resources-plugin</artifactId> |
| 96 | <version>3.1.0</version> |
| 97 | <configuration> |
| 98 | <encoding>UTF-8</encoding> |
| 99 | </configuration> |
| 100 | </plugin> |
| 101 | <plugin> |
Piotr Jaszczyk | 0aa0284 | 2018-06-06 13:18:05 +0200 | [diff] [blame] | 102 | <groupId>org.apache.maven.plugins</groupId> |
| 103 | <artifactId>maven-deploy-plugin</artifactId> |
| 104 | <configuration> |
| 105 | <skip>true</skip> |
| 106 | </configuration> |
| 107 | </plugin> |
| 108 | <plugin> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 109 | <artifactId>kotlin-maven-plugin</artifactId> |
| 110 | <groupId>org.jetbrains.kotlin</groupId> |
| 111 | <version>${kotlin.version}</version> |
| 112 | <configuration> |
| 113 | <jvmTarget>1.8</jvmTarget> |
| 114 | </configuration> |
| 115 | <executions> |
| 116 | <execution> |
| 117 | <id>compile</id> |
| 118 | <goals> |
| 119 | <goal>compile</goal> |
| 120 | </goals> |
| 121 | <configuration> |
| 122 | <sourceDirs> |
| 123 | <source>${project.build.sourceDirectory}</source> |
| 124 | <source>${project.build.directory}/generated-sources/annotations</source> |
| 125 | </sourceDirs> |
| 126 | </configuration> |
| 127 | </execution> |
| 128 | <execution> |
| 129 | <id>test-compile</id> |
| 130 | <goals> |
| 131 | <goal>test-compile</goal> |
| 132 | </goals> |
| 133 | <configuration> |
| 134 | <sourceDirs> |
| 135 | <source>${project.build.testSourceDirectory}</source> |
| 136 | </sourceDirs> |
| 137 | </configuration> |
| 138 | </execution> |
| 139 | </executions> |
| 140 | </plugin> |
| 141 | <plugin> |
| 142 | <groupId>com.github.os72</groupId> |
| 143 | <artifactId>protoc-jar-maven-plugin</artifactId> |
| 144 | <version>${protoc-jar-maven-plugin.version}</version> |
| 145 | </plugin> |
| 146 | <plugin> |
| 147 | <groupId>org.codehaus.mojo</groupId> |
| 148 | <artifactId>build-helper-maven-plugin</artifactId> |
| 149 | <version>${build-helper-maven-plugin.version}</version> |
| 150 | <executions> |
| 151 | <execution> |
| 152 | <id>add-source</id> |
| 153 | <phase>generate-sources</phase> |
| 154 | <goals> |
| 155 | <goal>add-source</goal> |
| 156 | </goals> |
| 157 | <configuration> |
| 158 | <sources> |
| 159 | <source>${protobuf-generated-files.directory}</source> |
| 160 | </sources> |
| 161 | </configuration> |
| 162 | </execution> |
| 163 | </executions> |
| 164 | </plugin> |
| 165 | <plugin> |
| 166 | <groupId>org.apache.maven.plugins</groupId> |
| 167 | <artifactId>maven-compiler-plugin</artifactId> |
| 168 | <version>${maven-compiler-plugin.version}</version> |
| 169 | <configuration> |
| 170 | <source>8</source> |
| 171 | <target>8</target> |
| 172 | <encoding>UTF-8</encoding> |
| 173 | <showWarnings>true</showWarnings> |
| 174 | <showDeprecation>true</showDeprecation> |
| 175 | <failOnWarning>false</failOnWarning> |
| 176 | </configuration> |
| 177 | <dependencies> |
| 178 | <dependency> |
| 179 | <groupId>org.ow2.asm</groupId> |
| 180 | <artifactId>asm</artifactId> |
| 181 | <version>6.1.1</version> <!-- Use newer version of ASM --> |
| 182 | </dependency> |
| 183 | </dependencies> |
| 184 | </plugin> |
| 185 | <!-- |
| 186 | Due to a memory leak in Surefire 2.20 and issues running on Java 9, the junit-platform-surefire-provider |
| 187 | currently only works with Surefire 2.19.1. |
| 188 | For updates see https://junit.org/junit5/docs/current/user-guide/#running-tests-build-maven |
| 189 | --> |
| 190 | <plugin> |
| 191 | <artifactId>maven-surefire-plugin</artifactId> |
| 192 | <groupId>org.apache.maven.plugins</groupId> |
| 193 | <version>${maven-surefire-plugin.version}</version> |
| 194 | <executions> |
| 195 | <execution> |
| 196 | <id>default-test</id> |
| 197 | <goals> |
| 198 | <goal>test</goal> |
| 199 | </goals> |
| 200 | <configuration> |
| 201 | <failIfNoTests>${failIfMissingUnitTests}</failIfNoTests> |
| 202 | <forkCount>1</forkCount> |
| 203 | <includes> |
| 204 | <include>**/*Test.*</include> |
| 205 | </includes> |
| 206 | <!--<argLine>--add-modules org.junit.jupiter.api,reactor.test,assertj.core</argLine>--> |
| 207 | </configuration> |
| 208 | </execution> |
| 209 | <execution> |
| 210 | <id>component-tests</id> |
| 211 | <phase>verify</phase> |
| 212 | <goals> |
| 213 | <goal>test</goal> |
| 214 | </goals> |
| 215 | <configuration> |
| 216 | <failIfNoTests>${failIfMissingComponentTests}</failIfNoTests> |
| 217 | <forkCount>1</forkCount> |
| 218 | <includes> |
| 219 | <include>**/*Specification.*</include> |
| 220 | </includes> |
| 221 | </configuration> |
| 222 | </execution> |
| 223 | </executions> |
| 224 | <dependencies> |
| 225 | <dependency> |
| 226 | <groupId>org.apache.commons</groupId> |
| 227 | <artifactId>commons-lang3</artifactId> |
| 228 | <version>3.7</version> |
| 229 | </dependency> |
| 230 | <dependency> |
| 231 | <groupId>org.junit.platform</groupId> |
| 232 | <artifactId>junit-platform-surefire-provider</artifactId> |
| 233 | <version>${junit-platform.version}</version> |
| 234 | <scope>runtime</scope> |
| 235 | </dependency> |
| 236 | <dependency> |
| 237 | <groupId>org.jetbrains.spek</groupId> |
| 238 | <artifactId>spek-junit-platform-engine</artifactId> |
| 239 | <version>${spek.version}</version> |
| 240 | <scope>runtime</scope> |
| 241 | </dependency> |
| 242 | </dependencies> |
| 243 | </plugin> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 244 | </plugins> |
| 245 | </pluginManagement> |
| 246 | <extensions> |
| 247 | <extension> |
| 248 | <groupId>kr.motd.maven</groupId> |
| 249 | <artifactId>os-maven-plugin</artifactId> |
| 250 | <version>1.6.0</version> |
| 251 | </extension> |
| 252 | </extensions> |
| 253 | </build> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 254 | |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 255 | <profiles> |
| 256 | <profile> |
| 257 | <id>analysis</id> |
| 258 | <activation> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 259 | <activeByDefault>true</activeByDefault> |
| 260 | </activation> |
| 261 | <build> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 262 | <plugins> |
| 263 | <plugin> |
| 264 | <groupId>org.jacoco</groupId> |
| 265 | <artifactId>jacoco-maven-plugin</artifactId> |
| 266 | <version>0.8.1</version> |
| 267 | <executions> |
| 268 | <execution> |
| 269 | <id>default-prepare-agent</id> |
| 270 | <goals> |
| 271 | <goal>prepare-agent</goal> |
| 272 | </goals> |
| 273 | </execution> |
| 274 | <execution> |
| 275 | <id>default-prepare-agent-integration</id> |
| 276 | <goals> |
| 277 | <goal>prepare-agent-integration</goal> |
| 278 | </goals> |
| 279 | </execution> |
| 280 | </executions> |
Piotr Jaszczyk | c3accea | 2018-06-29 14:57:02 +0200 | [diff] [blame^] | 281 | <configuration> |
| 282 | <excludes> |
| 283 | <!-- Exclute Protobuf-generated classes --> |
| 284 | <exclude>org/onap/ves/*</exclude> |
| 285 | </excludes> |
| 286 | </configuration> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 287 | </plugin> |
| 288 | |
| 289 | <plugin> |
| 290 | <groupId>org.apache.maven.plugins</groupId> |
| 291 | <artifactId>maven-antrun-plugin</artifactId> |
| 292 | <version>1.8</version> |
| 293 | <executions> |
| 294 | <execution> |
| 295 | <!-- This can be run separately with mvn antrun:run@detekt --> |
| 296 | <id>detekt</id> |
| 297 | <phase>verify</phase> |
| 298 | <configuration> |
| 299 | <target name="detekt" unless="${skipAnalysis}"> |
| 300 | <java taskname="detekt" dir="${basedir}" |
| 301 | fork="true" |
| 302 | failonerror="true" |
| 303 | classname="io.gitlab.arturbosch.detekt.cli.Main" |
| 304 | classpathref="maven.plugin.classpath"> |
| 305 | <arg value="--input"/> |
| 306 | <arg value="${basedir}/src/main/kotlin"/> |
| 307 | <arg value="--config-resource"/> |
| 308 | <arg value="onap-detekt-config.yml"/> |
| 309 | <arg value="--filters"/> |
| 310 | <arg value=".*/target/.*,.*/resources/.*"/> |
| 311 | <arg value="--output"/> |
| 312 | <arg value="${basedir}/target/reports"/> |
| 313 | <arg value="--output-name"/> |
| 314 | <arg value="detekt-report"/> |
| 315 | <arg value="--baseline"/> |
| 316 | <arg value="${basedir}/target/reports/baseline.xml"/> |
| 317 | </java> |
| 318 | </target> |
| 319 | </configuration> |
| 320 | <goals> |
| 321 | <goal>run</goal> |
| 322 | </goals> |
| 323 | </execution> |
| 324 | </executions> |
| 325 | <dependencies> |
| 326 | <dependency> |
| 327 | <groupId>io.gitlab.arturbosch.detekt</groupId> |
| 328 | <artifactId>detekt-cli</artifactId> |
| 329 | <version>1.0.0.RC7</version> |
| 330 | </dependency> |
| 331 | <dependency> |
| 332 | <groupId>${project.groupId}</groupId> |
| 333 | <artifactId>hv-collector-analysis</artifactId> |
| 334 | <version>${project.version}</version> |
| 335 | </dependency> |
| 336 | </dependencies> |
| 337 | </plugin> |
Piotr Jaszczyk | 1e77afd | 2018-06-13 09:56:17 +0200 | [diff] [blame] | 338 | |
| 339 | <plugin> |
| 340 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 341 | <version>3.0.0</version> |
| 342 | <dependencies> |
| 343 | <dependency> |
| 344 | <groupId>org.onap.oparent</groupId> |
| 345 | <artifactId>checkstyle</artifactId> |
| 346 | <version>1.1.1</version> |
| 347 | </dependency> |
| 348 | </dependencies> |
| 349 | <executions> |
| 350 | <execution> |
| 351 | <id>onap-license</id> |
| 352 | <goals> |
| 353 | <goal>check</goal> |
| 354 | </goals> |
| 355 | <phase>process-sources</phase> |
| 356 | <configuration> |
| 357 | <configLocation>onap-checkstyle/check-license.xml</configLocation> |
| 358 | <includeResources>false</includeResources> |
| 359 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 360 | <includeTestResources>false</includeTestResources> |
| 361 | <includes>**\/*.kt</includes> |
| 362 | <consoleOutput>true</consoleOutput> |
| 363 | <!--<failOnViolation>false</failOnViolation>--> |
| 364 | </configuration> |
| 365 | </execution> |
| 366 | </executions> |
| 367 | </plugin> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 368 | </plugins> |
| 369 | </build> |
| 370 | </profile> |
| 371 | <profile> |
| 372 | <id>docker</id> |
| 373 | <activation> |
| 374 | <property> |
| 375 | <name>!skipDocker</name> |
| 376 | </property> |
| 377 | </activation> |
| 378 | <properties> |
| 379 | <os.detected.name>linux</os.detected.name> |
| 380 | <os.detected.arch>x86_64</os.detected.arch> |
| 381 | <os.detected.classifier>${os.detected.name}-${os.detected.arch}</os.detected.classifier> |
| 382 | </properties> |
| 383 | <build> |
| 384 | <pluginManagement> |
| 385 | <plugins> |
| 386 | <plugin> |
| 387 | <groupId>io.fabric8</groupId> |
| 388 | <artifactId>docker-maven-plugin</artifactId> |
| 389 | <version>0.26.0</version> |
| 390 | <executions> |
| 391 | <execution> |
| 392 | <id>build-docker-image</id> |
| 393 | <phase>pre-integration-test</phase> |
| 394 | <goals> |
| 395 | <goal>build</goal> |
| 396 | </goals> |
| 397 | </execution> |
Piotr Jaszczyk | 0aa0284 | 2018-06-06 13:18:05 +0200 | [diff] [blame] | 398 | <execution> |
| 399 | <id>push-docker-image</id> |
| 400 | <phase>deploy</phase> |
| 401 | <goals> |
| 402 | <goal>push</goal> |
| 403 | </goals> |
| 404 | </execution> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 405 | </executions> |
| 406 | <configuration> |
| 407 | <verbose>true</verbose> |
| 408 | <imagePullPolicy>IfNotPresent</imagePullPolicy> |
| 409 | <images> |
| 410 | <image> |
| 411 | <alias>${project.artifactId}</alias> |
Piotr Jaszczyk | 69f43f2 | 2018-06-25 09:59:01 +0200 | [diff] [blame] | 412 | <name>${docker-image.registry}/${docker-image.namespace}/${docker-image.name}</name> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 413 | <build> |
| 414 | <dockerFileDir>${project.basedir}</dockerFileDir> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 415 | </build> |
| 416 | </image> |
| 417 | </images> |
| 418 | </configuration> |
| 419 | </plugin> |
Piotr Jaszczyk | 94eeb73 | 2018-06-12 14:19:10 +0200 | [diff] [blame] | 420 | <plugin> |
| 421 | <groupId>org.apache.maven.plugins</groupId> |
| 422 | <artifactId>maven-dependency-plugin</artifactId> |
| 423 | <version>3.1.1</version> |
| 424 | <executions> |
| 425 | <execution> |
| 426 | <id>copy-internal-deps</id> |
| 427 | <phase>package</phase> |
| 428 | <goals> |
| 429 | <goal>copy-dependencies</goal> |
| 430 | </goals> |
| 431 | <configuration> |
| 432 | <outputDirectory>${project.build.directory}/libs/internal</outputDirectory> |
| 433 | <includeGroupIds>${project.parent.groupId}</includeGroupIds> |
| 434 | <includeScope>runtime</includeScope> |
| 435 | </configuration> |
| 436 | </execution> |
| 437 | <execution> |
| 438 | <id>copy-external-deps</id> |
| 439 | <phase>package</phase> |
| 440 | <goals> |
| 441 | <goal>copy-dependencies</goal> |
| 442 | </goals> |
| 443 | <configuration> |
| 444 | <outputDirectory>${project.build.directory}/libs/external</outputDirectory> |
| 445 | <excludeGroupIds>${project.parent.groupId}</excludeGroupIds> |
| 446 | <includeScope>runtime</includeScope> |
| 447 | </configuration> |
| 448 | </execution> |
| 449 | </executions> |
| 450 | </plugin> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 451 | </plugins> |
| 452 | </pluginManagement> |
| 453 | </build> |
| 454 | </profile> |
| 455 | </profiles> |
| 456 | |
| 457 | <reporting> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 458 | <plugins> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 459 | <plugin> |
| 460 | <groupId>org.jacoco</groupId> |
| 461 | <artifactId>jacoco-maven-plugin</artifactId> |
| 462 | <reportSets> |
| 463 | <reportSet> |
| 464 | <reports> |
| 465 | <report>report</report> |
| 466 | </reports> |
| 467 | </reportSet> |
| 468 | </reportSets> |
| 469 | </plugin> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 470 | </plugins> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 471 | </reporting> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 472 | |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 473 | <pluginRepositories> |
| 474 | <pluginRepository> |
Piotr Jaszczyk | 1e77afd | 2018-06-13 09:56:17 +0200 | [diff] [blame] | 475 | <id>40_openecomp-release</id> |
| 476 | <name>40_openecomp-release</name> |
| 477 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 478 | <releases> |
| 479 | <enabled>true</enabled> |
| 480 | <updatePolicy>daily</updatePolicy> |
| 481 | </releases> |
| 482 | <snapshots> |
| 483 | <enabled>false</enabled> |
| 484 | </snapshots> |
| 485 | </pluginRepository> |
| 486 | |
| 487 | <pluginRepository> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 488 | <id>arturbosch-code-analysis</id> |
| 489 | <name>arturbosch-code-analysis (for detekt)</name> |
| 490 | <url>https://dl.bintray.com/arturbosch/code-analysis/</url> |
| 491 | <layout>default</layout> |
| 492 | <releases> |
| 493 | <enabled>true</enabled> |
| 494 | <updatePolicy>never</updatePolicy> |
| 495 | </releases> |
| 496 | <snapshots> |
| 497 | <enabled>false</enabled> |
| 498 | <updatePolicy>never</updatePolicy> |
| 499 | </snapshots> |
| 500 | </pluginRepository> |
| 501 | </pluginRepositories> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 502 | |
Piotr Jaszczyk | 1e77afd | 2018-06-13 09:56:17 +0200 | [diff] [blame] | 503 | <repositories> |
| 504 | <repository> |
| 505 | <id>40_openecomp-release</id> |
| 506 | <name>40_openecomp-release</name> |
| 507 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 508 | <releases> |
| 509 | <enabled>true</enabled> |
| 510 | <updatePolicy>daily</updatePolicy> |
| 511 | </releases> |
| 512 | <snapshots> |
| 513 | <enabled>false</enabled> |
| 514 | </snapshots> |
| 515 | </repository> |
| 516 | </repositories> |
| 517 | |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 518 | <dependencyManagement> |
| 519 | <dependencies> |
| 520 | <dependency> |
| 521 | <groupId>com.google.guava</groupId> |
| 522 | <artifactId>guava</artifactId> |
| 523 | <version>25.0-jre</version> |
| 524 | <exclusions> |
| 525 | <exclusion> |
| 526 | <groupId>com.google.code.findbugs</groupId> |
| 527 | <artifactId>jsr305</artifactId> |
| 528 | </exclusion> |
| 529 | </exclusions> |
| 530 | </dependency> |
| 531 | <dependency> |
| 532 | <groupId>org.jetbrains.kotlin</groupId> |
| 533 | <artifactId>kotlin-stdlib-jdk8</artifactId> |
| 534 | <version>${kotlin.version}</version> |
| 535 | </dependency> |
| 536 | <dependency> |
| 537 | <groupId>org.jetbrains.kotlin</groupId> |
| 538 | <artifactId>kotlin-reflect</artifactId> |
| 539 | <version>${kotlin.version}</version> |
| 540 | </dependency> |
| 541 | <dependency> |
Piotr Jaszczyk | 0ba97c7 | 2018-06-13 15:45:00 +0200 | [diff] [blame] | 542 | <groupId>io.arrow-kt</groupId> |
| 543 | <artifactId>arrow-core</artifactId> |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 544 | <version>${arrow.version}</version> |
| 545 | <exclusions> |
| 546 | <exclusion> |
| 547 | <groupId>org.jetbrains.kotlin</groupId> |
| 548 | <artifactId>kotlin-stdlib</artifactId> |
| 549 | </exclusion> |
| 550 | <exclusion> |
| 551 | <groupId>org.jetbrains.kotlin</groupId> |
| 552 | <artifactId>kotlin-stdlib-jdk7</artifactId> |
| 553 | </exclusion> |
| 554 | </exclusions> |
Piotr Jaszczyk | 0ba97c7 | 2018-06-13 15:45:00 +0200 | [diff] [blame] | 555 | </dependency> |
| 556 | <dependency> |
| 557 | <groupId>io.arrow-kt</groupId> |
| 558 | <artifactId>arrow-syntax</artifactId> |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 559 | <version>${arrow.version}</version> |
| 560 | </dependency> |
| 561 | <dependency> |
| 562 | <groupId>io.arrow-kt</groupId> |
| 563 | <artifactId>arrow-instances-core</artifactId> |
| 564 | <version>${arrow.version}</version> |
| 565 | </dependency> |
| 566 | <dependency> |
| 567 | <groupId>io.arrow-kt</groupId> |
| 568 | <artifactId>arrow-instances-data</artifactId> |
| 569 | <version>${arrow.version}</version> |
| 570 | </dependency> |
| 571 | <dependency> |
| 572 | <groupId>io.arrow-kt</groupId> |
| 573 | <artifactId>arrow-effects</artifactId> |
| 574 | <version>${arrow.version}</version> |
Piotr Jaszczyk | 0ba97c7 | 2018-06-13 15:45:00 +0200 | [diff] [blame] | 575 | </dependency> |
| 576 | <dependency> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 577 | <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> |
| 590 | <version>Bismuth-SR8</version> |
| 591 | <type>pom</type> |
| 592 | <scope>import</scope> |
| 593 | </dependency> |
| 594 | <dependency> |
| 595 | <groupId>io.netty</groupId> |
| 596 | <artifactId>netty-tcnative-boringssl-static</artifactId> |
| 597 | <version>2.0.8.Final</version> |
| 598 | <classifier>${os.detected.classifier}</classifier> |
| 599 | </dependency> |
| 600 | <dependency> |
| 601 | <groupId>com.google.protobuf</groupId> |
| 602 | <artifactId>protobuf-java</artifactId> |
| 603 | <version>${protobuf.version}</version> |
| 604 | </dependency> |
| 605 | <dependency> |
Piotr Jaszczyk | 94eeb73 | 2018-06-12 14:19:10 +0200 | [diff] [blame] | 606 | <groupId>com.google.protobuf</groupId> |
| 607 | <artifactId>protobuf-java-util</artifactId> |
| 608 | <version>${protobuf.version}</version> |
| 609 | </dependency> |
| 610 | <dependency> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 611 | <groupId>commons-cli</groupId> |
| 612 | <artifactId>commons-cli</artifactId> |
| 613 | <version>1.4</version> |
| 614 | </dependency> |
| 615 | <dependency> |
| 616 | <groupId>javax.json</groupId> |
| 617 | <artifactId>javax.json-api</artifactId> |
| 618 | <version>1.1.2</version> |
| 619 | </dependency> |
| 620 | <dependency> |
| 621 | <groupId>org.glassfish</groupId> |
| 622 | <artifactId>javax.json</artifactId> |
| 623 | <version>1.1.2</version> |
| 624 | </dependency> |
Piotr Jaszczyk | 39ceb73 | 2018-06-12 12:16:19 +0200 | [diff] [blame] | 625 | <dependency> |
| 626 | <groupId>io.ratpack</groupId> |
| 627 | <artifactId>ratpack-core</artifactId> |
| 628 | <version>1.5.4</version> |
| 629 | </dependency> |
Piotr Jaszczyk | 0ba97c7 | 2018-06-13 15:45:00 +0200 | [diff] [blame] | 630 | <dependency> |
| 631 | <groupId>io.micrometer</groupId> |
| 632 | <artifactId>micrometer-registry-jmx</artifactId> |
| 633 | <version>1.0.5</version> |
| 634 | </dependency> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 635 | |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 636 | <!-- Test dependencies --> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 637 | |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 638 | <dependency> |
| 639 | <groupId>org.jetbrains.spek</groupId> |
| 640 | <artifactId>spek-api</artifactId> |
| 641 | <version>${spek.version}</version> |
| 642 | <scope>test</scope> |
| 643 | </dependency> |
| 644 | <dependency> |
| 645 | <groupId>org.jetbrains.spek</groupId> |
| 646 | <artifactId>spek-junit-platform-engine</artifactId> |
| 647 | <version>${spek.version}</version> |
| 648 | <scope>test</scope> |
| 649 | </dependency> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 650 | |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 651 | <dependency> |
| 652 | <groupId>org.assertj</groupId> |
| 653 | <artifactId>assertj-core</artifactId> |
| 654 | <version>3.9.1</version> |
| 655 | <scope>test</scope> |
| 656 | </dependency> |
| 657 | <dependency> |
| 658 | <groupId>com.nhaarman</groupId> |
| 659 | <artifactId>mockito-kotlin</artifactId> |
| 660 | <version>1.5.0</version> |
| 661 | <scope>test</scope> |
| 662 | <exclusions> |
| 663 | <exclusion> |
| 664 | <groupId>org.mockito</groupId> |
| 665 | <artifactId>mockito-core</artifactId> |
| 666 | </exclusion> |
| 667 | </exclusions> |
| 668 | </dependency> |
| 669 | <dependency> |
| 670 | <groupId>org.mockito</groupId> |
| 671 | <artifactId>mockito-core</artifactId> |
| 672 | <version>2.18.3</version> |
| 673 | <scope>test</scope> |
| 674 | </dependency> |
| 675 | <dependency> |
| 676 | <groupId>org.jetbrains.kotlin</groupId> |
| 677 | <artifactId>kotlin-test</artifactId> |
| 678 | <version>${kotlin.version}</version> |
| 679 | <scope>test</scope> |
| 680 | </dependency> |
| 681 | <dependency> |
| 682 | <groupId>io.projectreactor</groupId> |
| 683 | <artifactId>reactor-test</artifactId> |
| 684 | <version>3.1.7.RELEASE</version> |
| 685 | <scope>test</scope> |
| 686 | </dependency> |
| 687 | </dependencies> |
| 688 | </dependencyManagement> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 689 | </project> |
| 690 | |
| 691 | |