blob: 0f64bb2a602079c5cb27929c237d81233b0c327b [file] [log] [blame]
Michal Banka7f770492021-02-08 12:42:52 +01001<?xml version="1.0" encoding="UTF-8"?>
pranitk19053e7c3372023-02-06 14:13:29 +05302<!--
3 ============LICENSE_START=======================================================
4 Copyright (C) 2021-2022 Nokia. All rights reserved.
5 Copyright © 2022 Nordix Foundation. All rights reserved.
6 Copyright (c) 2023 Deutsche Telekom AG. All rights reserved.
7 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License"); you may not
9 use this file except in compliance with the License. You may obtain a copy
10 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 distributed under the
15 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
16 OF ANY KIND, either express or implied. See the License for the specific
17 language governing permissions and limitations under the License. SPDX-License-Identifier:
18 Apache-2.0
19 ============LICENSE_END========================================================= -->
Michal Banka7f770492021-02-08 12:42:52 +010020<project xmlns="http://maven.apache.org/POM/4.0.0"
pranitk19053e7c3372023-02-06 14:13:29 +053021 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Michal Banka7f770492021-02-08 12:42:52 +010023 <modelVersion>4.0.0</modelVersion>
24
25 <parent>
26 <groupId>org.onap.oparent</groupId>
27 <artifactId>oparent</artifactId>
28 <version>3.2.0</version>
pranitk19053e7c3372023-02-06 14:13:29 +053029 <relativePath />
Michal Banka7f770492021-02-08 12:42:52 +010030 </parent>
31
Michal Banka53761bf2021-02-15 13:15:39 +010032 <groupId>org.onap.dcaegen2.platform.ves-openapi-manager</groupId>
Michal Banka7f770492021-02-08 12:42:52 +010033 <artifactId>ves-openapi-manager</artifactId>
pranitk19053e7c3372023-02-06 14:13:29 +053034 <version>1.3.1-SNAPSHOT</version>
Tomasz Wrobel58b41672022-08-29 09:52:13 +020035 <name>dcaegen2-platform-ves-openapi-manager</name>
Michal Banka7f770492021-02-08 12:42:52 +010036 <packaging>jar</packaging>
37
38 <properties>
efiacor4212cd72022-11-21 08:59:13 +000039 <sdc-distribution-client.version>2.0.0</sdc-distribution-client.version>
Michal Banka7f770492021-02-08 12:42:52 +010040 <junit-jupiter.version>5.2.0</junit-jupiter.version>
41 <maven.compiler.source>11</maven.compiler.source>
42 <maven.compiler.target>11</maven.compiler.target>
43 <junit5.version>5.2.0</junit5.version>
44 <platform.version>1.2.0</platform.version>
45 <surefire.version>${mockito-core.version}</surefire.version>
46 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
47 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
48 <hibernate-validator.version>6.1.6.Final</hibernate-validator.version>
pranitk19053e7c3372023-02-06 14:13:29 +053049 <jackson-databind.version>2.14.1</jackson-databind.version>
Michal Banka7f770492021-02-08 12:42:52 +010050 <mockito-core.version>2.22.0</mockito-core.version>
Tomasz Wrobeld692ade2022-08-23 16:36:36 +020051 <spring.version>2.7.2</spring.version>
Michal Banka7f770492021-02-08 12:42:52 +010052 <docker-maven-plugin.version>0.31.0</docker-maven-plugin.version>
53 <skipDockerPush>false</skipDockerPush>
54 <nexusproxy>https://nexus.onap.org</nexusproxy>
55 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
56 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
57 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
58 <docker-image.namespace>onap</docker-image.namespace>
59 <docker-image.name.prefix>org.onap.dcaegen2.platform</docker-image.name.prefix>
60 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
61 <maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version>
Tomasz Wrobel58b41672022-08-29 09:52:13 +020062 <containerName>org.onap.dcaegen2.platform.ves-openapi-manager</containerName>
Michal Banka7f770492021-02-08 12:42:52 +010063 </properties>
64
65 <build>
66 <finalName>ves-openapi-manager</finalName>
67 <plugins>
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-surefire-plugin</artifactId>
71 <version>${surefire.version}</version>
72 <dependencies>
73 <dependency>
74 <groupId>org.junit.platform</groupId>
75 <artifactId>junit-platform-surefire-provider</artifactId>
76 <version>${platform.version}</version>
77 </dependency>
78 <dependency>
79 <groupId>org.junit.jupiter</groupId>
80 <artifactId>junit-jupiter-engine</artifactId>
81 <version>${junit5.version}</version>
82 </dependency>
83 </dependencies>
84 </plugin>
85 <plugin>
86 <groupId>org.springframework.boot</groupId>
87 <artifactId>spring-boot-maven-plugin</artifactId>
88 <version>${spring.version}</version>
89 <executions>
90 <execution>
91 <goals>
92 <goal>repackage</goal>
93 </goals>
94 </execution>
95 </executions>
96 </plugin>
97 <plugin>
98 <groupId>org.apache.maven.plugins</groupId>
99 <artifactId>maven-compiler-plugin</artifactId>
100 <version>${maven-compiler-plugin.version}</version>
101 <configuration>
102 <source>${maven.compiler.source}</source>
103 <target>${maven.compiler.target}</target>
104 </configuration>
105 </plugin>
Michal Bankaa3e5e532021-02-12 14:45:59 +0100106 <plugin>
107 <groupId>io.fabric8</groupId>
108 <artifactId>docker-maven-plugin</artifactId>
109 <version>${docker-maven-plugin.version}</version>
110 <configuration>
111 <skipPush>${skipDockerPush}</skipPush>
112 <verbose>true</verbose>
113 <imagePullPolicy>IfNotPresent</imagePullPolicy>
114 <images>
115 <image>
116 <alias>${project.artifactId}</alias>
117 <name>${docker-image.namespace}/${docker-image.name.prefix}.${project.artifactId}</name>
118 <registry>${onap.nexus.dockerregistry.daily}</registry>
119 <build>
120 <dockerFileDir>${project.basedir}</dockerFileDir>
121 <tags>
122 <tag>${project.version}-${maven.build.timestamp}Z</tag>
123 </tags>
124 </build>
125 </image>
126 </images>
127 </configuration>
128 </plugin>
Michal Banka7f770492021-02-08 12:42:52 +0100129 </plugins>
130 </build>
Michal Banka7f770492021-02-08 12:42:52 +0100131
132 <dependencyManagement>
133 <dependencies>
134 <dependency>
135 <!-- Import dependency management from Spring Boot -->
136 <groupId>org.springframework.boot</groupId>
137 <artifactId>spring-boot-dependencies</artifactId>
138 <version>${spring.version}</version>
139 <type>pom</type>
140 <scope>import</scope>
pranitk19053e7c3372023-02-06 14:13:29 +0530141 </dependency>
Michal Banka7f770492021-02-08 12:42:52 +0100142 </dependencies>
143 </dependencyManagement>
144 <dependencies>
145 <dependency>
146 <groupId>org.springframework.boot</groupId>
147 <artifactId>spring-boot-starter-web</artifactId>
148 </dependency>
149 <dependency>
150 <groupId>org.springframework.boot</groupId>
151 <artifactId>spring-boot-configuration-processor</artifactId>
152 <optional>true</optional>
153 </dependency>
154 <dependency>
155 <groupId>org.hibernate</groupId>
156 <artifactId>hibernate-validator</artifactId>
157 <version>${hibernate-validator.version}</version>
158 </dependency>
159 <dependency>
160 <groupId>org.projectlombok</groupId>
161 <artifactId>lombok</artifactId>
162 <optional>true</optional>
163 </dependency>
164 <dependency>
165 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
166 <artifactId>sdc-distribution-client</artifactId>
167 <version>${sdc-distribution-client.version}</version>
168 </dependency>
169 <dependency>
170 <groupId>com.fasterxml.jackson.core</groupId>
171 <artifactId>jackson-databind</artifactId>
172 <version>${jackson-databind.version}</version>
173 </dependency>
174 <dependency>
pranitk19053e7c3372023-02-06 14:13:29 +0530175 <groupId>com.fasterxml.jackson.core</groupId>
176 <artifactId>jackson-core</artifactId>
177 <version>${jackson-databind.version}</version>
178 </dependency>
179 <dependency>
Michal Banka7f770492021-02-08 12:42:52 +0100180 <groupId>com.fasterxml.jackson.dataformat</groupId>
181 <artifactId>jackson-dataformat-yaml</artifactId>
182 <version>${jackson-databind.version}</version>
183 </dependency>
184 <dependency>
185 <groupId>com.fasterxml.jackson.datatype</groupId>
186 <artifactId>jackson-datatype-jsr310</artifactId>
187 <version>${jackson-databind.version}</version>
188 </dependency>
189
190 <dependency>
191 <groupId>org.springframework.boot</groupId>
192 <artifactId>spring-boot-starter-test</artifactId>
193 <scope>test</scope>
194 </dependency>
195 <dependency>
196 <groupId>org.mockito</groupId>
197 <artifactId>mockito-core</artifactId>
198 <version>${mockito-core.version}</version>
199 <scope>test</scope>
200 </dependency>
Michal Banka7f770492021-02-08 12:42:52 +0100201 </dependencies>
202
203 <distributionManagement>
204 <repository>
205 <id>ecomp-releases</id>
206 <name>Integration simulators Release Repository</name>
207 <url>${nexusproxy}${releaseNexusPath}</url>
208 </repository>
209 <snapshotRepository>
210 <id>ecomp-snapshots</id>
211 <name>Integration simulators Snapshot Repository</name>
212 <url>${nexusproxy}${snapshotNexusPath}</url>
213 </snapshotRepository>
214 <site>
215 <id>ecomp-site</id>
216 <url>dav:${nexusproxy}${sitePath}</url>
217 </site>
218 </distributionManagement>
219
220</project>