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