blob: b9b34a2708aa33bbddbac6a386d9ae02f61066eb [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>
JohnKeeney7ff7a432023-08-28 16:51:05 +010027 <artifactId>spring-boot-31-starter-parent</artifactId>
Dan Timoney8bb90c02023-11-08 10:17:19 -050028 <version>2.6.1</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>
Dan Timoney2eca5482023-11-10 10:07:15 -050033 <version>1.7.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>
JohnKeeney3e1cb152023-11-08 15:59:54 +000039 <json.version>20231013</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>
JohnKeeney8f49f442023-11-17 17:59:33 +000042 <commons-io.version>2.14.0</commons-io.version>
JohnKeeney7ff7a432023-08-28 16:51:05 +010043 <guava.version>32.0.1-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>
JohnKeeney62abcd82023-03-01 19:04:58 +000050 <software.amazon.awssdk.version>2.20.12</software.amazon.awssdk.version>
JohnKeeneye251d0c2023-02-20 18:00:44 +000051 <allowskiptests>false</allowskiptests>
RehanRaza0e3740a2020-08-03 15:56:03 +020052 </properties>
53 <dependencies>
54 <dependency>
raviteja.karumuria4687d92023-09-14 12:38:49 +010055 <groupId>javax.validation</groupId>
56 <artifactId>validation-api</artifactId>
57 <version>2.0.1.Final</version>
58 </dependency>
59 <dependency>
60 <groupId>javax.annotation</groupId>
61 <artifactId>javax.annotation-api</artifactId>
62 <version>1.3.2</version>
63 </dependency>
64 <dependency>
65 <groupId>io.swagger.core.v3</groupId>
66 <artifactId>swagger-annotations</artifactId>
67 <version>2.2.15</version>
68 </dependency>
69 <dependency>
70 <groupId>org.openapitools</groupId>
71 <artifactId>jackson-databind-nullable</artifactId>
72 <version>0.2.4</version>
73 </dependency>
74 <dependency>
PatrikBuhr6ef6b6f2023-04-25 15:11:04 +020075 <!-- Temporary until version 2 is included by the parent spring-boot-starter-parent -->
76 <groupId>org.yaml</groupId>
77 <artifactId>snakeyaml</artifactId>
78 <version>2.0</version>
79 </dependency>
80 <dependency>
RehanRaza0e3740a2020-08-03 15:56:03 +020081 <groupId>org.springframework.boot</groupId>
elinuxhenrikfa658f62020-11-05 12:37:43 +010082 <artifactId>spring-boot</artifactId>
83 </dependency>
84 <dependency>
85 <groupId>org.springframework</groupId>
elinuxhenrikfa658f62020-11-05 12:37:43 +010086 <artifactId>spring-context</artifactId>
RehanRaza0e3740a2020-08-03 15:56:03 +020087 </dependency>
88 <dependency>
89 <groupId>org.springframework.boot</groupId>
elinuxhenrikfa658f62020-11-05 12:37:43 +010090 <artifactId>spring-boot-autoconfigure</artifactId>
RehanRaza0e3740a2020-08-03 15:56:03 +020091 </dependency>
92 <dependency>
PatrikBuhr0f8b2052021-12-20 13:40:14 +010093 <groupId>org.springframework.boot</groupId>
94 <artifactId>spring-boot-starter-webflux</artifactId>
95 </dependency>
96 <dependency>
JohnKeeney62abcd82023-03-01 19:04:58 +000097 <!-- May be possible to remove this later when ccsdk parent bom stabilizes -->
98 <groupId>javax.servlet</groupId>
99 <artifactId>javax.servlet-api</artifactId>
100 <version>3.1.0</version>
elinuxhenrikfa658f62020-11-05 12:37:43 +0100101 </dependency>
102 <dependency>
103 <groupId>org.aspectj</groupId>
104 <artifactId>aspectjweaver</artifactId>
105 </dependency>
106 <dependency>
elinuxhenrikfa658f62020-11-05 12:37:43 +0100107 <groupId>org.apache.tomcat.embed</groupId>
108 <artifactId>tomcat-embed-core</artifactId>
109 </dependency>
110 <dependency>
elinuxhenrikfa658f62020-11-05 12:37:43 +0100111 <groupId>com.google.guava</groupId>
112 <artifactId>guava</artifactId>
JohnKeeneyc9778a72022-11-01 18:49:15 +0000113 <version>${guava.version}</version>
RehanRaza0e3740a2020-08-03 15:56:03 +0200114 </dependency>
115 <dependency>
PatrikBuhr3f3a4d72022-05-30 14:22:46 +0200116 <groupId>com.google.code.gson</groupId>
RehanRaza0e3740a2020-08-03 15:56:03 +0200117 <artifactId>gson</artifactId>
PatrikBuhr3f3a4d72022-05-30 14:22:46 +0200118 <version>${gson.version}</version>
RehanRaza0e3740a2020-08-03 15:56:03 +0200119 </dependency>
120 <dependency>
121 <groupId>org.json</groupId>
122 <artifactId>json</artifactId>
123 <version>${json.version}</version>
124 </dependency>
125 <dependency>
RehanRaza0e3740a2020-08-03 15:56:03 +0200126 <groupId>org.projectlombok</groupId>
127 <artifactId>lombok</artifactId>
128 <scope>provided</scope>
129 </dependency>
raviteja.karumuri10948b62024-04-30 22:15:58 +0100130 <dependency>
131 <groupId>org.mapstruct</groupId>
132 <artifactId>mapstruct</artifactId>
133 <version>1.5.5.Final</version>
134 </dependency>
135 <dependency>
136 <groupId>org.mapstruct</groupId>
137 <artifactId>mapstruct-processor</artifactId>
138 <version>1.5.5.Final</version>
139 </dependency>
RehanRaza0e3740a2020-08-03 15:56:03 +0200140 <!-- Actuator dependencies -->
141 <dependency>
142 <groupId>org.springframework.boot</groupId>
143 <artifactId>spring-boot-starter-actuator</artifactId>
elinuxhenrikfa658f62020-11-05 12:37:43 +0100144 <scope>runtime</scope>
RehanRaza0e3740a2020-08-03 15:56:03 +0200145 </dependency>
halil.cakal8eadcb62022-09-29 09:47:09 +0100146 <dependency>
147 <groupId>io.micrometer</groupId>
148 <artifactId>micrometer-registry-prometheus</artifactId>
149 </dependency>
150 <dependency>
151 <groupId>org.springframework.boot</groupId>
152 <artifactId>spring-boot-starter-aop</artifactId>
153 </dependency>
PatrikBuhre3693cf2022-10-14 11:38:22 +0200154 <dependency>
155 <groupId>software.amazon.awssdk</groupId>
156 <artifactId>s3</artifactId>
157 <version>${software.amazon.awssdk.version}</version>
158 </dependency>
elinuxhenrikfa658f62020-11-05 12:37:43 +0100159 <!-- For development help -->
160 <dependency>
161 <groupId>org.springframework.boot</groupId>
162 <artifactId>spring-boot-devtools</artifactId>
163 <optional>true</optional>
164 <scope>runtime</scope>
165 </dependency>
166 <dependency>
167 <groupId>org.springframework.boot</groupId>
168 <artifactId>spring-boot-configuration-processor</artifactId>
169 <optional>true</optional>
170 <scope>runtime</scope>
RehanRaza0e3740a2020-08-03 15:56:03 +0200171 </dependency>
elinuxhenrikfa658f62020-11-05 12:37:43 +0100172 <dependency>
173 <groupId>org.springframework.boot</groupId>
RehanRaza0e3740a2020-08-03 15:56:03 +0200174 <artifactId>spring-boot-starter-test</artifactId>
175 <scope>test</scope>
176 </dependency>
177 <dependency>
178 <groupId>org.awaitility</groupId>
179 <artifactId>awaitility</artifactId>
180 <scope>test</scope>
181 </dependency>
182 <dependency>
183 <groupId>io.projectreactor</groupId>
184 <artifactId>reactor-test</artifactId>
185 <scope>test</scope>
186 </dependency>
187 <dependency>
188 <groupId>org.junit.jupiter</groupId>
189 <artifactId>junit-jupiter-engine</artifactId>
190 <scope>test</scope>
191 </dependency>
192 <dependency>
193 <groupId>org.mockito</groupId>
194 <artifactId>mockito-junit-jupiter</artifactId>
195 <scope>test</scope>
196 </dependency>
197 <dependency>
198 <groupId>org.mockito</groupId>
199 <artifactId>mockito-core</artifactId>
200 <scope>test</scope>
201 </dependency>
202 <dependency>
203 <groupId>com.squareup.okhttp3</groupId>
204 <artifactId>mockwebserver</artifactId>
205 <scope>test</scope>
206 </dependency>
elinuxhenrik50b658d2020-11-11 14:11:37 +0100207 <dependency>
208 <groupId>commons-io</groupId>
209 <artifactId>commons-io</artifactId>
210 <version>${commons-io.version}</version>
211 <scope>test</scope>
212 </dependency>
PatrikBuhrd279ef72021-09-21 14:47:59 +0200213 <dependency>
214 <groupId>com.github.erosb</groupId>
215 <artifactId>everit-json-schema</artifactId>
PatrikBuhr62c25962022-03-25 15:39:06 +0100216 <version>1.14.0</version>
PatrikBuhrd279ef72021-09-21 14:47:59 +0200217 </dependency>
RehanRaza0e3740a2020-08-03 15:56:03 +0200218 </dependencies>
219 <build>
220 <plugins>
221 <plugin>
Dan Timoneybf5e4cd2022-12-01 17:02:22 -0500222 <groupId>org.codehaus.gmaven</groupId>
223 <artifactId>groovy-maven-plugin</artifactId>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100224 <version>2.1.1</version>
Dan Timoneyefdb5b02020-11-02 11:00:33 -0500225 <executions>
226 <execution>
227 <phase>validate</phase>
228 <goals>
229 <goal>execute</goal>
230 </goals>
231 <configuration>
232 <source>${basedir}/TagVersion.groovy</source>
233 </configuration>
234 </execution>
235 </executions>
236 </plugin>
237 <plugin>
RehanRaza0e3740a2020-08-03 15:56:03 +0200238 <groupId>org.springframework.boot</groupId>
239 <artifactId>spring-boot-maven-plugin</artifactId>
240 </plugin>
Singal, Kapil (ks220y)7788a0b2020-09-03 16:24:57 -0400241 <plugin>
RehanRaza0e3740a2020-08-03 15:56:03 +0200242 <groupId>net.revelc.code.formatter</groupId>
243 <artifactId>formatter-maven-plugin</artifactId>
244 <version>${formatter-maven-plugin.version}</version>
245 <configuration>
Singal, Kapil (ks220y)7788a0b2020-09-03 16:24:57 -0400246 <lineEnding>LF</lineEnding>
RehanRaza0e3740a2020-08-03 15:56:03 +0200247 <configFile>${project.basedir}/eclipse-formatter.xml</configFile>
248 </configuration>
249 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
250 spotless:apply process-sources -->
251 </plugin>
252 <plugin>
253 <groupId>com.diffplug.spotless</groupId>
254 <artifactId>spotless-maven-plugin</artifactId>
255 <version>${spotless-maven-plugin.version}</version>
256 <configuration>
Singal, Kapil (ks220y)7788a0b2020-09-03 16:24:57 -0400257 <lineEndings>UNIX</lineEndings>
RehanRaza0e3740a2020-08-03 15:56:03 +0200258 <java>
Dan Timoney42477eb2023-08-10 17:05:46 -0400259 <removeUnusedImports/>
RehanRaza0e3740a2020-08-03 15:56:03 +0200260 <importOrder>
PatrikBuhr44499d02023-04-04 10:06:22 +0200261 <order>com,io,java,lombok,javax,org,reactor</order>
RehanRaza0e3740a2020-08-03 15:56:03 +0200262 </importOrder>
263 </java>
264 </configuration>
265 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
266 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
267 source files -->
268 </plugin>
269 <plugin>
270 <groupId>org.apache.maven.plugins</groupId>
271 <artifactId>maven-surefire-plugin</artifactId>
elinuxhenrik9c3a6bd2020-08-26 14:04:17 +0200272 <version>${surefire-maven-plugin.version}</version>
RehanRaza0e3740a2020-08-03 15:56:03 +0200273 <configuration>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000274 <skipTests>${allowskiptests}</skipTests>
Dan Timoney42477eb2023-08-10 17:05:46 -0400275 <statelessTestsetReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5Xml30StatelessReporter">
halil.cakal40ce8292023-02-02 12:25:13 +0000276 <usePhrasedFileName>false</usePhrasedFileName>
277 <usePhrasedTestSuiteClassName>true</usePhrasedTestSuiteClassName>
278 <usePhrasedTestCaseClassName>true</usePhrasedTestCaseClassName>
279 <usePhrasedTestCaseMethodName>true</usePhrasedTestCaseMethodName>
280 </statelessTestsetReporter>
Dan Timoney42477eb2023-08-10 17:05:46 -0400281 <consoleOutputReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5ConsoleOutputReporter">
halil.cakal40ce8292023-02-02 12:25:13 +0000282 <usePhrasedFileName>false</usePhrasedFileName>
283 </consoleOutputReporter>
Dan Timoney42477eb2023-08-10 17:05:46 -0400284 <statelessTestsetInfoReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoReporter">
halil.cakal40ce8292023-02-02 12:25:13 +0000285 <usePhrasedFileName>false</usePhrasedFileName>
286 <usePhrasedClassNameInRunning>true</usePhrasedClassNameInRunning>
287 <usePhrasedClassNameInTestCaseSummary>true</usePhrasedClassNameInTestCaseSummary>
288 </statelessTestsetInfoReporter>
RehanRaza0e3740a2020-08-03 15:56:03 +0200289 </configuration>
290 </plugin>
291 <plugin>
RehanRaza0e3740a2020-08-03 15:56:03 +0200292 <groupId>org.codehaus.mojo</groupId>
293 <artifactId>build-helper-maven-plugin</artifactId>
294 <executions>
295 <execution>
296 <id>add-source</id>
297 <phase>generate-sources</phase>
298 <goals>
299 <goal>add-source</goal>
300 </goals>
301 <configuration>
302 <sources>
303 <source>${project.build.directory}/generated-sources/annotations/</source>
304 </sources>
305 </configuration>
306 </execution>
307 </executions>
308 </plugin>
309 <plugin>
310 <groupId>org.jacoco</groupId>
311 <artifactId>jacoco-maven-plugin</artifactId>
312 <version>${jacoco-maven-plugin.version}</version>
313 <executions>
314 <execution>
315 <id>default-prepare-agent</id>
316 <goals>
317 <goal>prepare-agent</goal>
318 </goals>
319 </execution>
320 <execution>
321 <id>default-report</id>
322 <phase>prepare-package</phase>
323 <goals>
324 <goal>report</goal>
325 </goals>
326 </execution>
327 </executions>
328 </plugin>
329 <plugin>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100330 <groupId>io.swagger.codegen.v3</groupId>
331 <artifactId>swagger-codegen-maven-plugin</artifactId>
332 <version>3.0.46</version>
333 <executions>
334 <execution>
335 <id>generate-openapi-json</id>
336 <phase>prepare-package</phase>
337 <goals>
338 <goal>generate</goal>
339 </goals>
340 <configuration>
341 <inputSpec>${project.basedir}/api/pms-api.yaml</inputSpec>
342 <language>openapi</language>
343 <output>${project.basedir}/api</output>
344 <configOptions>
345 <outputFile>pms-api.json</outputFile>
346 </configOptions>
347 </configuration>
348 </execution>
349 </executions>
350 </plugin>
351 <plugin>
halil.cakalb4ed3332023-01-20 12:14:08 +0000352 <groupId>org.openapitools</groupId>
353 <artifactId>openapi-generator-maven-plugin</artifactId>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100354 <version>6.6.0</version>
elinuxhenrikf28594d2020-12-07 14:54:19 +0100355 <executions>
356 <execution>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000357 <id>generate-openapi-html</id>
358 <phase>prepare-package</phase>
elinuxhenrikf28594d2020-12-07 14:54:19 +0100359 <goals>
360 <goal>generate</goal>
361 </goals>
362 <configuration>
363 <inputSpec>${project.basedir}/api/pms-api.json</inputSpec>
halil.cakalb4ed3332023-01-20 12:14:08 +0000364 <generatorName>html2</generatorName>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000365 <output>${project.basedir}/api/pms-api</output>
halil.cakalb4ed3332023-01-20 12:14:08 +0000366 <skipOperationExample>false</skipOperationExample>
367 <strictSpec>false</strictSpec>
elinuxhenrikf28594d2020-12-07 14:54:19 +0100368 <configOptions>
PatrikBuhr44499d02023-04-04 10:06:22 +0200369 <appDescription>The O-RAN Non-RT RIC Policy Management Service
370 provides a REST API for managing O-RAN A1 Policies.</appDescription>
halil.cakalb4ed3332023-01-20 12:14:08 +0000371 <appName>ONAP CCSDK A1 Policy Management Service</appName>
372 <infoUrl>https://wiki.onap.org/display/DW/O-RAN+A1+Policies+in+ONAP</infoUrl>
PatrikBuhr44499d02023-04-04 10:06:22 +0200373 <licenseInfo>Copyright (C) 2020-2023 Nordix Foundation. Licensed
raviteja.karumuri3e02f632024-01-17 15:50:10 +0000374 under the Apache License, and Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.</licenseInfo>
halil.cakalb4ed3332023-01-20 12:14:08 +0000375 <licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000376 </configOptions>
377 </configuration>
378 </execution>
379 <execution>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100380 <id>generate-policy-api</id>
381 <phase>generate-sources </phase>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000382 <goals>
383 <goal>generate</goal>
384 </goals>
385 <configuration>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100386 <inputSpec>${project.basedir}/api/pms-api.yaml</inputSpec>
387 <invokerPackage>${project.groupId}.a1policymanagementservice.controllers.v2</invokerPackage>
388 <apiPackage>${project.groupId}.a1policymanagementservice.controllers.api.v2</apiPackage>
389 <modelPackage>${project.groupId}.a1policymanagementservice.models.v2</modelPackage>
390 <generateApiTests>false</generateApiTests>
391 <generateModelTests>false</generateModelTests>
392 <generatorName>spring</generatorName>
393 <generateSupportingFiles>false</generateSupportingFiles>
394 <skipValidateSpec>false</skipValidateSpec>
395 <library>spring-boot</library>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000396 <configOptions>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100397 <sourceFolder>src/gen/java</sourceFolder>
398 <interfaceOnly>true</interfaceOnly>
399 <useTags>true</useTags>
400 <reactive>true</reactive>
401 <dateLibrary>java8</dateLibrary>
402 <java8>true</java8>
403 <unhandledException>true</unhandledException>
404 <openApiNullable>false</openApiNullable>
405 <skipDefaultInterface>true</skipDefaultInterface>
elinuxhenrikf28594d2020-12-07 14:54:19 +0100406 </configOptions>
407 </configuration>
408 </execution>
raviteja.karumuri6de5c032024-03-22 11:55:58 +0000409 <execution>
410 <id>generate-policy-api-v3</id>
411 <phase>generate-sources </phase>
412 <goals>
413 <goal>generate</goal>
414 </goals>
415 <configuration>
416 <inputSpec>${project.basedir}/api/pms-api-v3.yaml</inputSpec>
417 <invokerPackage>${project.groupId}.a1policymanagementservice.controllers.v3</invokerPackage>
418 <apiPackage>${project.groupId}.a1policymanagementservice.controllers.api.v3</apiPackage>
419 <modelPackage>${project.groupId}.a1policymanagementservice.models.v3</modelPackage>
420 <generateApiTests>false</generateApiTests>
421 <generateModelTests>false</generateModelTests>
422 <generatorName>spring</generatorName>
423 <generateSupportingFiles>false</generateSupportingFiles>
424 <skipValidateSpec>false</skipValidateSpec>
425 <library>spring-boot</library>
426 <configOptions>
427 <sourceFolder>src/gen/java</sourceFolder>
428 <interfaceOnly>true</interfaceOnly>
429 <useTags>true</useTags>
430 <reactive>true</reactive>
431 <dateLibrary>java8</dateLibrary>
432 <java8>true</java8>
433 <unhandledException>true</unhandledException>
434 <openApiNullable>false</openApiNullable>
435 <skipDefaultInterface>true</skipDefaultInterface>
436 </configOptions>
437 </configuration>
438 </execution>
elinuxhenrikf28594d2020-12-07 14:54:19 +0100439 </executions>
440 </plugin>
441 <plugin>
PatrikBuhr1122b012021-01-20 12:21:52 +0100442 <artifactId>maven-resources-plugin</artifactId>
443 <executions>
444 <execution>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000445 <id>copy-resource-openapi</id>
446 <phase>package</phase>
PatrikBuhr1122b012021-01-20 12:21:52 +0100447 <goals>
448 <goal>copy-resources</goal>
449 </goals>
450 <configuration>
451 <outputDirectory>${project.basedir}/../docs/offeredapis/swagger</outputDirectory>
raviteja.karumuri3e02f632024-01-17 15:50:10 +0000452 <overwrite>true</overwrite>
PatrikBuhr1122b012021-01-20 12:21:52 +0100453 <resources>
454 <resource>
455 <directory>${project.basedir}/api</directory>
456 <includes>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000457 <include>pms-api.json</include>
458 <include>pms-api.yaml</include>
459 </includes>
460 </resource>
461 </resources>
462 </configuration>
463 </execution>
464 <execution>
465 <id>copy-resource-openapi-html</id>
466 <phase>package</phase>
467 <goals>
468 <goal>copy-resources</goal>
469 </goals>
470 <configuration>
471 <verbose>true</verbose>
PatrikBuhr44499d02023-04-04 10:06:22 +0200472 <outputDirectory>
473 ${project.basedir}/../docs/offeredapis/openapitoolgen/offeredapis/pms-api</outputDirectory>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000474 <resources>
475 <resource>
476 <directory>${project.basedir}/api/pms-api</directory>
477 <includes>
halil.cakalb4ed3332023-01-20 12:14:08 +0000478 <include>index.html</include>
PatrikBuhr1122b012021-01-20 12:21:52 +0100479 </includes>
480 </resource>
481 </resources>
482 </configuration>
483 </execution>
484 </executions>
485 </plugin>
486 <plugin>
RehanRaza0e3740a2020-08-03 15:56:03 +0200487 <groupId>io.fabric8</groupId>
488 <artifactId>docker-maven-plugin</artifactId>
489 <version>${docker-maven-plugin}</version>
490 <inherited>false</inherited>
491 <executions>
492 <execution>
493 <id>generate-policy-management-service-image</id>
494 <phase>package</phase>
495 <goals>
496 <goal>build</goal>
497 </goals>
498 <configuration>
499 <images>
500 <image>
PatrikBuhr44499d02023-04-04 10:06:22 +0200501 <name>
502 onap/ccsdk-oran-a1policymanagementservice:${project.version}</name>
RehanRaza0e3740a2020-08-03 15:56:03 +0200503 <build>
504 <cleanup>try</cleanup>
505 <contextDir>${basedir}</contextDir>
506 <dockerFile>Dockerfile</dockerFile>
507 <args>
508 <JAR>${project.build.finalName}.jar</JAR>
509 </args>
510 <tags>
511 <tag>${project.version}</tag>
512 </tags>
513 </build>
514 </image>
515 </images>
516 </configuration>
517 </execution>
518 <execution>
519 <id>push-policy-management-service-image</id>
520 <goals>
521 <goal>build</goal>
522 <goal>push</goal>
523 </goals>
524 <configuration>
525 <images>
526 <image>
PatrikBuhr44499d02023-04-04 10:06:22 +0200527 <name>
528 onap/ccsdk-oran-a1policymanagementservice:${project.version}</name>
RehanRaza0e3740a2020-08-03 15:56:03 +0200529 <build>
530 <contextDir>${basedir}</contextDir>
531 <dockerFile>Dockerfile</dockerFile>
532 <args>
533 <JAR>${project.build.finalName}.jar</JAR>
534 </args>
535 <tags>
Dan Timoneyefdb5b02020-11-02 11:00:33 -0500536 <tag>${project.docker.latestminortag.version}</tag>
537 <tag>${project.docker.latestfulltag.version}</tag>
538 <tag>${project.docker.latesttagtimestamp.version}</tag>
RehanRaza0e3740a2020-08-03 15:56:03 +0200539 </tags>
540 </build>
541 </image>
542 </images>
543 </configuration>
544 </execution>
545 </executions>
546 </plugin>
547 </plugins>
548 </build>
halil.cakal40ce8292023-02-02 12:25:13 +0000549 <reporting>
550 <plugins>
551 <plugin>
552 <groupId>org.apache.maven.plugins</groupId>
553 <artifactId>maven-surefire-report-plugin</artifactId>
554 <version>${surefire-report-plugin.version}</version>
555 </plugin>
556 </plugins>
557 </reporting>
nitincg3c7a3242023-06-16 23:38:08 +0530558</project>