blob: 46e0ec3571ac3fc9b0a6c66af78f5b8e16cea32e [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>
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>
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>
lapentafdf734a402024-05-30 15:47:34 +0100218 <!-- For Tracing -->
219 <dependency>
220 <groupId>io.micrometer</groupId>
221 <artifactId>micrometer-tracing-bridge-otel</artifactId>
222 </dependency>
223 <dependency>
224 <groupId>io.opentelemetry</groupId>
lapentafdf734a402024-05-30 15:47:34 +0100225 <artifactId>opentelemetry-sdk-extension-jaeger-remote-sampler</artifactId>
226 </dependency>
227 <dependency>
lapentafdf734a402024-05-30 15:47:34 +0100228 <groupId>io.opentelemetry.instrumentation</groupId>
229 <artifactId>opentelemetry-spring-webflux-5.3</artifactId>
230 </dependency>
231 <dependency>
lapentafdad800652024-06-24 10:54:54 +0100232 <groupId>io.opentelemetry.instrumentation</groupId>
233 <artifactId>opentelemetry-spring-boot-starter</artifactId>
lapentafdf734a402024-05-30 15:47:34 +0100234 </dependency>
235 <!-- For ObservationRegistryCustomizer -->
236 <dependency>
237 <groupId>org.springframework.boot</groupId>
238 <artifactId>spring-boot-actuator-autoconfigure</artifactId>
239 <version>3.1.0</version>
240 </dependency>
RehanRaza0e3740a2020-08-03 15:56:03 +0200241 </dependencies>
lapentafdf734a402024-05-30 15:47:34 +0100242 <dependencyManagement>
243 <dependencies>
244 <dependency>
245 <groupId>io.opentelemetry</groupId>
246 <artifactId>opentelemetry-bom</artifactId>
247 <version>1.38.0</version>
248 <type>pom</type>
249 <scope>import</scope>
250 </dependency>
251 <dependency>
252 <groupId>io.opentelemetry.instrumentation</groupId>
253 <artifactId>opentelemetry-instrumentation-bom-alpha</artifactId>
254 <version>2.4.0-alpha</version>
255 <type>pom</type>
256 <scope>import</scope>
257 </dependency>
258 </dependencies>
259 </dependencyManagement>
RehanRaza0e3740a2020-08-03 15:56:03 +0200260 <build>
261 <plugins>
262 <plugin>
Dan Timoneybf5e4cd2022-12-01 17:02:22 -0500263 <groupId>org.codehaus.gmaven</groupId>
264 <artifactId>groovy-maven-plugin</artifactId>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100265 <version>2.1.1</version>
Dan Timoneyefdb5b02020-11-02 11:00:33 -0500266 <executions>
267 <execution>
268 <phase>validate</phase>
269 <goals>
270 <goal>execute</goal>
271 </goals>
272 <configuration>
273 <source>${basedir}/TagVersion.groovy</source>
274 </configuration>
275 </execution>
276 </executions>
277 </plugin>
278 <plugin>
RehanRaza0e3740a2020-08-03 15:56:03 +0200279 <groupId>org.springframework.boot</groupId>
280 <artifactId>spring-boot-maven-plugin</artifactId>
281 </plugin>
Singal, Kapil (ks220y)7788a0b2020-09-03 16:24:57 -0400282 <plugin>
RehanRaza0e3740a2020-08-03 15:56:03 +0200283 <groupId>net.revelc.code.formatter</groupId>
284 <artifactId>formatter-maven-plugin</artifactId>
285 <version>${formatter-maven-plugin.version}</version>
286 <configuration>
Singal, Kapil (ks220y)7788a0b2020-09-03 16:24:57 -0400287 <lineEnding>LF</lineEnding>
RehanRaza0e3740a2020-08-03 15:56:03 +0200288 <configFile>${project.basedir}/eclipse-formatter.xml</configFile>
289 </configuration>
290 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
291 spotless:apply process-sources -->
292 </plugin>
293 <plugin>
294 <groupId>com.diffplug.spotless</groupId>
295 <artifactId>spotless-maven-plugin</artifactId>
296 <version>${spotless-maven-plugin.version}</version>
297 <configuration>
Singal, Kapil (ks220y)7788a0b2020-09-03 16:24:57 -0400298 <lineEndings>UNIX</lineEndings>
RehanRaza0e3740a2020-08-03 15:56:03 +0200299 <java>
Dan Timoney42477eb2023-08-10 17:05:46 -0400300 <removeUnusedImports/>
RehanRaza0e3740a2020-08-03 15:56:03 +0200301 <importOrder>
PatrikBuhr44499d02023-04-04 10:06:22 +0200302 <order>com,io,java,lombok,javax,org,reactor</order>
RehanRaza0e3740a2020-08-03 15:56:03 +0200303 </importOrder>
304 </java>
305 </configuration>
306 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
307 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
308 source files -->
309 </plugin>
310 <plugin>
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-surefire-plugin</artifactId>
elinuxhenrik9c3a6bd2020-08-26 14:04:17 +0200313 <version>${surefire-maven-plugin.version}</version>
RehanRaza0e3740a2020-08-03 15:56:03 +0200314 <configuration>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000315 <skipTests>${allowskiptests}</skipTests>
Dan Timoney42477eb2023-08-10 17:05:46 -0400316 <statelessTestsetReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5Xml30StatelessReporter">
halil.cakal40ce8292023-02-02 12:25:13 +0000317 <usePhrasedFileName>false</usePhrasedFileName>
318 <usePhrasedTestSuiteClassName>true</usePhrasedTestSuiteClassName>
319 <usePhrasedTestCaseClassName>true</usePhrasedTestCaseClassName>
320 <usePhrasedTestCaseMethodName>true</usePhrasedTestCaseMethodName>
321 </statelessTestsetReporter>
Dan Timoney42477eb2023-08-10 17:05:46 -0400322 <consoleOutputReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5ConsoleOutputReporter">
halil.cakal40ce8292023-02-02 12:25:13 +0000323 <usePhrasedFileName>false</usePhrasedFileName>
324 </consoleOutputReporter>
Dan Timoney42477eb2023-08-10 17:05:46 -0400325 <statelessTestsetInfoReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoReporter">
halil.cakal40ce8292023-02-02 12:25:13 +0000326 <usePhrasedFileName>false</usePhrasedFileName>
327 <usePhrasedClassNameInRunning>true</usePhrasedClassNameInRunning>
328 <usePhrasedClassNameInTestCaseSummary>true</usePhrasedClassNameInTestCaseSummary>
329 </statelessTestsetInfoReporter>
RehanRaza0e3740a2020-08-03 15:56:03 +0200330 </configuration>
331 </plugin>
332 <plugin>
RehanRaza0e3740a2020-08-03 15:56:03 +0200333 <groupId>org.codehaus.mojo</groupId>
334 <artifactId>build-helper-maven-plugin</artifactId>
335 <executions>
336 <execution>
337 <id>add-source</id>
338 <phase>generate-sources</phase>
339 <goals>
340 <goal>add-source</goal>
341 </goals>
342 <configuration>
343 <sources>
344 <source>${project.build.directory}/generated-sources/annotations/</source>
345 </sources>
346 </configuration>
347 </execution>
348 </executions>
349 </plugin>
350 <plugin>
351 <groupId>org.jacoco</groupId>
352 <artifactId>jacoco-maven-plugin</artifactId>
353 <version>${jacoco-maven-plugin.version}</version>
354 <executions>
355 <execution>
356 <id>default-prepare-agent</id>
357 <goals>
358 <goal>prepare-agent</goal>
359 </goals>
360 </execution>
361 <execution>
362 <id>default-report</id>
363 <phase>prepare-package</phase>
364 <goals>
365 <goal>report</goal>
366 </goals>
367 </execution>
368 </executions>
369 </plugin>
370 <plugin>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100371 <groupId>io.swagger.codegen.v3</groupId>
372 <artifactId>swagger-codegen-maven-plugin</artifactId>
373 <version>3.0.46</version>
374 <executions>
375 <execution>
376 <id>generate-openapi-json</id>
377 <phase>prepare-package</phase>
378 <goals>
379 <goal>generate</goal>
380 </goals>
381 <configuration>
382 <inputSpec>${project.basedir}/api/pms-api.yaml</inputSpec>
383 <language>openapi</language>
384 <output>${project.basedir}/api</output>
385 <configOptions>
386 <outputFile>pms-api.json</outputFile>
387 </configOptions>
388 </configuration>
389 </execution>
390 </executions>
391 </plugin>
392 <plugin>
halil.cakalb4ed3332023-01-20 12:14:08 +0000393 <groupId>org.openapitools</groupId>
394 <artifactId>openapi-generator-maven-plugin</artifactId>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100395 <version>6.6.0</version>
elinuxhenrikf28594d2020-12-07 14:54:19 +0100396 <executions>
397 <execution>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000398 <id>generate-openapi-html</id>
399 <phase>prepare-package</phase>
elinuxhenrikf28594d2020-12-07 14:54:19 +0100400 <goals>
401 <goal>generate</goal>
402 </goals>
403 <configuration>
404 <inputSpec>${project.basedir}/api/pms-api.json</inputSpec>
halil.cakalb4ed3332023-01-20 12:14:08 +0000405 <generatorName>html2</generatorName>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000406 <output>${project.basedir}/api/pms-api</output>
halil.cakalb4ed3332023-01-20 12:14:08 +0000407 <skipOperationExample>false</skipOperationExample>
408 <strictSpec>false</strictSpec>
elinuxhenrikf28594d2020-12-07 14:54:19 +0100409 <configOptions>
PatrikBuhr44499d02023-04-04 10:06:22 +0200410 <appDescription>The O-RAN Non-RT RIC Policy Management Service
411 provides a REST API for managing O-RAN A1 Policies.</appDescription>
halil.cakalb4ed3332023-01-20 12:14:08 +0000412 <appName>ONAP CCSDK A1 Policy Management Service</appName>
413 <infoUrl>https://wiki.onap.org/display/DW/O-RAN+A1+Policies+in+ONAP</infoUrl>
PatrikBuhr44499d02023-04-04 10:06:22 +0200414 <licenseInfo>Copyright (C) 2020-2023 Nordix Foundation. Licensed
raviteja.karumuri3e02f632024-01-17 15:50:10 +0000415 under the Apache License, and Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.</licenseInfo>
halil.cakalb4ed3332023-01-20 12:14:08 +0000416 <licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000417 </configOptions>
418 </configuration>
419 </execution>
420 <execution>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100421 <id>generate-policy-api</id>
422 <phase>generate-sources </phase>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000423 <goals>
424 <goal>generate</goal>
425 </goals>
426 <configuration>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100427 <inputSpec>${project.basedir}/api/pms-api.yaml</inputSpec>
428 <invokerPackage>${project.groupId}.a1policymanagementservice.controllers.v2</invokerPackage>
429 <apiPackage>${project.groupId}.a1policymanagementservice.controllers.api.v2</apiPackage>
430 <modelPackage>${project.groupId}.a1policymanagementservice.models.v2</modelPackage>
431 <generateApiTests>false</generateApiTests>
432 <generateModelTests>false</generateModelTests>
433 <generatorName>spring</generatorName>
434 <generateSupportingFiles>false</generateSupportingFiles>
435 <skipValidateSpec>false</skipValidateSpec>
436 <library>spring-boot</library>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000437 <configOptions>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100438 <sourceFolder>src/gen/java</sourceFolder>
439 <interfaceOnly>true</interfaceOnly>
440 <useTags>true</useTags>
441 <reactive>true</reactive>
442 <dateLibrary>java8</dateLibrary>
443 <java8>true</java8>
444 <unhandledException>true</unhandledException>
445 <openApiNullable>false</openApiNullable>
446 <skipDefaultInterface>true</skipDefaultInterface>
elinuxhenrikf28594d2020-12-07 14:54:19 +0100447 </configOptions>
448 </configuration>
449 </execution>
raviteja.karumuri6de5c032024-03-22 11:55:58 +0000450 <execution>
451 <id>generate-policy-api-v3</id>
452 <phase>generate-sources </phase>
453 <goals>
454 <goal>generate</goal>
455 </goals>
456 <configuration>
457 <inputSpec>${project.basedir}/api/pms-api-v3.yaml</inputSpec>
458 <invokerPackage>${project.groupId}.a1policymanagementservice.controllers.v3</invokerPackage>
459 <apiPackage>${project.groupId}.a1policymanagementservice.controllers.api.v3</apiPackage>
460 <modelPackage>${project.groupId}.a1policymanagementservice.models.v3</modelPackage>
461 <generateApiTests>false</generateApiTests>
462 <generateModelTests>false</generateModelTests>
463 <generatorName>spring</generatorName>
464 <generateSupportingFiles>false</generateSupportingFiles>
465 <skipValidateSpec>false</skipValidateSpec>
466 <library>spring-boot</library>
467 <configOptions>
468 <sourceFolder>src/gen/java</sourceFolder>
469 <interfaceOnly>true</interfaceOnly>
470 <useTags>true</useTags>
471 <reactive>true</reactive>
472 <dateLibrary>java8</dateLibrary>
473 <java8>true</java8>
474 <unhandledException>true</unhandledException>
475 <openApiNullable>false</openApiNullable>
476 <skipDefaultInterface>true</skipDefaultInterface>
477 </configOptions>
478 </configuration>
479 </execution>
elinuxhenrikf28594d2020-12-07 14:54:19 +0100480 </executions>
481 </plugin>
482 <plugin>
PatrikBuhr1122b012021-01-20 12:21:52 +0100483 <artifactId>maven-resources-plugin</artifactId>
484 <executions>
485 <execution>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000486 <id>copy-resource-openapi</id>
487 <phase>package</phase>
PatrikBuhr1122b012021-01-20 12:21:52 +0100488 <goals>
489 <goal>copy-resources</goal>
490 </goals>
491 <configuration>
492 <outputDirectory>${project.basedir}/../docs/offeredapis/swagger</outputDirectory>
raviteja.karumuri3e02f632024-01-17 15:50:10 +0000493 <overwrite>true</overwrite>
PatrikBuhr1122b012021-01-20 12:21:52 +0100494 <resources>
495 <resource>
496 <directory>${project.basedir}/api</directory>
497 <includes>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000498 <include>pms-api.json</include>
499 <include>pms-api.yaml</include>
500 </includes>
501 </resource>
502 </resources>
503 </configuration>
504 </execution>
505 <execution>
506 <id>copy-resource-openapi-html</id>
507 <phase>package</phase>
508 <goals>
509 <goal>copy-resources</goal>
510 </goals>
511 <configuration>
512 <verbose>true</verbose>
PatrikBuhr44499d02023-04-04 10:06:22 +0200513 <outputDirectory>
514 ${project.basedir}/../docs/offeredapis/openapitoolgen/offeredapis/pms-api</outputDirectory>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000515 <resources>
516 <resource>
517 <directory>${project.basedir}/api/pms-api</directory>
518 <includes>
halil.cakalb4ed3332023-01-20 12:14:08 +0000519 <include>index.html</include>
PatrikBuhr1122b012021-01-20 12:21:52 +0100520 </includes>
521 </resource>
522 </resources>
523 </configuration>
524 </execution>
525 </executions>
526 </plugin>
527 <plugin>
RehanRaza0e3740a2020-08-03 15:56:03 +0200528 <groupId>io.fabric8</groupId>
529 <artifactId>docker-maven-plugin</artifactId>
530 <version>${docker-maven-plugin}</version>
531 <inherited>false</inherited>
532 <executions>
533 <execution>
534 <id>generate-policy-management-service-image</id>
535 <phase>package</phase>
536 <goals>
537 <goal>build</goal>
538 </goals>
539 <configuration>
540 <images>
541 <image>
PatrikBuhr44499d02023-04-04 10:06:22 +0200542 <name>
543 onap/ccsdk-oran-a1policymanagementservice:${project.version}</name>
RehanRaza0e3740a2020-08-03 15:56:03 +0200544 <build>
545 <cleanup>try</cleanup>
546 <contextDir>${basedir}</contextDir>
547 <dockerFile>Dockerfile</dockerFile>
548 <args>
549 <JAR>${project.build.finalName}.jar</JAR>
550 </args>
551 <tags>
552 <tag>${project.version}</tag>
553 </tags>
554 </build>
555 </image>
556 </images>
557 </configuration>
558 </execution>
559 <execution>
560 <id>push-policy-management-service-image</id>
561 <goals>
562 <goal>build</goal>
563 <goal>push</goal>
564 </goals>
565 <configuration>
566 <images>
567 <image>
PatrikBuhr44499d02023-04-04 10:06:22 +0200568 <name>
569 onap/ccsdk-oran-a1policymanagementservice:${project.version}</name>
RehanRaza0e3740a2020-08-03 15:56:03 +0200570 <build>
571 <contextDir>${basedir}</contextDir>
572 <dockerFile>Dockerfile</dockerFile>
573 <args>
574 <JAR>${project.build.finalName}.jar</JAR>
575 </args>
576 <tags>
Dan Timoneyefdb5b02020-11-02 11:00:33 -0500577 <tag>${project.docker.latestminortag.version}</tag>
578 <tag>${project.docker.latestfulltag.version}</tag>
579 <tag>${project.docker.latesttagtimestamp.version}</tag>
RehanRaza0e3740a2020-08-03 15:56:03 +0200580 </tags>
581 </build>
582 </image>
583 </images>
584 </configuration>
585 </execution>
586 </executions>
587 </plugin>
588 </plugins>
589 </build>
halil.cakal40ce8292023-02-02 12:25:13 +0000590 <reporting>
591 <plugins>
592 <plugin>
593 <groupId>org.apache.maven.plugins</groupId>
594 <artifactId>maven-surefire-report-plugin</artifactId>
595 <version>${surefire-report-plugin.version}</version>
596 </plugin>
597 </plugins>
598 </reporting>
nitincg3c7a3242023-06-16 23:38:08 +0530599</project>