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