1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ============LICENSE_START=======================================================
5 ~ ================================================================================
6 ~ Copyright (c) 2020 AT&T Intellectual Property. All rights reserved.
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
12 ~ http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
22 <project xmlns="http://maven.apache.org/POM/4.0.0"
23 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <modelVersion>4.0.0</modelVersion>
27 <groupId>org.onap.oparent</groupId>
28 <artifactId>oparent</artifactId>
29 <version>2.0.0</version>
31 <groupId>org.onap.dcaegen2.platform.mod</groupId>
32 <artifactId>catalog-service</artifactId>
33 <version>1.0.0-SNAPSHOT</version>
36 <java.version>11</java.version>
37 <maven.compiler.source>${java.version}</maven.compiler.source>
38 <maven.compiler.target>${java.version}</maven.compiler.target>
39 <spring-boot.version>2.2.9.RELEASE</spring-boot.version>
40 <dockerfile-maven-plugin.version>1.4.10</dockerfile-maven-plugin.version>
41 <docker.image.name>onap/${project.groupId}.${project.artifactId}</docker.image.name>
45 <groupId>org.onap.dcaegen2.platform.mod</groupId>
46 <artifactId>blueprint-generator</artifactId>
47 <version>1.5.2</version>
48 <scope>compile</scope>
51 <groupId>org.springframework.boot</groupId>
52 <artifactId>spring-boot-starter-data-mongodb-reactive</artifactId>
55 <groupId>com.google.code.gson</groupId>
56 <artifactId>gson</artifactId>
57 <version>2.8.6</version>
60 <groupId>org.springframework.boot</groupId>
61 <artifactId>spring-boot-starter-web</artifactId>
64 <groupId>org.springframework.boot</groupId>
65 <artifactId>spring-boot-starter-webflux</artifactId>
68 <groupId>org.springframework.boot</groupId>
69 <artifactId>spring-boot-starter-validation</artifactId>
72 <groupId>org.springframework.boot</groupId>
73 <artifactId>spring-boot-starter-test</artifactId>
77 <groupId>org.junit.vintage</groupId>
78 <artifactId>junit-vintage-engine</artifactId>
83 <groupId>io.projectreactor</groupId>
84 <artifactId>reactor-test</artifactId>
88 <groupId>io.springfox</groupId>
89 <artifactId>springfox-swagger2</artifactId>
90 <version>2.9.2</version>
93 <groupId>io.springfox</groupId>
94 <artifactId>springfox-swagger-ui</artifactId>
95 <version>2.9.2</version>
98 <groupId>org.projectlombok</groupId>
99 <artifactId>lombok</artifactId>
100 <version>1.18.10</version>
103 <groupId>com.squareup.okhttp3</groupId>
104 <artifactId>okhttp</artifactId>
105 <version>4.2.2</version>
108 <groupId>com.squareup.okhttp3</groupId>
109 <artifactId>mockwebserver</artifactId>
110 <version>4.2.2</version>
115 <dependencyManagement>
118 <!-- Import dependency management from Spring Boot -->
119 <groupId>org.springframework.boot</groupId>
120 <artifactId>spring-boot-dependencies</artifactId>
121 <version>2.2.5.RELEASE</version>
123 <scope>import</scope>
126 </dependencyManagement>
131 <groupId>org.springframework.boot</groupId>
132 <artifactId>spring-boot-maven-plugin</artifactId>
133 <version>${spring-boot.version}</version>
137 <goal>repackage</goal>
143 <groupId>com.spotify</groupId>
144 <artifactId>dockerfile-maven-plugin</artifactId>
145 <version>${dockerfile-maven-plugin.version}</version>
147 <contextDirectory>${project.basedir}</contextDirectory>
148 <repository>${onap.nexus.dockerregistry.daily}/${docker.image.name}</repository>
150 <PROJECT_BUILD_DIR_NAME>target</PROJECT_BUILD_DIR_NAME>
151 <FINAL_JAR>${project.build.finalName}.jar</FINAL_JAR>
157 <phase>package</phase>
163 <id>tag-and-push-image-latest</id>
164 <phase>package</phase>
170 <repository>${onap.nexus.dockerregistry.daily}/${docker.image.name}</repository>
172 <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
176 <id>tag-and-push-image-with-version</id>
177 <phase>package</phase>
183 <repository>${onap.nexus.dockerregistry.daily}/${docker.image.name}</repository>
184 <tag>${project.version}</tag>
185 <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-surefire-plugin</artifactId>
193 <version>2.22.2</version>
196 <finalName>mod-catalog-service</finalName>
201 <groupId>org.codehaus.mojo</groupId>
202 <artifactId>cobertura-maven-plugin</artifactId>
203 <version>2.7</version>