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