blob: c3e38a650296d0e8e5cb579eb00b45151bd2930b [file] [log] [blame]
Michal Banka7f770492021-02-08 12:42:52 +01001<?xml version="1.0" encoding="UTF-8"?>
Tomasz Wrobeld692ade2022-08-23 16:36:36 +02002<!--
3 ============LICENSE_START=======================================================
4 Copyright (C) 2021-2022 Nokia. All rights reserved.
efiacor4212cd72022-11-21 08:59:13 +00005 Copyright © 2022 Nordix Foundation. All rights reserved.
Tomasz Wrobeld692ade2022-08-23 16:36:36 +02006 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18
19 SPDX-License-Identifier: Apache-2.0
20 ============LICENSE_END=========================================================
21-->
Michal Banka7f770492021-02-08 12:42:52 +010022<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>
26
27 <parent>
28 <groupId>org.onap.oparent</groupId>
29 <artifactId>oparent</artifactId>
30 <version>3.2.0</version>
31 <relativePath/>
32 </parent>
33
Michal Banka53761bf2021-02-15 13:15:39 +010034 <groupId>org.onap.dcaegen2.platform.ves-openapi-manager</groupId>
Michal Banka7f770492021-02-08 12:42:52 +010035 <artifactId>ves-openapi-manager</artifactId>
efiacor4212cd72022-11-21 08:59:13 +000036 <version>1.3.0-SNAPSHOT</version>
Tomasz Wrobel58b41672022-08-29 09:52:13 +020037 <name>dcaegen2-platform-ves-openapi-manager</name>
Michal Banka7f770492021-02-08 12:42:52 +010038 <packaging>jar</packaging>
39
40 <properties>
efiacor4212cd72022-11-21 08:59:13 +000041 <sdc-distribution-client.version>2.0.0</sdc-distribution-client.version>
Michal Banka7f770492021-02-08 12:42:52 +010042 <junit-jupiter.version>5.2.0</junit-jupiter.version>
43 <maven.compiler.source>11</maven.compiler.source>
44 <maven.compiler.target>11</maven.compiler.target>
45 <junit5.version>5.2.0</junit5.version>
46 <platform.version>1.2.0</platform.version>
47 <surefire.version>${mockito-core.version}</surefire.version>
48 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
49 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
50 <hibernate-validator.version>6.1.6.Final</hibernate-validator.version>
Tomasz Wrobeld692ade2022-08-23 16:36:36 +020051 <jackson-databind.version>2.13.3</jackson-databind.version>
Michal Banka7f770492021-02-08 12:42:52 +010052 <mockito-core.version>2.22.0</mockito-core.version>
Tomasz Wrobeld692ade2022-08-23 16:36:36 +020053 <spring.version>2.7.2</spring.version>
Michal Banka7f770492021-02-08 12:42:52 +010054 <docker-maven-plugin.version>0.31.0</docker-maven-plugin.version>
55 <skipDockerPush>false</skipDockerPush>
56 <nexusproxy>https://nexus.onap.org</nexusproxy>
57 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
58 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
59 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
60 <docker-image.namespace>onap</docker-image.namespace>
61 <docker-image.name.prefix>org.onap.dcaegen2.platform</docker-image.name.prefix>
62 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
63 <maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version>
Tomasz Wrobel58b41672022-08-29 09:52:13 +020064 <containerName>org.onap.dcaegen2.platform.ves-openapi-manager</containerName>
Michal Banka7f770492021-02-08 12:42:52 +010065 </properties>
66
67 <build>
68 <finalName>ves-openapi-manager</finalName>
69 <plugins>
70 <plugin>
71 <groupId>org.apache.maven.plugins</groupId>
72 <artifactId>maven-surefire-plugin</artifactId>
73 <version>${surefire.version}</version>
74 <dependencies>
75 <dependency>
76 <groupId>org.junit.platform</groupId>
77 <artifactId>junit-platform-surefire-provider</artifactId>
78 <version>${platform.version}</version>
79 </dependency>
80 <dependency>
81 <groupId>org.junit.jupiter</groupId>
82 <artifactId>junit-jupiter-engine</artifactId>
83 <version>${junit5.version}</version>
84 </dependency>
85 </dependencies>
86 </plugin>
87 <plugin>
88 <groupId>org.springframework.boot</groupId>
89 <artifactId>spring-boot-maven-plugin</artifactId>
90 <version>${spring.version}</version>
91 <executions>
92 <execution>
93 <goals>
94 <goal>repackage</goal>
95 </goals>
96 </execution>
97 </executions>
98 </plugin>
99 <plugin>
100 <groupId>org.apache.maven.plugins</groupId>
101 <artifactId>maven-compiler-plugin</artifactId>
102 <version>${maven-compiler-plugin.version}</version>
103 <configuration>
104 <source>${maven.compiler.source}</source>
105 <target>${maven.compiler.target}</target>
106 </configuration>
107 </plugin>
Michal Bankaa3e5e532021-02-12 14:45:59 +0100108 <plugin>
109 <groupId>io.fabric8</groupId>
110 <artifactId>docker-maven-plugin</artifactId>
111 <version>${docker-maven-plugin.version}</version>
112 <configuration>
113 <skipPush>${skipDockerPush}</skipPush>
114 <verbose>true</verbose>
115 <imagePullPolicy>IfNotPresent</imagePullPolicy>
116 <images>
117 <image>
118 <alias>${project.artifactId}</alias>
119 <name>${docker-image.namespace}/${docker-image.name.prefix}.${project.artifactId}</name>
120 <registry>${onap.nexus.dockerregistry.daily}</registry>
121 <build>
122 <dockerFileDir>${project.basedir}</dockerFileDir>
123 <tags>
124 <tag>${project.version}-${maven.build.timestamp}Z</tag>
125 </tags>
126 </build>
127 </image>
128 </images>
129 </configuration>
130 </plugin>
Michal Banka7f770492021-02-08 12:42:52 +0100131 </plugins>
132 </build>
Michal Banka7f770492021-02-08 12:42:52 +0100133
134 <dependencyManagement>
135 <dependencies>
136 <dependency>
137 <!-- Import dependency management from Spring Boot -->
138 <groupId>org.springframework.boot</groupId>
139 <artifactId>spring-boot-dependencies</artifactId>
140 <version>${spring.version}</version>
141 <type>pom</type>
142 <scope>import</scope>
143 </dependency>
144 </dependencies>
145 </dependencyManagement>
146 <dependencies>
147 <dependency>
148 <groupId>org.springframework.boot</groupId>
149 <artifactId>spring-boot-starter-web</artifactId>
150 </dependency>
151 <dependency>
152 <groupId>org.springframework.boot</groupId>
153 <artifactId>spring-boot-configuration-processor</artifactId>
154 <optional>true</optional>
155 </dependency>
156 <dependency>
157 <groupId>org.hibernate</groupId>
158 <artifactId>hibernate-validator</artifactId>
159 <version>${hibernate-validator.version}</version>
160 </dependency>
161 <dependency>
162 <groupId>org.projectlombok</groupId>
163 <artifactId>lombok</artifactId>
164 <optional>true</optional>
165 </dependency>
166 <dependency>
167 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
168 <artifactId>sdc-distribution-client</artifactId>
169 <version>${sdc-distribution-client.version}</version>
170 </dependency>
171 <dependency>
172 <groupId>com.fasterxml.jackson.core</groupId>
173 <artifactId>jackson-databind</artifactId>
174 <version>${jackson-databind.version}</version>
175 </dependency>
176 <dependency>
177 <groupId>com.fasterxml.jackson.dataformat</groupId>
178 <artifactId>jackson-dataformat-yaml</artifactId>
179 <version>${jackson-databind.version}</version>
180 </dependency>
181 <dependency>
182 <groupId>com.fasterxml.jackson.datatype</groupId>
183 <artifactId>jackson-datatype-jsr310</artifactId>
184 <version>${jackson-databind.version}</version>
185 </dependency>
186
187 <dependency>
188 <groupId>org.springframework.boot</groupId>
189 <artifactId>spring-boot-starter-test</artifactId>
190 <scope>test</scope>
191 </dependency>
192 <dependency>
193 <groupId>org.mockito</groupId>
194 <artifactId>mockito-core</artifactId>
195 <version>${mockito-core.version}</version>
196 <scope>test</scope>
197 </dependency>
Michal Banka7f770492021-02-08 12:42:52 +0100198 </dependencies>
199
200 <distributionManagement>
201 <repository>
202 <id>ecomp-releases</id>
203 <name>Integration simulators Release Repository</name>
204 <url>${nexusproxy}${releaseNexusPath}</url>
205 </repository>
206 <snapshotRepository>
207 <id>ecomp-snapshots</id>
208 <name>Integration simulators Snapshot Repository</name>
209 <url>${nexusproxy}${snapshotNexusPath}</url>
210 </snapshotRepository>
211 <site>
212 <id>ecomp-site</id>
213 <url>dav:${nexusproxy}${sitePath}</url>
214 </site>
215 </distributionManagement>
216
217</project>