3 ============LICENSE_START=======================================================
4 dcaegen2-collectors-ves
5 ================================================================================
6 Copyright (c) 2017-2019,2021 AT&T Intellectual Property. All rights reserved.
7 Copyright (c) 2020-2022 Nokia. All rights reserved.
8 ================================================================================
9 Licensed under the Apache License, Version 2.0 (the "License"); you may not
10 use this file except in compliance with the License. You may obtain a copy
11 of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
12 by applicable law or agreed to in writing, software distributed under the
13 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
14 OF ANY KIND, either express or implied. See the License for the specific
15 language governing permissions and limitations under the License.
16 ============LICENSE_END=========================================================
18 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20 <modelVersion>4.0.0</modelVersion>
22 <groupId>org.onap.oparent</groupId>
23 <artifactId>oparent</artifactId>
24 <version>3.2.0</version>
27 <groupId>org.onap.dcaegen2.collectors.ves</groupId>
28 <artifactId>VESCollector</artifactId>
29 <version>1.11.0-SNAPSHOT</version>
30 <name>dcaegen2-collectors-ves</name>
31 <description>VESCollector</description>
33 <!-- PROJECT SETTINGS -->
34 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
36 <java.version>11</java.version>
37 <docker.image.name>onap/org.onap.dcaegen2.collectors.ves.vescollector</docker.image.name>
38 <!-- TEST SETTINGS -->
39 <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
40 <!-- PLUGIN SETTINGS -->
41 <dependency.locations.enabled>false</dependency.locations.enabled>
42 <!-- NEXUS RELATED SETTINGS -->
43 <nexusproxy>https://nexus.onap.org</nexusproxy>
44 <snapshots.path>content/repositories/snapshots/</snapshots.path>
45 <releases.path>content/repositories/releases/</releases.path>
46 <site.path>content/sites/site/org/onap/dcaegen2/collectors/ves/${project.artifactId}/${project.version}</site.path>
47 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
48 <onap.nexus.dockerregistry.daily>nexus3.onap.org:10003</onap.nexus.dockerregistry.daily>
49 <maven.compiler.target>${java.version}</maven.compiler.target>
50 <maven.compiler.source>${java.version}</maven.compiler.source>
51 <sonar.coverage.jacoco.xmlReportPaths>
52 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
53 </sonar.coverage.jacoco.xmlReportPaths>
54 <!-- DEPENDENCY RELATED SETTINGS -->
55 <micrometer.version>1.6.5</micrometer.version>
56 <spring.version>2.5.9</spring.version>
57 <maven-assembly-plugin.version>3.1.0</maven-assembly-plugin.version>
58 <maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version>
59 <maven-project-info-reports-plugin.version>2.9</maven-project-info-reports-plugin.version>
60 <maven-surefire-plugin.version>3.0.0-M1</maven-surefire-plugin.version>
61 <docker-maven-plugin.version>1.2.0</docker-maven-plugin.version>
62 <json-simple.version>1.1.1</json-simple.version>
63 <json-schema-validator.version>1.0.49</json-schema-validator.version>
64 <gson.version>2.8.9</gson.version>
65 <json.version>20210307</json.version>
66 <unirest-java.version>1.4.9</unirest-java.version>
67 <commons-collections.version>3.2.2</commons-collections.version>
68 <commons-configuration.version>1.10</commons-configuration.version>
69 <vavr.version>0.10.3</vavr.version>
70 <spring-boot-starter-log4j2.version>2.6.3</spring-boot-starter-log4j2.version>
71 <log4j.version>2.17.1</log4j.version>
72 <springfox-swagger2.version>3.0.0</springfox-swagger2.version>
73 <assertj-core.version>3.19.0</assertj-core.version>
74 <spring-boot-starter-test.version>2.2.13.RELEASE</spring-boot-starter-test.version>
75 <sdk.version>1.8.8</sdk.version>
76 <guava.version>30.1-jre</guava.version>
77 <mock-server.version>5.11.1</mock-server.version>
78 <reactor-test.version>3.4.0</reactor-test.version>
79 <testcontainers.version>1.16.3</testcontainers.version>
80 <junit-jupiter.version>1.15.1</junit-jupiter.version>
81 <netty-bom.version>4.1.73.Final</netty-bom.version>
87 <groupId>org.springframework.boot</groupId>
88 <artifactId>spring-boot-maven-plugin</artifactId>
89 <version>${spring.version}</version>
92 <artifactId>maven-assembly-plugin</artifactId>
93 <version>${maven-assembly-plugin.version}</version>
96 <artifactId>maven-javadoc-plugin</artifactId>
97 <version>${maven-javadoc-plugin.version}</version>
100 <artifactId>maven-project-info-reports-plugin</artifactId>
101 <version>${maven-project-info-reports-plugin.version}</version>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-surefire-plugin</artifactId>
106 <version>${maven-surefire-plugin.version}</version>
108 <environmentVariables>
109 <TESTCONTAINERS_RYUK_DISABLED>true</TESTCONTAINERS_RYUK_DISABLED>
110 </environmentVariables>
114 <groupId>com.spotify</groupId>
115 <artifactId>docker-maven-plugin</artifactId>
116 <version>${docker-maven-plugin.version}</version>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-enforcer-plugin</artifactId>
129 <artifactId>maven-assembly-plugin</artifactId>
132 <descriptor>src/assembly/dep.xml</descriptor>
134 <attach>false</attach>
135 <appendAssemblyId>false</appendAssemblyId>
136 <updateOnly>true</updateOnly>
140 <id>make-assembly</id>
141 <phase>package</phase>
149 <groupId>org.springframework.boot</groupId>
150 <artifactId>spring-boot-maven-plugin</artifactId>
154 <goal>repackage</goal>
160 <artifactId>maven-javadoc-plugin</artifactId>
163 <verbose>false</verbose>
164 <useStandardDocletOptions>false</useStandardDocletOptions>
171 <goal>aggregate</goal>
175 <id>attach-javadoc</id>
183 <groupId>com.spotify</groupId>
184 <artifactId>docker-maven-plugin</artifactId>
186 <serverId>${onap.nexus.dockerregistry.daily}</serverId>
187 <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}</imageName>
189 <imageTag>${project.version}-${maven.build.timestamp}Z</imageTag>
190 <imageTag>${project.version}</imageTag>
191 <imageTag>latest</imageTag>
195 <targetPath>.</targetPath>
196 <directory>${project.build.directory}/${project.artifactId}-${project.version}</directory>
199 <dockerDirectory>src/docker</dockerDirectory>
206 <id>buildForPerfTests</id>
208 <activeByDefault>false</activeByDefault>
211 <!-- Libraries related with performance tests-->
213 <groupId>org.springframework.boot</groupId>
214 <artifactId>spring-boot-starter-actuator</artifactId>
215 <version>${spring.version}</version>
218 <groupId>io.micrometer</groupId>
219 <artifactId>micrometer-registry-prometheus</artifactId>
220 <version>${micrometer.version}</version>
223 <groupId>io.micrometer</groupId>
224 <artifactId>micrometer-core</artifactId>
225 <version>${micrometer.version}</version>
230 <id>with-system-proxy</id>
234 <groupId>com.spotify</groupId>
235 <artifactId>docker-maven-plugin</artifactId>
238 <http_proxy>${env.http_proxy}</http_proxy>
249 <artifactId>maven-project-info-reports-plugin</artifactId>
253 <report>dependencies</report>
254 <report>license</report>
260 <artifactId>maven-javadoc-plugin</artifactId>
262 <failOnError>false</failOnError>
263 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
265 <groupId>org.umlgraph</groupId>
266 <artifactId>umlgraph</artifactId>
267 <version>5.6</version>
269 <additionalparam>-views</additionalparam>
270 <useStandardDocletOptions>true</useStandardDocletOptions>
275 <dependencyManagement>
278 <groupId>io.netty</groupId>
279 <artifactId>netty-bom</artifactId>
280 <version>${netty-bom.version}</version>
282 <scope>import</scope>
285 <!-- Import dependency management from Spring Boot -->
286 <groupId>org.springframework.boot</groupId>
287 <artifactId>spring-boot-dependencies</artifactId>
288 <version>${spring.version}</version>
290 <scope>import</scope>
293 </dependencyManagement>
295 <!-- JSON RELATED -->
297 <groupId>com.networknt</groupId>
298 <artifactId>json-schema-validator</artifactId>
299 <version>${json-schema-validator.version}</version>
302 <groupId>com.fasterxml.jackson.core</groupId>
303 <artifactId>jackson-databind</artifactId>
308 <groupId>com.google.code.gson</groupId>
309 <artifactId>gson</artifactId>
310 <version>${gson.version}</version>
313 <groupId>org.json</groupId>
314 <artifactId>json</artifactId>
315 <version>${json.version}</version>
318 <groupId>com.google.guava</groupId>
319 <artifactId>guava</artifactId>
320 <version>${guava.version}</version>
322 <!-- REST API RELATED -->
324 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
325 <artifactId>dmaap-client</artifactId>
326 <version>${sdk.version}</version>
329 <groupId>ch.qos.logback</groupId>
330 <artifactId>logback-classic</artifactId>
335 <groupId>io.projectreactor</groupId>
336 <artifactId>reactor-test</artifactId>
337 <version>${reactor-test.version}</version>
341 <groupId>org.testcontainers</groupId>
342 <artifactId>testcontainers</artifactId>
343 <version>${testcontainers.version}</version>
346 <groupId>org.testcontainers</groupId>
347 <artifactId>junit-jupiter</artifactId>
348 <version>${junit-jupiter.version}</version>
351 <groupId>com.mashape.unirest</groupId>
352 <artifactId>unirest-java</artifactId>
353 <version>${unirest-java.version}</version>
355 <!-- MISCELLANEOUS -->
357 <groupId>commons-collections</groupId>
358 <artifactId>commons-collections</artifactId>
359 <version>${commons-collections.version}</version>
362 <groupId>commons-configuration</groupId>
363 <artifactId>commons-configuration</artifactId>
364 <version>${commons-configuration.version}</version>
367 <groupId>io.vavr</groupId>
368 <artifactId>vavr</artifactId>
369 <version>${vavr.version}</version>
372 <groupId>org.springframework.boot</groupId>
373 <artifactId>spring-boot-starter-web</artifactId>
376 <groupId>org.springframework.boot</groupId>
377 <artifactId>spring-boot-starter-logging</artifactId>
382 <groupId>org.springframework.boot</groupId>
383 <artifactId>spring-boot-starter-log4j2</artifactId>
384 <version>${spring-boot-starter-log4j2.version}</version>
387 <groupId>org.apache.logging.log4j</groupId>
388 <artifactId>log4j-core</artifactId>
389 <version>${log4j.version}</version>
392 <groupId>org.apache.logging.log4j</groupId>
393 <artifactId>log4j-api</artifactId>
394 <version>${log4j.version}</version>
397 <groupId>io.springfox</groupId>
398 <artifactId>springfox-swagger2</artifactId>
399 <version>${springfox-swagger2.version}</version>
402 <groupId>io.springfox</groupId>
403 <artifactId>springfox-swagger-ui</artifactId>
404 <version>${springfox-swagger2.version}</version>
405 <scope>compile</scope>
408 <groupId>org.mock-server</groupId>
409 <artifactId>mockserver-junit-jupiter</artifactId>
410 <version>${mock-server.version}</version>
414 <groupId>org.assertj</groupId>
415 <artifactId>assertj-core</artifactId>
416 <version>${assertj-core.version}</version>
420 <groupId>org.springframework.boot</groupId>
421 <artifactId>spring-boot-starter-test</artifactId>
422 <version>${spring-boot-starter-test.version}</version>
426 <groupId>com.vaadin.external.google</groupId>
427 <artifactId>android-json</artifactId>
432 <groupId>org.onap.dcaegen2.services.sdk.security.crypt</groupId>
433 <artifactId>crypt-password</artifactId>
434 <classifier>slim</classifier>
435 <version>${sdk.version}</version>
438 <groupId>org.onap.dcaegen2.services.sdk</groupId>
439 <artifactId>dcaegen2-services-sdk-services-external-schema-manager</artifactId>
440 <version>${sdk.version}</version>
443 <groupId>org.springframework.security</groupId>
444 <artifactId>spring-security-crypto</artifactId>
447 <groupId>org.onap.dcaegen2.services.sdk.standardization</groupId>
448 <artifactId>api-custom-header</artifactId>
449 <version>${sdk.version}</version>
452 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
453 <artifactId>cbs-client</artifactId>
454 <version>${sdk.version}</version>
459 <id>external-repository</id>
460 <url>https://oss.sonatype.org/content/repositories</url>
464 <!-- Black Duck plugin dependencies -->
467 <name>JCenter Repository</name>
468 <url>http://jcenter.bintray.com</url>
472 <name>Restlet Repository</name>
473 <url>http://maven.restlet.com</url>
475 </pluginRepositories>