blob: 87cc8977d122bc673d448e29bac6bdf8289b6ee5 [file] [log] [blame]
elinuxhenrike5b384a2020-07-22 16:41:17 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ ============LICENSE_START=======================================================
4 ~ ONAP : ccsdk oran
5 ~ ================================================================================
PatrikBuhr1c317eb2023-02-23 12:39:31 +01006 ~ Copyright (C) 2020-2023 Nordix Foundation. All rights reserved.
raviteja.karumuri3e02f632024-01-17 15:50:10 +00007 ~ Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.
elinuxhenrike5b384a2020-07-22 16:41:17 +02008 ~ ================================================================================
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
12 ~
13 ~ http://www.apache.org/licenses/LICENSE-2.0
14 ~
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=======================================================
21 ~
22-->
Dan Timoney42477eb2023-08-10 17:05:46 -040023<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
elinuxhenrike5b384a2020-07-22 16:41:17 +020024 <modelVersion>4.0.0</modelVersion>
elinuxhenrike5b384a2020-07-22 16:41:17 +020025 <parent>
26 <groupId>org.onap.ccsdk.parent</groupId>
lapentafdaa142062024-08-20 14:24:11 +010027 <artifactId>spring-boot-33-starter-parent</artifactId>
28 <version>2.8.0-SNAPSHOT</version>
Dan Timoney42477eb2023-08-10 17:05:46 -040029 <relativePath/>
elinuxhenrike5b384a2020-07-22 16:41:17 +020030 </parent>
elinuxhenrike5b384a2020-07-22 16:41:17 +020031 <groupId>org.onap.ccsdk.oran</groupId>
32 <artifactId>a1-policy-management-service</artifactId>
JohnKeeneyd31b23f2024-06-20 19:10:40 +010033 <version>1.8.0-SNAPSHOT</version>
Lathisha682c322020-07-30 15:52:12 +010034 <name>ccsdk-oran :: ${project.artifactId}</name>
RehanRaza0e3740a2020-08-03 15:56:03 +020035 <properties>
JohnKeeney62abcd82023-03-01 19:04:58 +000036 <java.version.source>17</java.version.source>
37 <java.version.target>17</java.version.target>
PatrikBuhraee11102023-01-16 15:27:10 +010038 <gson.version>2.10.1</gson.version>
lapentafdaa142062024-08-20 14:24:11 +010039 <json.version>20240303</json.version>
PatrikBuhr44499d02023-04-04 10:06:22 +020040 <formatter-maven-plugin.version>2.22.0</formatter-maven-plugin.version>
41 <spotless-maven-plugin.version>2.35.0</spotless-maven-plugin.version>
lapentafdaa142062024-08-20 14:24:11 +010042 <commons-io.version>2.16.1</commons-io.version>
43 <guava.version>33.3.0-jre</guava.version>
JohnKeeney62abcd82023-03-01 19:04:58 +000044 <springdoc.version>2.0.2</springdoc.version>
elinuxhenrikc4d1f8a2020-08-24 13:30:10 +020045 <docker-maven-plugin>0.30.0</docker-maven-plugin>
JohnKeeney2d985bd2023-03-31 15:27:16 +010046 <surefire-maven-plugin.version>3.0.0-M8</surefire-maven-plugin.version>
halil.cakal40ce8292023-02-02 12:25:13 +000047 <surefire-report-plugin.version>3.0.0-M8</surefire-report-plugin.version>
PatrikBuhr3ac6f0f2023-02-01 12:14:34 +010048 <jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
Dan Timoneyefdb5b02020-11-02 11:00:33 -050049 <ccsdk.project.version>${project.version}</ccsdk.project.version>
lapentafdaa142062024-08-20 14:24:11 +010050 <software.amazon.awssdk.version>2.27.8</software.amazon.awssdk.version>
51 <mapstruct.version>1.6.0</mapstruct.version>
JohnKeeneye251d0c2023-02-20 18:00:44 +000052 <allowskiptests>false</allowskiptests>
RehanRaza0e3740a2020-08-03 15:56:03 +020053 </properties>
54 <dependencies>
55 <dependency>
raviteja.karumuria4687d92023-09-14 12:38:49 +010056 <groupId>javax.validation</groupId>
57 <artifactId>validation-api</artifactId>
58 <version>2.0.1.Final</version>
59 </dependency>
60 <dependency>
61 <groupId>javax.annotation</groupId>
62 <artifactId>javax.annotation-api</artifactId>
63 <version>1.3.2</version>
64 </dependency>
65 <dependency>
66 <groupId>io.swagger.core.v3</groupId>
67 <artifactId>swagger-annotations</artifactId>
68 <version>2.2.15</version>
69 </dependency>
70 <dependency>
71 <groupId>org.openapitools</groupId>
72 <artifactId>jackson-databind-nullable</artifactId>
lapentafdaa142062024-08-20 14:24:11 +010073 <version>0.2.6</version>
PatrikBuhr6ef6b6f2023-04-25 15:11:04 +020074 </dependency>
75 <dependency>
RehanRaza0e3740a2020-08-03 15:56:03 +020076 <groupId>org.springframework.boot</groupId>
elinuxhenrikfa658f62020-11-05 12:37:43 +010077 <artifactId>spring-boot</artifactId>
78 </dependency>
79 <dependency>
80 <groupId>org.springframework</groupId>
elinuxhenrikfa658f62020-11-05 12:37:43 +010081 <artifactId>spring-context</artifactId>
RehanRaza0e3740a2020-08-03 15:56:03 +020082 </dependency>
83 <dependency>
84 <groupId>org.springframework.boot</groupId>
elinuxhenrikfa658f62020-11-05 12:37:43 +010085 <artifactId>spring-boot-autoconfigure</artifactId>
RehanRaza0e3740a2020-08-03 15:56:03 +020086 </dependency>
87 <dependency>
PatrikBuhr0f8b2052021-12-20 13:40:14 +010088 <groupId>org.springframework.boot</groupId>
89 <artifactId>spring-boot-starter-webflux</artifactId>
90 </dependency>
91 <dependency>
aravind.estb15c0ce2024-08-14 17:35:33 +010092 <groupId>org.springframework.boot</groupId>
93 <artifactId>spring-boot-starter-data-r2dbc</artifactId>
94 </dependency>
95 <dependency>
96 <groupId>org.postgresql</groupId>
97 <artifactId>postgresql</artifactId>
98 <scope>runtime</scope>
99 </dependency>
100 <dependency>
101 <groupId>org.postgresql</groupId>
102 <artifactId>r2dbc-postgresql</artifactId>
103 <scope>runtime</scope>
104 </dependency>
105 <dependency>
aravind.estfdfb0702024-08-16 12:50:52 +0100106 <groupId>org.flywaydb</groupId>
107 <artifactId>flyway-core</artifactId>
108 </dependency>
109 <dependency>
elinuxhenrikfa658f62020-11-05 12:37:43 +0100110 <groupId>org.aspectj</groupId>
111 <artifactId>aspectjweaver</artifactId>
112 </dependency>
113 <dependency>
elinuxhenrikfa658f62020-11-05 12:37:43 +0100114 <groupId>org.apache.tomcat.embed</groupId>
115 <artifactId>tomcat-embed-core</artifactId>
116 </dependency>
117 <dependency>
elinuxhenrikfa658f62020-11-05 12:37:43 +0100118 <groupId>com.google.guava</groupId>
119 <artifactId>guava</artifactId>
JohnKeeneyc9778a72022-11-01 18:49:15 +0000120 <version>${guava.version}</version>
RehanRaza0e3740a2020-08-03 15:56:03 +0200121 </dependency>
122 <dependency>
PatrikBuhr3f3a4d72022-05-30 14:22:46 +0200123 <groupId>com.google.code.gson</groupId>
RehanRaza0e3740a2020-08-03 15:56:03 +0200124 <artifactId>gson</artifactId>
PatrikBuhr3f3a4d72022-05-30 14:22:46 +0200125 <version>${gson.version}</version>
RehanRaza0e3740a2020-08-03 15:56:03 +0200126 </dependency>
127 <dependency>
128 <groupId>org.json</groupId>
129 <artifactId>json</artifactId>
130 <version>${json.version}</version>
131 </dependency>
132 <dependency>
RehanRaza0e3740a2020-08-03 15:56:03 +0200133 <groupId>org.projectlombok</groupId>
134 <artifactId>lombok</artifactId>
135 <scope>provided</scope>
136 </dependency>
raviteja.karumuri10948b62024-04-30 22:15:58 +0100137 <dependency>
138 <groupId>org.mapstruct</groupId>
139 <artifactId>mapstruct</artifactId>
lapentafdaa142062024-08-20 14:24:11 +0100140 <version>${mapstruct.version}</version>
raviteja.karumuri10948b62024-04-30 22:15:58 +0100141 </dependency>
142 <dependency>
143 <groupId>org.mapstruct</groupId>
144 <artifactId>mapstruct-processor</artifactId>
lapentafdaa142062024-08-20 14:24:11 +0100145 <version>${mapstruct.version}</version>
raviteja.karumuri10948b62024-04-30 22:15:58 +0100146 </dependency>
RehanRaza0e3740a2020-08-03 15:56:03 +0200147 <!-- Actuator dependencies -->
148 <dependency>
149 <groupId>org.springframework.boot</groupId>
150 <artifactId>spring-boot-starter-actuator</artifactId>
elinuxhenrikfa658f62020-11-05 12:37:43 +0100151 <scope>runtime</scope>
RehanRaza0e3740a2020-08-03 15:56:03 +0200152 </dependency>
halil.cakal8eadcb62022-09-29 09:47:09 +0100153 <dependency>
154 <groupId>io.micrometer</groupId>
155 <artifactId>micrometer-registry-prometheus</artifactId>
156 </dependency>
157 <dependency>
158 <groupId>org.springframework.boot</groupId>
159 <artifactId>spring-boot-starter-aop</artifactId>
160 </dependency>
PatrikBuhre3693cf2022-10-14 11:38:22 +0200161 <dependency>
162 <groupId>software.amazon.awssdk</groupId>
163 <artifactId>s3</artifactId>
164 <version>${software.amazon.awssdk.version}</version>
165 </dependency>
elinuxhenrikfa658f62020-11-05 12:37:43 +0100166 <!-- For development help -->
167 <dependency>
168 <groupId>org.springframework.boot</groupId>
169 <artifactId>spring-boot-devtools</artifactId>
170 <optional>true</optional>
171 <scope>runtime</scope>
172 </dependency>
173 <dependency>
174 <groupId>org.springframework.boot</groupId>
175 <artifactId>spring-boot-configuration-processor</artifactId>
176 <optional>true</optional>
177 <scope>runtime</scope>
RehanRaza0e3740a2020-08-03 15:56:03 +0200178 </dependency>
elinuxhenrikfa658f62020-11-05 12:37:43 +0100179 <dependency>
180 <groupId>org.springframework.boot</groupId>
RehanRaza0e3740a2020-08-03 15:56:03 +0200181 <artifactId>spring-boot-starter-test</artifactId>
182 <scope>test</scope>
183 </dependency>
184 <dependency>
185 <groupId>org.awaitility</groupId>
186 <artifactId>awaitility</artifactId>
187 <scope>test</scope>
188 </dependency>
189 <dependency>
190 <groupId>io.projectreactor</groupId>
191 <artifactId>reactor-test</artifactId>
192 <scope>test</scope>
193 </dependency>
194 <dependency>
195 <groupId>org.junit.jupiter</groupId>
196 <artifactId>junit-jupiter-engine</artifactId>
197 <scope>test</scope>
198 </dependency>
199 <dependency>
200 <groupId>org.mockito</groupId>
201 <artifactId>mockito-junit-jupiter</artifactId>
202 <scope>test</scope>
203 </dependency>
204 <dependency>
205 <groupId>org.mockito</groupId>
206 <artifactId>mockito-core</artifactId>
207 <scope>test</scope>
208 </dependency>
209 <dependency>
210 <groupId>com.squareup.okhttp3</groupId>
211 <artifactId>mockwebserver</artifactId>
212 <scope>test</scope>
213 </dependency>
elinuxhenrik50b658d2020-11-11 14:11:37 +0100214 <dependency>
215 <groupId>commons-io</groupId>
216 <artifactId>commons-io</artifactId>
217 <version>${commons-io.version}</version>
218 <scope>test</scope>
219 </dependency>
PatrikBuhrd279ef72021-09-21 14:47:59 +0200220 <dependency>
221 <groupId>com.github.erosb</groupId>
222 <artifactId>everit-json-schema</artifactId>
lapentafdaa142062024-08-20 14:24:11 +0100223 <version>1.14.4</version>
PatrikBuhrd279ef72021-09-21 14:47:59 +0200224 </dependency>
lapentafdf734a402024-05-30 15:47:34 +0100225 <!-- For Tracing -->
226 <dependency>
227 <groupId>io.micrometer</groupId>
228 <artifactId>micrometer-tracing-bridge-otel</artifactId>
229 </dependency>
230 <dependency>
231 <groupId>io.opentelemetry</groupId>
lapentafdf734a402024-05-30 15:47:34 +0100232 <artifactId>opentelemetry-sdk-extension-jaeger-remote-sampler</artifactId>
233 </dependency>
234 <dependency>
lapentafdf734a402024-05-30 15:47:34 +0100235 <groupId>io.opentelemetry.instrumentation</groupId>
236 <artifactId>opentelemetry-spring-webflux-5.3</artifactId>
237 </dependency>
238 <dependency>
lapentafdad800652024-06-24 10:54:54 +0100239 <groupId>io.opentelemetry.instrumentation</groupId>
240 <artifactId>opentelemetry-spring-boot-starter</artifactId>
lapentafdf734a402024-05-30 15:47:34 +0100241 </dependency>
242 <!-- For ObservationRegistryCustomizer -->
243 <dependency>
244 <groupId>org.springframework.boot</groupId>
245 <artifactId>spring-boot-actuator-autoconfigure</artifactId>
lapentafdf734a402024-05-30 15:47:34 +0100246 </dependency>
RehanRaza0e3740a2020-08-03 15:56:03 +0200247 </dependencies>
lapentafdf734a402024-05-30 15:47:34 +0100248 <dependencyManagement>
249 <dependencies>
250 <dependency>
251 <groupId>io.opentelemetry</groupId>
252 <artifactId>opentelemetry-bom</artifactId>
lapentafdaa142062024-08-20 14:24:11 +0100253 <version>1.41.0</version>
lapentafdf734a402024-05-30 15:47:34 +0100254 <type>pom</type>
255 <scope>import</scope>
256 </dependency>
257 <dependency>
258 <groupId>io.opentelemetry.instrumentation</groupId>
259 <artifactId>opentelemetry-instrumentation-bom-alpha</artifactId>
lapentafdaa142062024-08-20 14:24:11 +0100260 <version>2.7.0-alpha</version>
lapentafdf734a402024-05-30 15:47:34 +0100261 <type>pom</type>
262 <scope>import</scope>
263 </dependency>
264 </dependencies>
265 </dependencyManagement>
RehanRaza0e3740a2020-08-03 15:56:03 +0200266 <build>
267 <plugins>
268 <plugin>
Dan Timoneybf5e4cd2022-12-01 17:02:22 -0500269 <groupId>org.codehaus.gmaven</groupId>
270 <artifactId>groovy-maven-plugin</artifactId>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100271 <version>2.1.1</version>
Dan Timoneyefdb5b02020-11-02 11:00:33 -0500272 <executions>
273 <execution>
274 <phase>validate</phase>
275 <goals>
276 <goal>execute</goal>
277 </goals>
278 <configuration>
279 <source>${basedir}/TagVersion.groovy</source>
280 </configuration>
281 </execution>
282 </executions>
283 </plugin>
284 <plugin>
RehanRaza0e3740a2020-08-03 15:56:03 +0200285 <groupId>org.springframework.boot</groupId>
286 <artifactId>spring-boot-maven-plugin</artifactId>
287 </plugin>
Singal, Kapil (ks220y)7788a0b2020-09-03 16:24:57 -0400288 <plugin>
RehanRaza0e3740a2020-08-03 15:56:03 +0200289 <groupId>net.revelc.code.formatter</groupId>
290 <artifactId>formatter-maven-plugin</artifactId>
291 <version>${formatter-maven-plugin.version}</version>
292 <configuration>
Singal, Kapil (ks220y)7788a0b2020-09-03 16:24:57 -0400293 <lineEnding>LF</lineEnding>
RehanRaza0e3740a2020-08-03 15:56:03 +0200294 <configFile>${project.basedir}/eclipse-formatter.xml</configFile>
295 </configuration>
296 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
297 spotless:apply process-sources -->
298 </plugin>
299 <plugin>
300 <groupId>com.diffplug.spotless</groupId>
301 <artifactId>spotless-maven-plugin</artifactId>
302 <version>${spotless-maven-plugin.version}</version>
303 <configuration>
Singal, Kapil (ks220y)7788a0b2020-09-03 16:24:57 -0400304 <lineEndings>UNIX</lineEndings>
RehanRaza0e3740a2020-08-03 15:56:03 +0200305 <java>
Dan Timoney42477eb2023-08-10 17:05:46 -0400306 <removeUnusedImports/>
RehanRaza0e3740a2020-08-03 15:56:03 +0200307 <importOrder>
PatrikBuhr44499d02023-04-04 10:06:22 +0200308 <order>com,io,java,lombok,javax,org,reactor</order>
RehanRaza0e3740a2020-08-03 15:56:03 +0200309 </importOrder>
310 </java>
311 </configuration>
312 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
313 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
314 source files -->
315 </plugin>
316 <plugin>
317 <groupId>org.apache.maven.plugins</groupId>
318 <artifactId>maven-surefire-plugin</artifactId>
elinuxhenrik9c3a6bd2020-08-26 14:04:17 +0200319 <version>${surefire-maven-plugin.version}</version>
RehanRaza0e3740a2020-08-03 15:56:03 +0200320 <configuration>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000321 <skipTests>${allowskiptests}</skipTests>
Dan Timoney42477eb2023-08-10 17:05:46 -0400322 <statelessTestsetReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5Xml30StatelessReporter">
halil.cakal40ce8292023-02-02 12:25:13 +0000323 <usePhrasedFileName>false</usePhrasedFileName>
324 <usePhrasedTestSuiteClassName>true</usePhrasedTestSuiteClassName>
325 <usePhrasedTestCaseClassName>true</usePhrasedTestCaseClassName>
326 <usePhrasedTestCaseMethodName>true</usePhrasedTestCaseMethodName>
327 </statelessTestsetReporter>
Dan Timoney42477eb2023-08-10 17:05:46 -0400328 <consoleOutputReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5ConsoleOutputReporter">
halil.cakal40ce8292023-02-02 12:25:13 +0000329 <usePhrasedFileName>false</usePhrasedFileName>
330 </consoleOutputReporter>
Dan Timoney42477eb2023-08-10 17:05:46 -0400331 <statelessTestsetInfoReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoReporter">
halil.cakal40ce8292023-02-02 12:25:13 +0000332 <usePhrasedFileName>false</usePhrasedFileName>
333 <usePhrasedClassNameInRunning>true</usePhrasedClassNameInRunning>
334 <usePhrasedClassNameInTestCaseSummary>true</usePhrasedClassNameInTestCaseSummary>
335 </statelessTestsetInfoReporter>
RehanRaza0e3740a2020-08-03 15:56:03 +0200336 </configuration>
337 </plugin>
338 <plugin>
RehanRaza0e3740a2020-08-03 15:56:03 +0200339 <groupId>org.codehaus.mojo</groupId>
340 <artifactId>build-helper-maven-plugin</artifactId>
341 <executions>
342 <execution>
343 <id>add-source</id>
344 <phase>generate-sources</phase>
345 <goals>
346 <goal>add-source</goal>
347 </goals>
348 <configuration>
349 <sources>
350 <source>${project.build.directory}/generated-sources/annotations/</source>
351 </sources>
352 </configuration>
353 </execution>
354 </executions>
355 </plugin>
356 <plugin>
357 <groupId>org.jacoco</groupId>
358 <artifactId>jacoco-maven-plugin</artifactId>
359 <version>${jacoco-maven-plugin.version}</version>
360 <executions>
361 <execution>
362 <id>default-prepare-agent</id>
363 <goals>
364 <goal>prepare-agent</goal>
365 </goals>
366 </execution>
367 <execution>
368 <id>default-report</id>
369 <phase>prepare-package</phase>
370 <goals>
371 <goal>report</goal>
372 </goals>
373 </execution>
374 </executions>
375 </plugin>
376 <plugin>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100377 <groupId>io.swagger.codegen.v3</groupId>
378 <artifactId>swagger-codegen-maven-plugin</artifactId>
379 <version>3.0.46</version>
380 <executions>
381 <execution>
382 <id>generate-openapi-json</id>
383 <phase>prepare-package</phase>
384 <goals>
385 <goal>generate</goal>
386 </goals>
387 <configuration>
388 <inputSpec>${project.basedir}/api/pms-api.yaml</inputSpec>
389 <language>openapi</language>
390 <output>${project.basedir}/api</output>
391 <configOptions>
392 <outputFile>pms-api.json</outputFile>
393 </configOptions>
394 </configuration>
395 </execution>
396 </executions>
397 </plugin>
398 <plugin>
halil.cakalb4ed3332023-01-20 12:14:08 +0000399 <groupId>org.openapitools</groupId>
400 <artifactId>openapi-generator-maven-plugin</artifactId>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100401 <version>6.6.0</version>
elinuxhenrikf28594d2020-12-07 14:54:19 +0100402 <executions>
403 <execution>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000404 <id>generate-openapi-html</id>
405 <phase>prepare-package</phase>
elinuxhenrikf28594d2020-12-07 14:54:19 +0100406 <goals>
407 <goal>generate</goal>
408 </goals>
409 <configuration>
410 <inputSpec>${project.basedir}/api/pms-api.json</inputSpec>
halil.cakalb4ed3332023-01-20 12:14:08 +0000411 <generatorName>html2</generatorName>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000412 <output>${project.basedir}/api/pms-api</output>
halil.cakalb4ed3332023-01-20 12:14:08 +0000413 <skipOperationExample>false</skipOperationExample>
414 <strictSpec>false</strictSpec>
elinuxhenrikf28594d2020-12-07 14:54:19 +0100415 <configOptions>
PatrikBuhr44499d02023-04-04 10:06:22 +0200416 <appDescription>The O-RAN Non-RT RIC Policy Management Service
417 provides a REST API for managing O-RAN A1 Policies.</appDescription>
halil.cakalb4ed3332023-01-20 12:14:08 +0000418 <appName>ONAP CCSDK A1 Policy Management Service</appName>
419 <infoUrl>https://wiki.onap.org/display/DW/O-RAN+A1+Policies+in+ONAP</infoUrl>
PatrikBuhr44499d02023-04-04 10:06:22 +0200420 <licenseInfo>Copyright (C) 2020-2023 Nordix Foundation. Licensed
raviteja.karumuri3e02f632024-01-17 15:50:10 +0000421 under the Apache License, and Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.</licenseInfo>
halil.cakalb4ed3332023-01-20 12:14:08 +0000422 <licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000423 </configOptions>
424 </configuration>
425 </execution>
426 <execution>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100427 <id>generate-policy-api</id>
428 <phase>generate-sources </phase>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000429 <goals>
430 <goal>generate</goal>
431 </goals>
432 <configuration>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100433 <inputSpec>${project.basedir}/api/pms-api.yaml</inputSpec>
434 <invokerPackage>${project.groupId}.a1policymanagementservice.controllers.v2</invokerPackage>
435 <apiPackage>${project.groupId}.a1policymanagementservice.controllers.api.v2</apiPackage>
436 <modelPackage>${project.groupId}.a1policymanagementservice.models.v2</modelPackage>
437 <generateApiTests>false</generateApiTests>
438 <generateModelTests>false</generateModelTests>
439 <generatorName>spring</generatorName>
440 <generateSupportingFiles>false</generateSupportingFiles>
441 <skipValidateSpec>false</skipValidateSpec>
442 <library>spring-boot</library>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000443 <configOptions>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100444 <sourceFolder>src/gen/java</sourceFolder>
445 <interfaceOnly>true</interfaceOnly>
446 <useTags>true</useTags>
447 <reactive>true</reactive>
448 <dateLibrary>java8</dateLibrary>
449 <java8>true</java8>
450 <unhandledException>true</unhandledException>
451 <openApiNullable>false</openApiNullable>
452 <skipDefaultInterface>true</skipDefaultInterface>
elinuxhenrikf28594d2020-12-07 14:54:19 +0100453 </configOptions>
454 </configuration>
455 </execution>
raviteja.karumuri6de5c032024-03-22 11:55:58 +0000456 <execution>
457 <id>generate-policy-api-v3</id>
458 <phase>generate-sources </phase>
459 <goals>
460 <goal>generate</goal>
461 </goals>
462 <configuration>
463 <inputSpec>${project.basedir}/api/pms-api-v3.yaml</inputSpec>
464 <invokerPackage>${project.groupId}.a1policymanagementservice.controllers.v3</invokerPackage>
465 <apiPackage>${project.groupId}.a1policymanagementservice.controllers.api.v3</apiPackage>
466 <modelPackage>${project.groupId}.a1policymanagementservice.models.v3</modelPackage>
467 <generateApiTests>false</generateApiTests>
468 <generateModelTests>false</generateModelTests>
469 <generatorName>spring</generatorName>
470 <generateSupportingFiles>false</generateSupportingFiles>
471 <skipValidateSpec>false</skipValidateSpec>
472 <library>spring-boot</library>
473 <configOptions>
474 <sourceFolder>src/gen/java</sourceFolder>
475 <interfaceOnly>true</interfaceOnly>
476 <useTags>true</useTags>
477 <reactive>true</reactive>
478 <dateLibrary>java8</dateLibrary>
479 <java8>true</java8>
480 <unhandledException>true</unhandledException>
481 <openApiNullable>false</openApiNullable>
482 <skipDefaultInterface>true</skipDefaultInterface>
483 </configOptions>
484 </configuration>
485 </execution>
elinuxhenrikf28594d2020-12-07 14:54:19 +0100486 </executions>
487 </plugin>
488 <plugin>
PatrikBuhr1122b012021-01-20 12:21:52 +0100489 <artifactId>maven-resources-plugin</artifactId>
490 <executions>
491 <execution>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000492 <id>copy-resource-openapi</id>
493 <phase>package</phase>
PatrikBuhr1122b012021-01-20 12:21:52 +0100494 <goals>
495 <goal>copy-resources</goal>
496 </goals>
497 <configuration>
498 <outputDirectory>${project.basedir}/../docs/offeredapis/swagger</outputDirectory>
raviteja.karumuri3e02f632024-01-17 15:50:10 +0000499 <overwrite>true</overwrite>
PatrikBuhr1122b012021-01-20 12:21:52 +0100500 <resources>
501 <resource>
502 <directory>${project.basedir}/api</directory>
503 <includes>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000504 <include>pms-api.json</include>
505 <include>pms-api.yaml</include>
506 </includes>
507 </resource>
508 </resources>
509 </configuration>
510 </execution>
511 <execution>
512 <id>copy-resource-openapi-html</id>
513 <phase>package</phase>
514 <goals>
515 <goal>copy-resources</goal>
516 </goals>
517 <configuration>
518 <verbose>true</verbose>
PatrikBuhr44499d02023-04-04 10:06:22 +0200519 <outputDirectory>
520 ${project.basedir}/../docs/offeredapis/openapitoolgen/offeredapis/pms-api</outputDirectory>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000521 <resources>
522 <resource>
523 <directory>${project.basedir}/api/pms-api</directory>
524 <includes>
halil.cakalb4ed3332023-01-20 12:14:08 +0000525 <include>index.html</include>
PatrikBuhr1122b012021-01-20 12:21:52 +0100526 </includes>
527 </resource>
528 </resources>
529 </configuration>
530 </execution>
531 </executions>
532 </plugin>
533 <plugin>
RehanRaza0e3740a2020-08-03 15:56:03 +0200534 <groupId>io.fabric8</groupId>
535 <artifactId>docker-maven-plugin</artifactId>
536 <version>${docker-maven-plugin}</version>
537 <inherited>false</inherited>
538 <executions>
539 <execution>
540 <id>generate-policy-management-service-image</id>
541 <phase>package</phase>
542 <goals>
543 <goal>build</goal>
544 </goals>
545 <configuration>
546 <images>
547 <image>
PatrikBuhr44499d02023-04-04 10:06:22 +0200548 <name>
549 onap/ccsdk-oran-a1policymanagementservice:${project.version}</name>
RehanRaza0e3740a2020-08-03 15:56:03 +0200550 <build>
551 <cleanup>try</cleanup>
552 <contextDir>${basedir}</contextDir>
553 <dockerFile>Dockerfile</dockerFile>
554 <args>
555 <JAR>${project.build.finalName}.jar</JAR>
556 </args>
557 <tags>
558 <tag>${project.version}</tag>
559 </tags>
560 </build>
561 </image>
562 </images>
563 </configuration>
564 </execution>
565 <execution>
566 <id>push-policy-management-service-image</id>
567 <goals>
568 <goal>build</goal>
569 <goal>push</goal>
570 </goals>
571 <configuration>
572 <images>
573 <image>
PatrikBuhr44499d02023-04-04 10:06:22 +0200574 <name>
575 onap/ccsdk-oran-a1policymanagementservice:${project.version}</name>
RehanRaza0e3740a2020-08-03 15:56:03 +0200576 <build>
577 <contextDir>${basedir}</contextDir>
578 <dockerFile>Dockerfile</dockerFile>
579 <args>
580 <JAR>${project.build.finalName}.jar</JAR>
581 </args>
582 <tags>
Dan Timoneyefdb5b02020-11-02 11:00:33 -0500583 <tag>${project.docker.latestminortag.version}</tag>
584 <tag>${project.docker.latestfulltag.version}</tag>
585 <tag>${project.docker.latesttagtimestamp.version}</tag>
RehanRaza0e3740a2020-08-03 15:56:03 +0200586 </tags>
587 </build>
588 </image>
589 </images>
590 </configuration>
591 </execution>
592 </executions>
593 </plugin>
594 </plugins>
595 </build>
halil.cakal40ce8292023-02-02 12:25:13 +0000596 <reporting>
597 <plugins>
598 <plugin>
599 <groupId>org.apache.maven.plugins</groupId>
600 <artifactId>maven-surefire-report-plugin</artifactId>
601 <version>${surefire-report-plugin.version}</version>
602 </plugin>
603 </plugins>
604 </reporting>
nitincg3c7a3242023-06-16 23:38:08 +0530605</project>