blob: dfe02ed33ef56676c18ae09bd76338872fa10491 [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.
5 ================================================================================
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17
18 SPDX-License-Identifier: Apache-2.0
19 ============LICENSE_END=========================================================
20-->
Michal Banka7f770492021-02-08 12:42:52 +010021<project xmlns="http://maven.apache.org/POM/4.0.0"
22 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
25
26 <parent>
27 <groupId>org.onap.oparent</groupId>
28 <artifactId>oparent</artifactId>
29 <version>3.2.0</version>
30 <relativePath/>
31 </parent>
32
Michal Banka53761bf2021-02-15 13:15:39 +010033 <groupId>org.onap.dcaegen2.platform.ves-openapi-manager</groupId>
Michal Banka7f770492021-02-08 12:42:52 +010034 <artifactId>ves-openapi-manager</artifactId>
Tomasz Wrobeld692ade2022-08-23 16:36:36 +020035 <version>1.2.0-SNAPSHOT</version>
Michal Banka7f770492021-02-08 12:42:52 +010036 <packaging>jar</packaging>
37
38 <properties>
39 <sdc-distribution-client.version>1.4.2</sdc-distribution-client.version>
40 <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>
Tomasz Wrobeld692ade2022-08-23 16:36:36 +020049 <jackson-databind.version>2.13.3</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>
Michal Banka7f770492021-02-08 12:42:52 +010062 </properties>
63
64 <build>
65 <finalName>ves-openapi-manager</finalName>
66 <plugins>
67 <plugin>
68 <groupId>org.apache.maven.plugins</groupId>
69 <artifactId>maven-surefire-plugin</artifactId>
70 <version>${surefire.version}</version>
71 <dependencies>
72 <dependency>
73 <groupId>org.junit.platform</groupId>
74 <artifactId>junit-platform-surefire-provider</artifactId>
75 <version>${platform.version}</version>
76 </dependency>
77 <dependency>
78 <groupId>org.junit.jupiter</groupId>
79 <artifactId>junit-jupiter-engine</artifactId>
80 <version>${junit5.version}</version>
81 </dependency>
82 </dependencies>
83 </plugin>
84 <plugin>
85 <groupId>org.springframework.boot</groupId>
86 <artifactId>spring-boot-maven-plugin</artifactId>
87 <version>${spring.version}</version>
88 <executions>
89 <execution>
90 <goals>
91 <goal>repackage</goal>
92 </goals>
93 </execution>
94 </executions>
95 </plugin>
96 <plugin>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-compiler-plugin</artifactId>
99 <version>${maven-compiler-plugin.version}</version>
100 <configuration>
101 <source>${maven.compiler.source}</source>
102 <target>${maven.compiler.target}</target>
103 </configuration>
104 </plugin>
Michal Bankaa3e5e532021-02-12 14:45:59 +0100105 <plugin>
106 <groupId>io.fabric8</groupId>
107 <artifactId>docker-maven-plugin</artifactId>
108 <version>${docker-maven-plugin.version}</version>
109 <configuration>
110 <skipPush>${skipDockerPush}</skipPush>
111 <verbose>true</verbose>
112 <imagePullPolicy>IfNotPresent</imagePullPolicy>
113 <images>
114 <image>
115 <alias>${project.artifactId}</alias>
116 <name>${docker-image.namespace}/${docker-image.name.prefix}.${project.artifactId}</name>
117 <registry>${onap.nexus.dockerregistry.daily}</registry>
118 <build>
119 <dockerFileDir>${project.basedir}</dockerFileDir>
120 <tags>
121 <tag>${project.version}-${maven.build.timestamp}Z</tag>
122 </tags>
123 </build>
124 </image>
125 </images>
126 </configuration>
127 </plugin>
Michal Banka7f770492021-02-08 12:42:52 +0100128 </plugins>
129 </build>
Michal Banka7f770492021-02-08 12:42:52 +0100130
131 <dependencyManagement>
132 <dependencies>
133 <dependency>
134 <!-- Import dependency management from Spring Boot -->
135 <groupId>org.springframework.boot</groupId>
136 <artifactId>spring-boot-dependencies</artifactId>
137 <version>${spring.version}</version>
138 <type>pom</type>
139 <scope>import</scope>
140 </dependency>
141 </dependencies>
142 </dependencyManagement>
143 <dependencies>
144 <dependency>
145 <groupId>org.springframework.boot</groupId>
146 <artifactId>spring-boot-starter-web</artifactId>
147 </dependency>
148 <dependency>
149 <groupId>org.springframework.boot</groupId>
150 <artifactId>spring-boot-configuration-processor</artifactId>
151 <optional>true</optional>
152 </dependency>
153 <dependency>
154 <groupId>org.hibernate</groupId>
155 <artifactId>hibernate-validator</artifactId>
156 <version>${hibernate-validator.version}</version>
157 </dependency>
158 <dependency>
159 <groupId>org.projectlombok</groupId>
160 <artifactId>lombok</artifactId>
161 <optional>true</optional>
162 </dependency>
163 <dependency>
164 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
165 <artifactId>sdc-distribution-client</artifactId>
166 <version>${sdc-distribution-client.version}</version>
167 </dependency>
168 <dependency>
169 <groupId>com.fasterxml.jackson.core</groupId>
170 <artifactId>jackson-databind</artifactId>
171 <version>${jackson-databind.version}</version>
172 </dependency>
173 <dependency>
174 <groupId>com.fasterxml.jackson.dataformat</groupId>
175 <artifactId>jackson-dataformat-yaml</artifactId>
176 <version>${jackson-databind.version}</version>
177 </dependency>
178 <dependency>
179 <groupId>com.fasterxml.jackson.datatype</groupId>
180 <artifactId>jackson-datatype-jsr310</artifactId>
181 <version>${jackson-databind.version}</version>
182 </dependency>
183
184 <dependency>
185 <groupId>org.springframework.boot</groupId>
186 <artifactId>spring-boot-starter-test</artifactId>
187 <scope>test</scope>
188 </dependency>
189 <dependency>
190 <groupId>org.mockito</groupId>
191 <artifactId>mockito-core</artifactId>
192 <version>${mockito-core.version}</version>
193 <scope>test</scope>
194 </dependency>
Michal Banka7f770492021-02-08 12:42:52 +0100195 </dependencies>
196
197 <distributionManagement>
198 <repository>
199 <id>ecomp-releases</id>
200 <name>Integration simulators Release Repository</name>
201 <url>${nexusproxy}${releaseNexusPath}</url>
202 </repository>
203 <snapshotRepository>
204 <id>ecomp-snapshots</id>
205 <name>Integration simulators Snapshot Repository</name>
206 <url>${nexusproxy}${snapshotNexusPath}</url>
207 </snapshotRepository>
208 <site>
209 <id>ecomp-site</id>
210 <url>dav:${nexusproxy}${sitePath}</url>
211 </site>
212 </distributionManagement>
213
214</project>