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