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> |
Piotr Jaszczyk | ef017af | 2018-07-05 10:06:46 +0200 | [diff] [blame] | 55 | <kotlin.version>1.2.51</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> |
fkrzywka | d76905b | 2018-07-30 12:55:03 +0200 | [diff] [blame] | 449 | <args> |
| 450 | <http_proxy>${docker.http_proxy}</http_proxy> |
| 451 | <https_proxy>${docker.https_proxy}</https_proxy> |
| 452 | </args> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 453 | <dockerFileDir>${project.basedir}</dockerFileDir> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 454 | </build> |
| 455 | </image> |
| 456 | </images> |
| 457 | </configuration> |
| 458 | </plugin> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 459 | </plugins> |
| 460 | </pluginManagement> |
| 461 | </build> |
| 462 | </profile> |
| 463 | </profiles> |
| 464 | |
| 465 | <reporting> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 466 | <plugins> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 467 | <plugin> |
| 468 | <groupId>org.jacoco</groupId> |
| 469 | <artifactId>jacoco-maven-plugin</artifactId> |
| 470 | <reportSets> |
| 471 | <reportSet> |
| 472 | <reports> |
| 473 | <report>report</report> |
| 474 | </reports> |
| 475 | </reportSet> |
| 476 | </reportSets> |
| 477 | </plugin> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 478 | </plugins> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 479 | </reporting> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 480 | |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 481 | <pluginRepositories> |
| 482 | <pluginRepository> |
Piotr Jaszczyk | 1e77afd | 2018-06-13 09:56:17 +0200 | [diff] [blame] | 483 | <id>40_openecomp-release</id> |
| 484 | <name>40_openecomp-release</name> |
| 485 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 486 | <releases> |
| 487 | <enabled>true</enabled> |
| 488 | <updatePolicy>daily</updatePolicy> |
| 489 | </releases> |
| 490 | <snapshots> |
| 491 | <enabled>false</enabled> |
| 492 | </snapshots> |
| 493 | </pluginRepository> |
| 494 | |
| 495 | <pluginRepository> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 496 | <id>arturbosch-code-analysis</id> |
| 497 | <name>arturbosch-code-analysis (for detekt)</name> |
| 498 | <url>https://dl.bintray.com/arturbosch/code-analysis/</url> |
| 499 | <layout>default</layout> |
| 500 | <releases> |
| 501 | <enabled>true</enabled> |
| 502 | <updatePolicy>never</updatePolicy> |
| 503 | </releases> |
| 504 | <snapshots> |
| 505 | <enabled>false</enabled> |
| 506 | <updatePolicy>never</updatePolicy> |
| 507 | </snapshots> |
| 508 | </pluginRepository> |
| 509 | </pluginRepositories> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 510 | |
Piotr Jaszczyk | 1e77afd | 2018-06-13 09:56:17 +0200 | [diff] [blame] | 511 | <repositories> |
| 512 | <repository> |
| 513 | <id>40_openecomp-release</id> |
| 514 | <name>40_openecomp-release</name> |
| 515 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 516 | <releases> |
| 517 | <enabled>true</enabled> |
| 518 | <updatePolicy>daily</updatePolicy> |
| 519 | </releases> |
| 520 | <snapshots> |
| 521 | <enabled>false</enabled> |
| 522 | </snapshots> |
| 523 | </repository> |
| 524 | </repositories> |
| 525 | |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 526 | <dependencyManagement> |
| 527 | <dependencies> |
| 528 | <dependency> |
| 529 | <groupId>com.google.guava</groupId> |
| 530 | <artifactId>guava</artifactId> |
| 531 | <version>25.0-jre</version> |
| 532 | <exclusions> |
| 533 | <exclusion> |
| 534 | <groupId>com.google.code.findbugs</groupId> |
| 535 | <artifactId>jsr305</artifactId> |
| 536 | </exclusion> |
| 537 | </exclusions> |
| 538 | </dependency> |
| 539 | <dependency> |
| 540 | <groupId>org.jetbrains.kotlin</groupId> |
| 541 | <artifactId>kotlin-stdlib-jdk8</artifactId> |
| 542 | <version>${kotlin.version}</version> |
| 543 | </dependency> |
| 544 | <dependency> |
| 545 | <groupId>org.jetbrains.kotlin</groupId> |
| 546 | <artifactId>kotlin-reflect</artifactId> |
| 547 | <version>${kotlin.version}</version> |
| 548 | </dependency> |
| 549 | <dependency> |
Piotr Jaszczyk | 0ba97c7 | 2018-06-13 15:45:00 +0200 | [diff] [blame] | 550 | <groupId>io.arrow-kt</groupId> |
| 551 | <artifactId>arrow-core</artifactId> |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 552 | <version>${arrow.version}</version> |
| 553 | <exclusions> |
| 554 | <exclusion> |
| 555 | <groupId>org.jetbrains.kotlin</groupId> |
| 556 | <artifactId>kotlin-stdlib</artifactId> |
| 557 | </exclusion> |
| 558 | <exclusion> |
| 559 | <groupId>org.jetbrains.kotlin</groupId> |
| 560 | <artifactId>kotlin-stdlib-jdk7</artifactId> |
| 561 | </exclusion> |
| 562 | </exclusions> |
Piotr Jaszczyk | 0ba97c7 | 2018-06-13 15:45:00 +0200 | [diff] [blame] | 563 | </dependency> |
| 564 | <dependency> |
| 565 | <groupId>io.arrow-kt</groupId> |
| 566 | <artifactId>arrow-syntax</artifactId> |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 567 | <version>${arrow.version}</version> |
| 568 | </dependency> |
| 569 | <dependency> |
| 570 | <groupId>io.arrow-kt</groupId> |
| 571 | <artifactId>arrow-instances-core</artifactId> |
| 572 | <version>${arrow.version}</version> |
| 573 | </dependency> |
| 574 | <dependency> |
| 575 | <groupId>io.arrow-kt</groupId> |
| 576 | <artifactId>arrow-instances-data</artifactId> |
| 577 | <version>${arrow.version}</version> |
| 578 | </dependency> |
| 579 | <dependency> |
| 580 | <groupId>io.arrow-kt</groupId> |
| 581 | <artifactId>arrow-effects</artifactId> |
| 582 | <version>${arrow.version}</version> |
Piotr Jaszczyk | 0ba97c7 | 2018-06-13 15:45:00 +0200 | [diff] [blame] | 583 | </dependency> |
| 584 | <dependency> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 585 | <groupId>ch.qos.logback</groupId> |
| 586 | <artifactId>logback-classic</artifactId> |
| 587 | <version>1.3.0-alpha4</version> |
| 588 | <scope>runtime</scope> |
| 589 | </dependency> |
| 590 | <dependency> |
| 591 | <groupId>org.slf4j</groupId> |
| 592 | <artifactId>slf4j-api</artifactId> |
| 593 | <version>1.8.0-beta1</version> |
| 594 | </dependency> |
| 595 | <dependency> |
| 596 | <groupId>io.projectreactor</groupId> |
| 597 | <artifactId>reactor-bom</artifactId> |
Piotr Jaszczyk | ef017af | 2018-07-05 10:06:46 +0200 | [diff] [blame] | 598 | <version>Bismuth-SR10</version> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 599 | <type>pom</type> |
| 600 | <scope>import</scope> |
| 601 | </dependency> |
| 602 | <dependency> |
| 603 | <groupId>io.netty</groupId> |
| 604 | <artifactId>netty-tcnative-boringssl-static</artifactId> |
| 605 | <version>2.0.8.Final</version> |
| 606 | <classifier>${os.detected.classifier}</classifier> |
| 607 | </dependency> |
| 608 | <dependency> |
| 609 | <groupId>com.google.protobuf</groupId> |
| 610 | <artifactId>protobuf-java</artifactId> |
| 611 | <version>${protobuf.version}</version> |
| 612 | </dependency> |
| 613 | <dependency> |
Piotr Jaszczyk | 94eeb73 | 2018-06-12 14:19:10 +0200 | [diff] [blame] | 614 | <groupId>com.google.protobuf</groupId> |
| 615 | <artifactId>protobuf-java-util</artifactId> |
| 616 | <version>${protobuf.version}</version> |
| 617 | </dependency> |
| 618 | <dependency> |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 619 | <groupId>commons-cli</groupId> |
| 620 | <artifactId>commons-cli</artifactId> |
| 621 | <version>1.4</version> |
| 622 | </dependency> |
| 623 | <dependency> |
| 624 | <groupId>javax.json</groupId> |
| 625 | <artifactId>javax.json-api</artifactId> |
| 626 | <version>1.1.2</version> |
| 627 | </dependency> |
| 628 | <dependency> |
| 629 | <groupId>org.glassfish</groupId> |
| 630 | <artifactId>javax.json</artifactId> |
| 631 | <version>1.1.2</version> |
| 632 | </dependency> |
Piotr Jaszczyk | 39ceb73 | 2018-06-12 12:16:19 +0200 | [diff] [blame] | 633 | <dependency> |
| 634 | <groupId>io.ratpack</groupId> |
| 635 | <artifactId>ratpack-core</artifactId> |
| 636 | <version>1.5.4</version> |
| 637 | </dependency> |
Piotr Jaszczyk | 0ba97c7 | 2018-06-13 15:45:00 +0200 | [diff] [blame] | 638 | <dependency> |
| 639 | <groupId>io.micrometer</groupId> |
| 640 | <artifactId>micrometer-registry-jmx</artifactId> |
| 641 | <version>1.0.5</version> |
| 642 | </dependency> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 643 | |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 644 | <!-- Test dependencies --> |
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 | <dependency> |
| 647 | <groupId>org.jetbrains.spek</groupId> |
| 648 | <artifactId>spek-api</artifactId> |
| 649 | <version>${spek.version}</version> |
| 650 | <scope>test</scope> |
| 651 | </dependency> |
| 652 | <dependency> |
| 653 | <groupId>org.jetbrains.spek</groupId> |
| 654 | <artifactId>spek-junit-platform-engine</artifactId> |
| 655 | <version>${spek.version}</version> |
| 656 | <scope>test</scope> |
| 657 | </dependency> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 658 | |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 659 | <dependency> |
| 660 | <groupId>org.assertj</groupId> |
| 661 | <artifactId>assertj-core</artifactId> |
| 662 | <version>3.9.1</version> |
| 663 | <scope>test</scope> |
| 664 | </dependency> |
| 665 | <dependency> |
| 666 | <groupId>com.nhaarman</groupId> |
| 667 | <artifactId>mockito-kotlin</artifactId> |
| 668 | <version>1.5.0</version> |
| 669 | <scope>test</scope> |
| 670 | <exclusions> |
| 671 | <exclusion> |
| 672 | <groupId>org.mockito</groupId> |
| 673 | <artifactId>mockito-core</artifactId> |
| 674 | </exclusion> |
| 675 | </exclusions> |
| 676 | </dependency> |
| 677 | <dependency> |
| 678 | <groupId>org.mockito</groupId> |
| 679 | <artifactId>mockito-core</artifactId> |
| 680 | <version>2.18.3</version> |
| 681 | <scope>test</scope> |
| 682 | </dependency> |
| 683 | <dependency> |
| 684 | <groupId>org.jetbrains.kotlin</groupId> |
| 685 | <artifactId>kotlin-test</artifactId> |
| 686 | <version>${kotlin.version}</version> |
| 687 | <scope>test</scope> |
| 688 | </dependency> |
| 689 | <dependency> |
| 690 | <groupId>io.projectreactor</groupId> |
| 691 | <artifactId>reactor-test</artifactId> |
| 692 | <version>3.1.7.RELEASE</version> |
| 693 | <scope>test</scope> |
| 694 | </dependency> |
| 695 | </dependencies> |
| 696 | </dependencyManagement> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 697 | </project> |
| 698 | |
| 699 | |