blob: 33a64226803ff7821179084fdf1d324e20f362f2 [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.
elinuxhenrike5b384a2020-07-22 16:41:17 +02007 ~ ================================================================================
8 ~ Licensed under the Apache License, Version 2.0 (the "License");
9 ~ you may not use this file except in compliance with the License.
10 ~ You may obtain a copy of the License at
11 ~
12 ~ http://www.apache.org/licenses/LICENSE-2.0
13 ~
14 ~ Unless required by applicable law or agreed to in writing, software
15 ~ distributed under the License is distributed on an "AS IS" BASIS,
16 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 ~ See the License for the specific language governing permissions and
18 ~ limitations under the License.
19 ~ ============LICENSE_END=======================================================
20 ~
21-->
Dan Timoney42477eb2023-08-10 17:05:46 -040022<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 +020023 <modelVersion>4.0.0</modelVersion>
elinuxhenrike5b384a2020-07-22 16:41:17 +020024 <parent>
25 <groupId>org.onap.ccsdk.parent</groupId>
JohnKeeney7ff7a432023-08-28 16:51:05 +010026 <artifactId>spring-boot-31-starter-parent</artifactId>
Dan Timoney8bb90c02023-11-08 10:17:19 -050027 <version>2.6.1</version>
Dan Timoney42477eb2023-08-10 17:05:46 -040028 <relativePath/>
elinuxhenrike5b384a2020-07-22 16:41:17 +020029 </parent>
elinuxhenrike5b384a2020-07-22 16:41:17 +020030 <groupId>org.onap.ccsdk.oran</groupId>
31 <artifactId>a1-policy-management-service</artifactId>
Dan Timoney2eca5482023-11-10 10:07:15 -050032 <version>1.7.0-SNAPSHOT</version>
Lathisha682c322020-07-30 15:52:12 +010033 <name>ccsdk-oran :: ${project.artifactId}</name>
RehanRaza0e3740a2020-08-03 15:56:03 +020034 <properties>
JohnKeeney62abcd82023-03-01 19:04:58 +000035 <java.version.source>17</java.version.source>
36 <java.version.target>17</java.version.target>
PatrikBuhraee11102023-01-16 15:27:10 +010037 <gson.version>2.10.1</gson.version>
JohnKeeney3e1cb152023-11-08 15:59:54 +000038 <json.version>20231013</json.version>
PatrikBuhr44499d02023-04-04 10:06:22 +020039 <formatter-maven-plugin.version>2.22.0</formatter-maven-plugin.version>
40 <spotless-maven-plugin.version>2.35.0</spotless-maven-plugin.version>
JohnKeeney8f49f442023-11-17 17:59:33 +000041 <commons-io.version>2.14.0</commons-io.version>
JohnKeeney7ff7a432023-08-28 16:51:05 +010042 <guava.version>32.0.1-jre</guava.version>
JohnKeeney62abcd82023-03-01 19:04:58 +000043 <springdoc.version>2.0.2</springdoc.version>
elinuxhenrikc4d1f8a2020-08-24 13:30:10 +020044 <docker-maven-plugin>0.30.0</docker-maven-plugin>
JohnKeeney2d985bd2023-03-31 15:27:16 +010045 <surefire-maven-plugin.version>3.0.0-M8</surefire-maven-plugin.version>
halil.cakal40ce8292023-02-02 12:25:13 +000046 <surefire-report-plugin.version>3.0.0-M8</surefire-report-plugin.version>
PatrikBuhr3ac6f0f2023-02-01 12:14:34 +010047 <jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
Dan Timoneyefdb5b02020-11-02 11:00:33 -050048 <ccsdk.project.version>${project.version}</ccsdk.project.version>
JohnKeeney62abcd82023-03-01 19:04:58 +000049 <software.amazon.awssdk.version>2.20.12</software.amazon.awssdk.version>
JohnKeeneye251d0c2023-02-20 18:00:44 +000050 <allowskiptests>false</allowskiptests>
RehanRaza0e3740a2020-08-03 15:56:03 +020051 </properties>
52 <dependencies>
53 <dependency>
raviteja.karumuria4687d92023-09-14 12:38:49 +010054 <groupId>javax.validation</groupId>
55 <artifactId>validation-api</artifactId>
56 <version>2.0.1.Final</version>
57 </dependency>
58 <dependency>
59 <groupId>javax.annotation</groupId>
60 <artifactId>javax.annotation-api</artifactId>
61 <version>1.3.2</version>
62 </dependency>
63 <dependency>
64 <groupId>io.swagger.core.v3</groupId>
65 <artifactId>swagger-annotations</artifactId>
66 <version>2.2.15</version>
67 </dependency>
68 <dependency>
69 <groupId>org.openapitools</groupId>
70 <artifactId>jackson-databind-nullable</artifactId>
71 <version>0.2.4</version>
72 </dependency>
73 <dependency>
PatrikBuhr6ef6b6f2023-04-25 15:11:04 +020074 <!-- Temporary until version 2 is included by the parent spring-boot-starter-parent -->
75 <groupId>org.yaml</groupId>
76 <artifactId>snakeyaml</artifactId>
77 <version>2.0</version>
78 </dependency>
79 <dependency>
RehanRaza0e3740a2020-08-03 15:56:03 +020080 <groupId>org.springframework.boot</groupId>
elinuxhenrikfa658f62020-11-05 12:37:43 +010081 <artifactId>spring-boot</artifactId>
82 </dependency>
83 <dependency>
84 <groupId>org.springframework</groupId>
elinuxhenrikfa658f62020-11-05 12:37:43 +010085 <artifactId>spring-context</artifactId>
RehanRaza0e3740a2020-08-03 15:56:03 +020086 </dependency>
87 <dependency>
88 <groupId>org.springframework.boot</groupId>
elinuxhenrikfa658f62020-11-05 12:37:43 +010089 <artifactId>spring-boot-autoconfigure</artifactId>
RehanRaza0e3740a2020-08-03 15:56:03 +020090 </dependency>
91 <dependency>
PatrikBuhr0f8b2052021-12-20 13:40:14 +010092 <groupId>org.springframework.boot</groupId>
93 <artifactId>spring-boot-starter-webflux</artifactId>
94 </dependency>
95 <dependency>
JohnKeeney62abcd82023-03-01 19:04:58 +000096 <!-- May be possible to remove this later when ccsdk parent bom stabilizes -->
97 <groupId>javax.servlet</groupId>
98 <artifactId>javax.servlet-api</artifactId>
99 <version>3.1.0</version>
elinuxhenrikfa658f62020-11-05 12:37:43 +0100100 </dependency>
101 <dependency>
102 <groupId>org.aspectj</groupId>
103 <artifactId>aspectjweaver</artifactId>
104 </dependency>
105 <dependency>
elinuxhenrikfa658f62020-11-05 12:37:43 +0100106 <groupId>org.apache.tomcat.embed</groupId>
107 <artifactId>tomcat-embed-core</artifactId>
108 </dependency>
109 <dependency>
elinuxhenrikfa658f62020-11-05 12:37:43 +0100110 <groupId>com.google.guava</groupId>
111 <artifactId>guava</artifactId>
JohnKeeneyc9778a72022-11-01 18:49:15 +0000112 <version>${guava.version}</version>
RehanRaza0e3740a2020-08-03 15:56:03 +0200113 </dependency>
114 <dependency>
PatrikBuhr3f3a4d72022-05-30 14:22:46 +0200115 <groupId>com.google.code.gson</groupId>
RehanRaza0e3740a2020-08-03 15:56:03 +0200116 <artifactId>gson</artifactId>
PatrikBuhr3f3a4d72022-05-30 14:22:46 +0200117 <version>${gson.version}</version>
RehanRaza0e3740a2020-08-03 15:56:03 +0200118 </dependency>
119 <dependency>
120 <groupId>org.json</groupId>
121 <artifactId>json</artifactId>
122 <version>${json.version}</version>
123 </dependency>
124 <dependency>
RehanRaza0e3740a2020-08-03 15:56:03 +0200125 <groupId>org.projectlombok</groupId>
126 <artifactId>lombok</artifactId>
127 <scope>provided</scope>
128 </dependency>
RehanRaza0e3740a2020-08-03 15:56:03 +0200129 <!-- Actuator dependencies -->
130 <dependency>
131 <groupId>org.springframework.boot</groupId>
132 <artifactId>spring-boot-starter-actuator</artifactId>
elinuxhenrikfa658f62020-11-05 12:37:43 +0100133 <scope>runtime</scope>
RehanRaza0e3740a2020-08-03 15:56:03 +0200134 </dependency>
halil.cakal8eadcb62022-09-29 09:47:09 +0100135 <dependency>
136 <groupId>io.micrometer</groupId>
137 <artifactId>micrometer-registry-prometheus</artifactId>
138 </dependency>
139 <dependency>
140 <groupId>org.springframework.boot</groupId>
141 <artifactId>spring-boot-starter-aop</artifactId>
142 </dependency>
PatrikBuhre3693cf2022-10-14 11:38:22 +0200143 <dependency>
144 <groupId>software.amazon.awssdk</groupId>
145 <artifactId>s3</artifactId>
146 <version>${software.amazon.awssdk.version}</version>
147 </dependency>
elinuxhenrikfa658f62020-11-05 12:37:43 +0100148 <!-- For development help -->
149 <dependency>
150 <groupId>org.springframework.boot</groupId>
151 <artifactId>spring-boot-devtools</artifactId>
152 <optional>true</optional>
153 <scope>runtime</scope>
154 </dependency>
155 <dependency>
156 <groupId>org.springframework.boot</groupId>
157 <artifactId>spring-boot-configuration-processor</artifactId>
158 <optional>true</optional>
159 <scope>runtime</scope>
RehanRaza0e3740a2020-08-03 15:56:03 +0200160 </dependency>
elinuxhenrikfa658f62020-11-05 12:37:43 +0100161 <dependency>
162 <groupId>org.springframework.boot</groupId>
RehanRaza0e3740a2020-08-03 15:56:03 +0200163 <artifactId>spring-boot-starter-test</artifactId>
164 <scope>test</scope>
165 </dependency>
166 <dependency>
167 <groupId>org.awaitility</groupId>
168 <artifactId>awaitility</artifactId>
169 <scope>test</scope>
170 </dependency>
171 <dependency>
172 <groupId>io.projectreactor</groupId>
173 <artifactId>reactor-test</artifactId>
174 <scope>test</scope>
175 </dependency>
176 <dependency>
177 <groupId>org.junit.jupiter</groupId>
178 <artifactId>junit-jupiter-engine</artifactId>
179 <scope>test</scope>
180 </dependency>
181 <dependency>
182 <groupId>org.mockito</groupId>
183 <artifactId>mockito-junit-jupiter</artifactId>
184 <scope>test</scope>
185 </dependency>
186 <dependency>
187 <groupId>org.mockito</groupId>
188 <artifactId>mockito-core</artifactId>
189 <scope>test</scope>
190 </dependency>
191 <dependency>
192 <groupId>com.squareup.okhttp3</groupId>
193 <artifactId>mockwebserver</artifactId>
194 <scope>test</scope>
195 </dependency>
elinuxhenrik50b658d2020-11-11 14:11:37 +0100196 <dependency>
197 <groupId>commons-io</groupId>
198 <artifactId>commons-io</artifactId>
199 <version>${commons-io.version}</version>
200 <scope>test</scope>
201 </dependency>
PatrikBuhrd279ef72021-09-21 14:47:59 +0200202 <dependency>
203 <groupId>com.github.erosb</groupId>
204 <artifactId>everit-json-schema</artifactId>
PatrikBuhr62c25962022-03-25 15:39:06 +0100205 <version>1.14.0</version>
PatrikBuhrd279ef72021-09-21 14:47:59 +0200206 </dependency>
RehanRaza0e3740a2020-08-03 15:56:03 +0200207 </dependencies>
208 <build>
209 <plugins>
210 <plugin>
Dan Timoneybf5e4cd2022-12-01 17:02:22 -0500211 <groupId>org.codehaus.gmaven</groupId>
212 <artifactId>groovy-maven-plugin</artifactId>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100213 <version>2.1.1</version>
Dan Timoneyefdb5b02020-11-02 11:00:33 -0500214 <executions>
215 <execution>
216 <phase>validate</phase>
217 <goals>
218 <goal>execute</goal>
219 </goals>
220 <configuration>
221 <source>${basedir}/TagVersion.groovy</source>
222 </configuration>
223 </execution>
224 </executions>
225 </plugin>
226 <plugin>
RehanRaza0e3740a2020-08-03 15:56:03 +0200227 <groupId>org.springframework.boot</groupId>
228 <artifactId>spring-boot-maven-plugin</artifactId>
229 </plugin>
Singal, Kapil (ks220y)7788a0b2020-09-03 16:24:57 -0400230 <plugin>
RehanRaza0e3740a2020-08-03 15:56:03 +0200231 <groupId>net.revelc.code.formatter</groupId>
232 <artifactId>formatter-maven-plugin</artifactId>
233 <version>${formatter-maven-plugin.version}</version>
234 <configuration>
Singal, Kapil (ks220y)7788a0b2020-09-03 16:24:57 -0400235 <lineEnding>LF</lineEnding>
RehanRaza0e3740a2020-08-03 15:56:03 +0200236 <configFile>${project.basedir}/eclipse-formatter.xml</configFile>
237 </configuration>
238 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
239 spotless:apply process-sources -->
240 </plugin>
241 <plugin>
242 <groupId>com.diffplug.spotless</groupId>
243 <artifactId>spotless-maven-plugin</artifactId>
244 <version>${spotless-maven-plugin.version}</version>
245 <configuration>
Singal, Kapil (ks220y)7788a0b2020-09-03 16:24:57 -0400246 <lineEndings>UNIX</lineEndings>
RehanRaza0e3740a2020-08-03 15:56:03 +0200247 <java>
Dan Timoney42477eb2023-08-10 17:05:46 -0400248 <removeUnusedImports/>
RehanRaza0e3740a2020-08-03 15:56:03 +0200249 <importOrder>
PatrikBuhr44499d02023-04-04 10:06:22 +0200250 <order>com,io,java,lombok,javax,org,reactor</order>
RehanRaza0e3740a2020-08-03 15:56:03 +0200251 </importOrder>
252 </java>
253 </configuration>
254 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
255 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
256 source files -->
257 </plugin>
258 <plugin>
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-surefire-plugin</artifactId>
elinuxhenrik9c3a6bd2020-08-26 14:04:17 +0200261 <version>${surefire-maven-plugin.version}</version>
RehanRaza0e3740a2020-08-03 15:56:03 +0200262 <configuration>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000263 <skipTests>${allowskiptests}</skipTests>
Dan Timoney42477eb2023-08-10 17:05:46 -0400264 <statelessTestsetReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5Xml30StatelessReporter">
halil.cakal40ce8292023-02-02 12:25:13 +0000265 <usePhrasedFileName>false</usePhrasedFileName>
266 <usePhrasedTestSuiteClassName>true</usePhrasedTestSuiteClassName>
267 <usePhrasedTestCaseClassName>true</usePhrasedTestCaseClassName>
268 <usePhrasedTestCaseMethodName>true</usePhrasedTestCaseMethodName>
269 </statelessTestsetReporter>
Dan Timoney42477eb2023-08-10 17:05:46 -0400270 <consoleOutputReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5ConsoleOutputReporter">
halil.cakal40ce8292023-02-02 12:25:13 +0000271 <usePhrasedFileName>false</usePhrasedFileName>
272 </consoleOutputReporter>
Dan Timoney42477eb2023-08-10 17:05:46 -0400273 <statelessTestsetInfoReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoReporter">
halil.cakal40ce8292023-02-02 12:25:13 +0000274 <usePhrasedFileName>false</usePhrasedFileName>
275 <usePhrasedClassNameInRunning>true</usePhrasedClassNameInRunning>
276 <usePhrasedClassNameInTestCaseSummary>true</usePhrasedClassNameInTestCaseSummary>
277 </statelessTestsetInfoReporter>
RehanRaza0e3740a2020-08-03 15:56:03 +0200278 </configuration>
279 </plugin>
280 <plugin>
RehanRaza0e3740a2020-08-03 15:56:03 +0200281 <groupId>org.codehaus.mojo</groupId>
282 <artifactId>build-helper-maven-plugin</artifactId>
283 <executions>
284 <execution>
285 <id>add-source</id>
286 <phase>generate-sources</phase>
287 <goals>
288 <goal>add-source</goal>
289 </goals>
290 <configuration>
291 <sources>
292 <source>${project.build.directory}/generated-sources/annotations/</source>
293 </sources>
294 </configuration>
295 </execution>
296 </executions>
297 </plugin>
298 <plugin>
299 <groupId>org.jacoco</groupId>
300 <artifactId>jacoco-maven-plugin</artifactId>
301 <version>${jacoco-maven-plugin.version}</version>
302 <executions>
303 <execution>
304 <id>default-prepare-agent</id>
305 <goals>
306 <goal>prepare-agent</goal>
307 </goals>
308 </execution>
309 <execution>
310 <id>default-report</id>
311 <phase>prepare-package</phase>
312 <goals>
313 <goal>report</goal>
314 </goals>
315 </execution>
316 </executions>
317 </plugin>
318 <plugin>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100319 <groupId>io.swagger.codegen.v3</groupId>
320 <artifactId>swagger-codegen-maven-plugin</artifactId>
321 <version>3.0.46</version>
322 <executions>
323 <execution>
324 <id>generate-openapi-json</id>
325 <phase>prepare-package</phase>
326 <goals>
327 <goal>generate</goal>
328 </goals>
329 <configuration>
330 <inputSpec>${project.basedir}/api/pms-api.yaml</inputSpec>
331 <language>openapi</language>
332 <output>${project.basedir}/api</output>
333 <configOptions>
334 <outputFile>pms-api.json</outputFile>
335 </configOptions>
336 </configuration>
337 </execution>
338 </executions>
339 </plugin>
340 <plugin>
halil.cakalb4ed3332023-01-20 12:14:08 +0000341 <groupId>org.openapitools</groupId>
342 <artifactId>openapi-generator-maven-plugin</artifactId>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100343 <version>6.6.0</version>
elinuxhenrikf28594d2020-12-07 14:54:19 +0100344 <executions>
345 <execution>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000346 <id>generate-openapi-html</id>
347 <phase>prepare-package</phase>
elinuxhenrikf28594d2020-12-07 14:54:19 +0100348 <goals>
349 <goal>generate</goal>
350 </goals>
351 <configuration>
352 <inputSpec>${project.basedir}/api/pms-api.json</inputSpec>
halil.cakalb4ed3332023-01-20 12:14:08 +0000353 <generatorName>html2</generatorName>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000354 <output>${project.basedir}/api/pms-api</output>
halil.cakalb4ed3332023-01-20 12:14:08 +0000355 <skipOperationExample>false</skipOperationExample>
356 <strictSpec>false</strictSpec>
elinuxhenrikf28594d2020-12-07 14:54:19 +0100357 <configOptions>
PatrikBuhr44499d02023-04-04 10:06:22 +0200358 <appDescription>The O-RAN Non-RT RIC Policy Management Service
359 provides a REST API for managing O-RAN A1 Policies.</appDescription>
halil.cakalb4ed3332023-01-20 12:14:08 +0000360 <appName>ONAP CCSDK A1 Policy Management Service</appName>
361 <infoUrl>https://wiki.onap.org/display/DW/O-RAN+A1+Policies+in+ONAP</infoUrl>
PatrikBuhr44499d02023-04-04 10:06:22 +0200362 <licenseInfo>Copyright (C) 2020-2023 Nordix Foundation. Licensed
363 under the Apache License.</licenseInfo>
halil.cakalb4ed3332023-01-20 12:14:08 +0000364 <licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000365 </configOptions>
366 </configuration>
367 </execution>
368 <execution>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100369 <id>generate-policy-api</id>
370 <phase>generate-sources </phase>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000371 <goals>
372 <goal>generate</goal>
373 </goals>
374 <configuration>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100375 <inputSpec>${project.basedir}/api/pms-api.yaml</inputSpec>
376 <invokerPackage>${project.groupId}.a1policymanagementservice.controllers.v2</invokerPackage>
377 <apiPackage>${project.groupId}.a1policymanagementservice.controllers.api.v2</apiPackage>
378 <modelPackage>${project.groupId}.a1policymanagementservice.models.v2</modelPackage>
379 <generateApiTests>false</generateApiTests>
380 <generateModelTests>false</generateModelTests>
381 <generatorName>spring</generatorName>
382 <generateSupportingFiles>false</generateSupportingFiles>
383 <skipValidateSpec>false</skipValidateSpec>
384 <library>spring-boot</library>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000385 <configOptions>
raviteja.karumuria4687d92023-09-14 12:38:49 +0100386 <sourceFolder>src/gen/java</sourceFolder>
387 <interfaceOnly>true</interfaceOnly>
388 <useTags>true</useTags>
389 <reactive>true</reactive>
390 <dateLibrary>java8</dateLibrary>
391 <java8>true</java8>
392 <unhandledException>true</unhandledException>
393 <openApiNullable>false</openApiNullable>
394 <skipDefaultInterface>true</skipDefaultInterface>
elinuxhenrikf28594d2020-12-07 14:54:19 +0100395 </configOptions>
396 </configuration>
397 </execution>
398 </executions>
399 </plugin>
400 <plugin>
PatrikBuhr1122b012021-01-20 12:21:52 +0100401 <artifactId>maven-resources-plugin</artifactId>
402 <executions>
403 <execution>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000404 <id>copy-resource-openapi</id>
405 <phase>package</phase>
PatrikBuhr1122b012021-01-20 12:21:52 +0100406 <goals>
407 <goal>copy-resources</goal>
408 </goals>
409 <configuration>
410 <outputDirectory>${project.basedir}/../docs/offeredapis/swagger</outputDirectory>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000411 <verbose>true</verbose>
PatrikBuhr1122b012021-01-20 12:21:52 +0100412 <resources>
413 <resource>
414 <directory>${project.basedir}/api</directory>
415 <includes>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000416 <include>pms-api.json</include>
417 <include>pms-api.yaml</include>
418 </includes>
419 </resource>
420 </resources>
421 </configuration>
422 </execution>
423 <execution>
424 <id>copy-resource-openapi-html</id>
425 <phase>package</phase>
426 <goals>
427 <goal>copy-resources</goal>
428 </goals>
429 <configuration>
430 <verbose>true</verbose>
PatrikBuhr44499d02023-04-04 10:06:22 +0200431 <outputDirectory>
432 ${project.basedir}/../docs/offeredapis/openapitoolgen/offeredapis/pms-api</outputDirectory>
JohnKeeneye251d0c2023-02-20 18:00:44 +0000433 <resources>
434 <resource>
435 <directory>${project.basedir}/api/pms-api</directory>
436 <includes>
halil.cakalb4ed3332023-01-20 12:14:08 +0000437 <include>index.html</include>
PatrikBuhr1122b012021-01-20 12:21:52 +0100438 </includes>
439 </resource>
440 </resources>
441 </configuration>
442 </execution>
443 </executions>
444 </plugin>
445 <plugin>
RehanRaza0e3740a2020-08-03 15:56:03 +0200446 <groupId>io.fabric8</groupId>
447 <artifactId>docker-maven-plugin</artifactId>
448 <version>${docker-maven-plugin}</version>
449 <inherited>false</inherited>
450 <executions>
451 <execution>
452 <id>generate-policy-management-service-image</id>
453 <phase>package</phase>
454 <goals>
455 <goal>build</goal>
456 </goals>
457 <configuration>
458 <images>
459 <image>
PatrikBuhr44499d02023-04-04 10:06:22 +0200460 <name>
461 onap/ccsdk-oran-a1policymanagementservice:${project.version}</name>
RehanRaza0e3740a2020-08-03 15:56:03 +0200462 <build>
463 <cleanup>try</cleanup>
464 <contextDir>${basedir}</contextDir>
465 <dockerFile>Dockerfile</dockerFile>
466 <args>
467 <JAR>${project.build.finalName}.jar</JAR>
468 </args>
469 <tags>
470 <tag>${project.version}</tag>
471 </tags>
472 </build>
473 </image>
474 </images>
475 </configuration>
476 </execution>
477 <execution>
478 <id>push-policy-management-service-image</id>
479 <goals>
480 <goal>build</goal>
481 <goal>push</goal>
482 </goals>
483 <configuration>
484 <images>
485 <image>
PatrikBuhr44499d02023-04-04 10:06:22 +0200486 <name>
487 onap/ccsdk-oran-a1policymanagementservice:${project.version}</name>
RehanRaza0e3740a2020-08-03 15:56:03 +0200488 <build>
489 <contextDir>${basedir}</contextDir>
490 <dockerFile>Dockerfile</dockerFile>
491 <args>
492 <JAR>${project.build.finalName}.jar</JAR>
493 </args>
494 <tags>
Dan Timoneyefdb5b02020-11-02 11:00:33 -0500495 <tag>${project.docker.latestminortag.version}</tag>
496 <tag>${project.docker.latestfulltag.version}</tag>
497 <tag>${project.docker.latesttagtimestamp.version}</tag>
RehanRaza0e3740a2020-08-03 15:56:03 +0200498 </tags>
499 </build>
500 </image>
501 </images>
502 </configuration>
503 </execution>
504 </executions>
505 </plugin>
506 </plugins>
507 </build>
halil.cakal40ce8292023-02-02 12:25:13 +0000508 <reporting>
509 <plugins>
510 <plugin>
511 <groupId>org.apache.maven.plugins</groupId>
512 <artifactId>maven-surefire-report-plugin</artifactId>
513 <version>${surefire-report-plugin.version}</version>
514 </plugin>
515 </plugins>
516 </reporting>
nitincg3c7a3242023-06-16 23:38:08 +0530517</project>