elinuxhenrik | e5b384a | 2020-07-22 16:41:17 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ ============LICENSE_START======================================================= |
| 4 | ~ ONAP : ccsdk oran |
| 5 | ~ ================================================================================ |
PatrikBuhr | 1c317eb | 2023-02-23 12:39:31 +0100 | [diff] [blame] | 6 | ~ Copyright (C) 2020-2023 Nordix Foundation. All rights reserved. |
raviteja.karumuri | 3e02f63 | 2024-01-17 15:50:10 +0000 | [diff] [blame] | 7 | ~ Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved. |
elinuxhenrik | e5b384a | 2020-07-22 16:41:17 +0200 | [diff] [blame] | 8 | ~ ================================================================================ |
| 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 Timoney | 42477eb | 2023-08-10 17:05:46 -0400 | [diff] [blame] | 23 | <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"> |
elinuxhenrik | e5b384a | 2020-07-22 16:41:17 +0200 | [diff] [blame] | 24 | <modelVersion>4.0.0</modelVersion> |
elinuxhenrik | e5b384a | 2020-07-22 16:41:17 +0200 | [diff] [blame] | 25 | <parent> |
| 26 | <groupId>org.onap.ccsdk.parent</groupId> |
JohnKeeney | 7ff7a43 | 2023-08-28 16:51:05 +0100 | [diff] [blame] | 27 | <artifactId>spring-boot-31-starter-parent</artifactId> |
Dan Timoney | 8bb90c0 | 2023-11-08 10:17:19 -0500 | [diff] [blame] | 28 | <version>2.6.1</version> |
Dan Timoney | 42477eb | 2023-08-10 17:05:46 -0400 | [diff] [blame] | 29 | <relativePath/> |
elinuxhenrik | e5b384a | 2020-07-22 16:41:17 +0200 | [diff] [blame] | 30 | </parent> |
elinuxhenrik | e5b384a | 2020-07-22 16:41:17 +0200 | [diff] [blame] | 31 | <groupId>org.onap.ccsdk.oran</groupId> |
| 32 | <artifactId>a1-policy-management-service</artifactId> |
Dan Timoney | 2eca548 | 2023-11-10 10:07:15 -0500 | [diff] [blame] | 33 | <version>1.7.0-SNAPSHOT</version> |
Lathish | a682c32 | 2020-07-30 15:52:12 +0100 | [diff] [blame] | 34 | <name>ccsdk-oran :: ${project.artifactId}</name> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 35 | <properties> |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 36 | <java.version.source>17</java.version.source> |
| 37 | <java.version.target>17</java.version.target> |
PatrikBuhr | aee1110 | 2023-01-16 15:27:10 +0100 | [diff] [blame] | 38 | <gson.version>2.10.1</gson.version> |
JohnKeeney | 3e1cb15 | 2023-11-08 15:59:54 +0000 | [diff] [blame] | 39 | <json.version>20231013</json.version> |
PatrikBuhr | 44499d0 | 2023-04-04 10:06:22 +0200 | [diff] [blame] | 40 | <formatter-maven-plugin.version>2.22.0</formatter-maven-plugin.version> |
| 41 | <spotless-maven-plugin.version>2.35.0</spotless-maven-plugin.version> |
JohnKeeney | 8f49f44 | 2023-11-17 17:59:33 +0000 | [diff] [blame] | 42 | <commons-io.version>2.14.0</commons-io.version> |
JohnKeeney | 7ff7a43 | 2023-08-28 16:51:05 +0100 | [diff] [blame] | 43 | <guava.version>32.0.1-jre</guava.version> |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 44 | <springdoc.version>2.0.2</springdoc.version> |
elinuxhenrik | c4d1f8a | 2020-08-24 13:30:10 +0200 | [diff] [blame] | 45 | <docker-maven-plugin>0.30.0</docker-maven-plugin> |
JohnKeeney | 2d985bd | 2023-03-31 15:27:16 +0100 | [diff] [blame] | 46 | <surefire-maven-plugin.version>3.0.0-M8</surefire-maven-plugin.version> |
halil.cakal | 40ce829 | 2023-02-02 12:25:13 +0000 | [diff] [blame] | 47 | <surefire-report-plugin.version>3.0.0-M8</surefire-report-plugin.version> |
PatrikBuhr | 3ac6f0f | 2023-02-01 12:14:34 +0100 | [diff] [blame] | 48 | <jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version> |
Dan Timoney | efdb5b0 | 2020-11-02 11:00:33 -0500 | [diff] [blame] | 49 | <ccsdk.project.version>${project.version}</ccsdk.project.version> |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 50 | <software.amazon.awssdk.version>2.20.12</software.amazon.awssdk.version> |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 51 | <allowskiptests>false</allowskiptests> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 52 | </properties> |
| 53 | <dependencies> |
| 54 | <dependency> |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame] | 55 | <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> |
PatrikBuhr | 6ef6b6f | 2023-04-25 15:11:04 +0200 | [diff] [blame] | 75 | <!-- 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> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 81 | <groupId>org.springframework.boot</groupId> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 82 | <artifactId>spring-boot</artifactId> |
| 83 | </dependency> |
| 84 | <dependency> |
| 85 | <groupId>org.springframework</groupId> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 86 | <artifactId>spring-context</artifactId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 87 | </dependency> |
| 88 | <dependency> |
| 89 | <groupId>org.springframework.boot</groupId> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 90 | <artifactId>spring-boot-autoconfigure</artifactId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 91 | </dependency> |
| 92 | <dependency> |
PatrikBuhr | 0f8b205 | 2021-12-20 13:40:14 +0100 | [diff] [blame] | 93 | <groupId>org.springframework.boot</groupId> |
| 94 | <artifactId>spring-boot-starter-webflux</artifactId> |
| 95 | </dependency> |
| 96 | <dependency> |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 97 | <!-- 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> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 101 | </dependency> |
| 102 | <dependency> |
| 103 | <groupId>org.aspectj</groupId> |
| 104 | <artifactId>aspectjweaver</artifactId> |
| 105 | </dependency> |
| 106 | <dependency> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 107 | <groupId>org.apache.tomcat.embed</groupId> |
| 108 | <artifactId>tomcat-embed-core</artifactId> |
| 109 | </dependency> |
| 110 | <dependency> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 111 | <groupId>com.google.guava</groupId> |
| 112 | <artifactId>guava</artifactId> |
JohnKeeney | c9778a7 | 2022-11-01 18:49:15 +0000 | [diff] [blame] | 113 | <version>${guava.version}</version> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 114 | </dependency> |
| 115 | <dependency> |
PatrikBuhr | 3f3a4d7 | 2022-05-30 14:22:46 +0200 | [diff] [blame] | 116 | <groupId>com.google.code.gson</groupId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 117 | <artifactId>gson</artifactId> |
PatrikBuhr | 3f3a4d7 | 2022-05-30 14:22:46 +0200 | [diff] [blame] | 118 | <version>${gson.version}</version> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 119 | </dependency> |
| 120 | <dependency> |
| 121 | <groupId>org.json</groupId> |
| 122 | <artifactId>json</artifactId> |
| 123 | <version>${json.version}</version> |
| 124 | </dependency> |
| 125 | <dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 126 | <groupId>org.projectlombok</groupId> |
| 127 | <artifactId>lombok</artifactId> |
| 128 | <scope>provided</scope> |
| 129 | </dependency> |
raviteja.karumuri | 10948b6 | 2024-04-30 22:15:58 +0100 | [diff] [blame^] | 130 | <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> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 140 | <!-- Actuator dependencies --> |
| 141 | <dependency> |
| 142 | <groupId>org.springframework.boot</groupId> |
| 143 | <artifactId>spring-boot-starter-actuator</artifactId> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 144 | <scope>runtime</scope> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 145 | </dependency> |
halil.cakal | 8eadcb6 | 2022-09-29 09:47:09 +0100 | [diff] [blame] | 146 | <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> |
PatrikBuhr | e3693cf | 2022-10-14 11:38:22 +0200 | [diff] [blame] | 154 | <dependency> |
| 155 | <groupId>software.amazon.awssdk</groupId> |
| 156 | <artifactId>s3</artifactId> |
| 157 | <version>${software.amazon.awssdk.version}</version> |
| 158 | </dependency> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 159 | <!-- 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> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 171 | </dependency> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 172 | <dependency> |
| 173 | <groupId>org.springframework.boot</groupId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 174 | <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> |
elinuxhenrik | 50b658d | 2020-11-11 14:11:37 +0100 | [diff] [blame] | 207 | <dependency> |
| 208 | <groupId>commons-io</groupId> |
| 209 | <artifactId>commons-io</artifactId> |
| 210 | <version>${commons-io.version}</version> |
| 211 | <scope>test</scope> |
| 212 | </dependency> |
PatrikBuhr | d279ef7 | 2021-09-21 14:47:59 +0200 | [diff] [blame] | 213 | <dependency> |
| 214 | <groupId>com.github.erosb</groupId> |
| 215 | <artifactId>everit-json-schema</artifactId> |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 216 | <version>1.14.0</version> |
PatrikBuhr | d279ef7 | 2021-09-21 14:47:59 +0200 | [diff] [blame] | 217 | </dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 218 | </dependencies> |
| 219 | <build> |
| 220 | <plugins> |
| 221 | <plugin> |
Dan Timoney | bf5e4cd | 2022-12-01 17:02:22 -0500 | [diff] [blame] | 222 | <groupId>org.codehaus.gmaven</groupId> |
| 223 | <artifactId>groovy-maven-plugin</artifactId> |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame] | 224 | <version>2.1.1</version> |
Dan Timoney | efdb5b0 | 2020-11-02 11:00:33 -0500 | [diff] [blame] | 225 | <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> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 238 | <groupId>org.springframework.boot</groupId> |
| 239 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 240 | </plugin> |
Singal, Kapil (ks220y) | 7788a0b | 2020-09-03 16:24:57 -0400 | [diff] [blame] | 241 | <plugin> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 242 | <groupId>net.revelc.code.formatter</groupId> |
| 243 | <artifactId>formatter-maven-plugin</artifactId> |
| 244 | <version>${formatter-maven-plugin.version}</version> |
| 245 | <configuration> |
Singal, Kapil (ks220y) | 7788a0b | 2020-09-03 16:24:57 -0400 | [diff] [blame] | 246 | <lineEnding>LF</lineEnding> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 247 | <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) | 7788a0b | 2020-09-03 16:24:57 -0400 | [diff] [blame] | 257 | <lineEndings>UNIX</lineEndings> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 258 | <java> |
Dan Timoney | 42477eb | 2023-08-10 17:05:46 -0400 | [diff] [blame] | 259 | <removeUnusedImports/> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 260 | <importOrder> |
PatrikBuhr | 44499d0 | 2023-04-04 10:06:22 +0200 | [diff] [blame] | 261 | <order>com,io,java,lombok,javax,org,reactor</order> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 262 | </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> |
elinuxhenrik | 9c3a6bd | 2020-08-26 14:04:17 +0200 | [diff] [blame] | 272 | <version>${surefire-maven-plugin.version}</version> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 273 | <configuration> |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 274 | <skipTests>${allowskiptests}</skipTests> |
Dan Timoney | 42477eb | 2023-08-10 17:05:46 -0400 | [diff] [blame] | 275 | <statelessTestsetReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5Xml30StatelessReporter"> |
halil.cakal | 40ce829 | 2023-02-02 12:25:13 +0000 | [diff] [blame] | 276 | <usePhrasedFileName>false</usePhrasedFileName> |
| 277 | <usePhrasedTestSuiteClassName>true</usePhrasedTestSuiteClassName> |
| 278 | <usePhrasedTestCaseClassName>true</usePhrasedTestCaseClassName> |
| 279 | <usePhrasedTestCaseMethodName>true</usePhrasedTestCaseMethodName> |
| 280 | </statelessTestsetReporter> |
Dan Timoney | 42477eb | 2023-08-10 17:05:46 -0400 | [diff] [blame] | 281 | <consoleOutputReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5ConsoleOutputReporter"> |
halil.cakal | 40ce829 | 2023-02-02 12:25:13 +0000 | [diff] [blame] | 282 | <usePhrasedFileName>false</usePhrasedFileName> |
| 283 | </consoleOutputReporter> |
Dan Timoney | 42477eb | 2023-08-10 17:05:46 -0400 | [diff] [blame] | 284 | <statelessTestsetInfoReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoReporter"> |
halil.cakal | 40ce829 | 2023-02-02 12:25:13 +0000 | [diff] [blame] | 285 | <usePhrasedFileName>false</usePhrasedFileName> |
| 286 | <usePhrasedClassNameInRunning>true</usePhrasedClassNameInRunning> |
| 287 | <usePhrasedClassNameInTestCaseSummary>true</usePhrasedClassNameInTestCaseSummary> |
| 288 | </statelessTestsetInfoReporter> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 289 | </configuration> |
| 290 | </plugin> |
| 291 | <plugin> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 292 | <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.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame] | 330 | <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.cakal | b4ed333 | 2023-01-20 12:14:08 +0000 | [diff] [blame] | 352 | <groupId>org.openapitools</groupId> |
| 353 | <artifactId>openapi-generator-maven-plugin</artifactId> |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame] | 354 | <version>6.6.0</version> |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 355 | <executions> |
| 356 | <execution> |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 357 | <id>generate-openapi-html</id> |
| 358 | <phase>prepare-package</phase> |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 359 | <goals> |
| 360 | <goal>generate</goal> |
| 361 | </goals> |
| 362 | <configuration> |
| 363 | <inputSpec>${project.basedir}/api/pms-api.json</inputSpec> |
halil.cakal | b4ed333 | 2023-01-20 12:14:08 +0000 | [diff] [blame] | 364 | <generatorName>html2</generatorName> |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 365 | <output>${project.basedir}/api/pms-api</output> |
halil.cakal | b4ed333 | 2023-01-20 12:14:08 +0000 | [diff] [blame] | 366 | <skipOperationExample>false</skipOperationExample> |
| 367 | <strictSpec>false</strictSpec> |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 368 | <configOptions> |
PatrikBuhr | 44499d0 | 2023-04-04 10:06:22 +0200 | [diff] [blame] | 369 | <appDescription>The O-RAN Non-RT RIC Policy Management Service |
| 370 | provides a REST API for managing O-RAN A1 Policies.</appDescription> |
halil.cakal | b4ed333 | 2023-01-20 12:14:08 +0000 | [diff] [blame] | 371 | <appName>ONAP CCSDK A1 Policy Management Service</appName> |
| 372 | <infoUrl>https://wiki.onap.org/display/DW/O-RAN+A1+Policies+in+ONAP</infoUrl> |
PatrikBuhr | 44499d0 | 2023-04-04 10:06:22 +0200 | [diff] [blame] | 373 | <licenseInfo>Copyright (C) 2020-2023 Nordix Foundation. Licensed |
raviteja.karumuri | 3e02f63 | 2024-01-17 15:50:10 +0000 | [diff] [blame] | 374 | under the Apache License, and Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.</licenseInfo> |
halil.cakal | b4ed333 | 2023-01-20 12:14:08 +0000 | [diff] [blame] | 375 | <licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl> |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 376 | </configOptions> |
| 377 | </configuration> |
| 378 | </execution> |
| 379 | <execution> |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame] | 380 | <id>generate-policy-api</id> |
| 381 | <phase>generate-sources </phase> |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 382 | <goals> |
| 383 | <goal>generate</goal> |
| 384 | </goals> |
| 385 | <configuration> |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame] | 386 | <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> |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 396 | <configOptions> |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame] | 397 | <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> |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 406 | </configOptions> |
| 407 | </configuration> |
| 408 | </execution> |
raviteja.karumuri | 6de5c03 | 2024-03-22 11:55:58 +0000 | [diff] [blame] | 409 | <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> |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 439 | </executions> |
| 440 | </plugin> |
| 441 | <plugin> |
PatrikBuhr | 1122b01 | 2021-01-20 12:21:52 +0100 | [diff] [blame] | 442 | <artifactId>maven-resources-plugin</artifactId> |
| 443 | <executions> |
| 444 | <execution> |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 445 | <id>copy-resource-openapi</id> |
| 446 | <phase>package</phase> |
PatrikBuhr | 1122b01 | 2021-01-20 12:21:52 +0100 | [diff] [blame] | 447 | <goals> |
| 448 | <goal>copy-resources</goal> |
| 449 | </goals> |
| 450 | <configuration> |
| 451 | <outputDirectory>${project.basedir}/../docs/offeredapis/swagger</outputDirectory> |
raviteja.karumuri | 3e02f63 | 2024-01-17 15:50:10 +0000 | [diff] [blame] | 452 | <overwrite>true</overwrite> |
PatrikBuhr | 1122b01 | 2021-01-20 12:21:52 +0100 | [diff] [blame] | 453 | <resources> |
| 454 | <resource> |
| 455 | <directory>${project.basedir}/api</directory> |
| 456 | <includes> |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 457 | <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> |
PatrikBuhr | 44499d0 | 2023-04-04 10:06:22 +0200 | [diff] [blame] | 472 | <outputDirectory> |
| 473 | ${project.basedir}/../docs/offeredapis/openapitoolgen/offeredapis/pms-api</outputDirectory> |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 474 | <resources> |
| 475 | <resource> |
| 476 | <directory>${project.basedir}/api/pms-api</directory> |
| 477 | <includes> |
halil.cakal | b4ed333 | 2023-01-20 12:14:08 +0000 | [diff] [blame] | 478 | <include>index.html</include> |
PatrikBuhr | 1122b01 | 2021-01-20 12:21:52 +0100 | [diff] [blame] | 479 | </includes> |
| 480 | </resource> |
| 481 | </resources> |
| 482 | </configuration> |
| 483 | </execution> |
| 484 | </executions> |
| 485 | </plugin> |
| 486 | <plugin> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 487 | <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> |
PatrikBuhr | 44499d0 | 2023-04-04 10:06:22 +0200 | [diff] [blame] | 501 | <name> |
| 502 | onap/ccsdk-oran-a1policymanagementservice:${project.version}</name> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 503 | <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> |
PatrikBuhr | 44499d0 | 2023-04-04 10:06:22 +0200 | [diff] [blame] | 527 | <name> |
| 528 | onap/ccsdk-oran-a1policymanagementservice:${project.version}</name> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 529 | <build> |
| 530 | <contextDir>${basedir}</contextDir> |
| 531 | <dockerFile>Dockerfile</dockerFile> |
| 532 | <args> |
| 533 | <JAR>${project.build.finalName}.jar</JAR> |
| 534 | </args> |
| 535 | <tags> |
Dan Timoney | efdb5b0 | 2020-11-02 11:00:33 -0500 | [diff] [blame] | 536 | <tag>${project.docker.latestminortag.version}</tag> |
| 537 | <tag>${project.docker.latestfulltag.version}</tag> |
| 538 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 539 | </tags> |
| 540 | </build> |
| 541 | </image> |
| 542 | </images> |
| 543 | </configuration> |
| 544 | </execution> |
| 545 | </executions> |
| 546 | </plugin> |
| 547 | </plugins> |
| 548 | </build> |
halil.cakal | 40ce829 | 2023-02-02 12:25:13 +0000 | [diff] [blame] | 549 | <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> |
nitincg | 3c7a324 | 2023-06-16 23:38:08 +0530 | [diff] [blame] | 558 | </project> |