1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ============LICENSE_START=======================================================
5 ~ ================================================================================
6 ~ Copyright (c) 2020-2021 AT&T Intellectual Property. All rights reserved.
7 ~ Copyright (c) 2021 Samsung Electronics. All rights reserved.
8 ~ ================================================================================
9 ~ Licensed under the Apache License, Version 2.0 (the "License");
10 ~ you may not use this file except in compliance with the License.
11 ~ You may obtain a copy of the License at
13 ~ http://www.apache.org/licenses/LICENSE-2.0
15 ~ Unless required by applicable law or agreed to in writing, software
16 ~ distributed under the License is distributed on an "AS IS" BASIS,
17 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 ~ See the License for the specific language governing permissions and
19 ~ limitations under the License.
20 ~ ============LICENSE_END=========================================================
23 <project xmlns="http://maven.apache.org/POM/4.0.0"
24 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26 <modelVersion>4.0.0</modelVersion>
28 <groupId>org.onap.oparent</groupId>
29 <artifactId>oparent</artifactId>
30 <version>2.0.0</version>
32 <groupId>org.onap.dcaegen2.platform.mod</groupId>
33 <artifactId>catalog-service</artifactId>
34 <version>1.0.2-SNAPSHOT</version>
37 <java.version>11</java.version>
38 <maven.compiler.source>${java.version}</maven.compiler.source>
39 <maven.compiler.target>${java.version}</maven.compiler.target>
40 <spring-boot.version>2.2.9.RELEASE</spring-boot.version>
41 <dockerfile-maven-plugin.version>1.4.10</dockerfile-maven-plugin.version>
42 <docker.image.name>onap/${project.groupId}.${project.artifactId}</docker.image.name>
46 <groupId>org.onap.dcaegen2.platform.mod</groupId>
47 <artifactId>blueprint-generator</artifactId>
48 <version>1.5.2</version>
49 <scope>compile</scope>
52 <groupId>org.springframework.boot</groupId>
53 <artifactId>spring-boot-starter-data-mongodb-reactive</artifactId>
56 <groupId>com.google.code.gson</groupId>
57 <artifactId>gson</artifactId>
58 <version>2.8.6</version>
61 <groupId>org.springframework.boot</groupId>
62 <artifactId>spring-boot-starter-web</artifactId>
65 <groupId>org.springframework.boot</groupId>
66 <artifactId>spring-boot-starter-webflux</artifactId>
69 <groupId>org.springframework.boot</groupId>
70 <artifactId>spring-boot-starter-validation</artifactId>
73 <groupId>org.springframework.boot</groupId>
74 <artifactId>spring-boot-starter-test</artifactId>
78 <groupId>org.junit.vintage</groupId>
79 <artifactId>junit-vintage-engine</artifactId>
84 <groupId>io.projectreactor</groupId>
85 <artifactId>reactor-test</artifactId>
89 <groupId>io.springfox</groupId>
90 <artifactId>springfox-swagger2</artifactId>
91 <version>2.9.2</version>
94 <groupId>io.springfox</groupId>
95 <artifactId>springfox-swagger-ui</artifactId>
96 <version>2.9.2</version>
99 <groupId>org.projectlombok</groupId>
100 <artifactId>lombok</artifactId>
101 <version>1.18.10</version>
104 <groupId>com.squareup.okhttp3</groupId>
105 <artifactId>okhttp</artifactId>
106 <version>4.2.2</version>
109 <groupId>com.squareup.okhttp3</groupId>
110 <artifactId>mockwebserver</artifactId>
111 <version>4.2.2</version>
115 <groupId>org.json</groupId>
116 <artifactId>json</artifactId>
117 <version>20190722</version>
121 <dependencyManagement>
124 <!-- Import dependency management from Spring Boot -->
125 <groupId>org.springframework.boot</groupId>
126 <artifactId>spring-boot-dependencies</artifactId>
127 <version>2.2.5.RELEASE</version>
129 <scope>import</scope>
132 </dependencyManagement>
137 <groupId>org.springframework.boot</groupId>
138 <artifactId>spring-boot-maven-plugin</artifactId>
139 <version>${spring-boot.version}</version>
143 <goal>repackage</goal>
149 <groupId>com.spotify</groupId>
150 <artifactId>dockerfile-maven-plugin</artifactId>
151 <version>${dockerfile-maven-plugin.version}</version>
153 <contextDirectory>${project.basedir}</contextDirectory>
154 <repository>${onap.nexus.dockerregistry.daily}/${docker.image.name}</repository>
156 <PROJECT_BUILD_DIR_NAME>target</PROJECT_BUILD_DIR_NAME>
157 <FINAL_JAR>${project.build.finalName}.jar</FINAL_JAR>
163 <phase>package</phase>
169 <id>tag-and-push-image-latest</id>
170 <phase>package</phase>
176 <repository>${onap.nexus.dockerregistry.daily}/${docker.image.name}</repository>
178 <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
182 <id>tag-and-push-image-with-version</id>
183 <phase>package</phase>
189 <repository>${onap.nexus.dockerregistry.daily}/${docker.image.name}</repository>
190 <tag>${project.version}</tag>
191 <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-surefire-plugin</artifactId>
199 <version>2.22.2</version>
202 <finalName>mod-catalog-service</finalName>
207 <groupId>org.codehaus.mojo</groupId>
208 <artifactId>cobertura-maven-plugin</artifactId>
209 <version>2.7</version>