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> |
JohnKeeney | d31b23f | 2024-06-20 19:10:40 +0100 | [diff] [blame] | 33 | <version>1.8.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> |
aravind.est | b15c0ce | 2024-08-14 17:35:33 +0100 | [diff] [blame] | 97 | <groupId>org.springframework.boot</groupId> |
| 98 | <artifactId>spring-boot-starter-data-r2dbc</artifactId> |
| 99 | </dependency> |
| 100 | <dependency> |
| 101 | <groupId>org.postgresql</groupId> |
| 102 | <artifactId>postgresql</artifactId> |
| 103 | <scope>runtime</scope> |
| 104 | </dependency> |
| 105 | <dependency> |
| 106 | <groupId>org.postgresql</groupId> |
| 107 | <artifactId>r2dbc-postgresql</artifactId> |
| 108 | <scope>runtime</scope> |
| 109 | </dependency> |
| 110 | <dependency> |
aravind.est | fdfb070 | 2024-08-16 12:50:52 +0100 | [diff] [blame] | 111 | <groupId>org.flywaydb</groupId> |
| 112 | <artifactId>flyway-core</artifactId> |
| 113 | </dependency> |
| 114 | <dependency> |
JohnKeeney | 62abcd8 | 2023-03-01 19:04:58 +0000 | [diff] [blame] | 115 | <!-- May be possible to remove this later when ccsdk parent bom stabilizes --> |
| 116 | <groupId>javax.servlet</groupId> |
| 117 | <artifactId>javax.servlet-api</artifactId> |
| 118 | <version>3.1.0</version> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 119 | </dependency> |
| 120 | <dependency> |
| 121 | <groupId>org.aspectj</groupId> |
| 122 | <artifactId>aspectjweaver</artifactId> |
| 123 | </dependency> |
| 124 | <dependency> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 125 | <groupId>org.apache.tomcat.embed</groupId> |
| 126 | <artifactId>tomcat-embed-core</artifactId> |
| 127 | </dependency> |
| 128 | <dependency> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 129 | <groupId>com.google.guava</groupId> |
| 130 | <artifactId>guava</artifactId> |
JohnKeeney | c9778a7 | 2022-11-01 18:49:15 +0000 | [diff] [blame] | 131 | <version>${guava.version}</version> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 132 | </dependency> |
| 133 | <dependency> |
PatrikBuhr | 3f3a4d7 | 2022-05-30 14:22:46 +0200 | [diff] [blame] | 134 | <groupId>com.google.code.gson</groupId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 135 | <artifactId>gson</artifactId> |
PatrikBuhr | 3f3a4d7 | 2022-05-30 14:22:46 +0200 | [diff] [blame] | 136 | <version>${gson.version}</version> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 137 | </dependency> |
| 138 | <dependency> |
| 139 | <groupId>org.json</groupId> |
| 140 | <artifactId>json</artifactId> |
| 141 | <version>${json.version}</version> |
| 142 | </dependency> |
| 143 | <dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 144 | <groupId>org.projectlombok</groupId> |
| 145 | <artifactId>lombok</artifactId> |
| 146 | <scope>provided</scope> |
| 147 | </dependency> |
raviteja.karumuri | 10948b6 | 2024-04-30 22:15:58 +0100 | [diff] [blame] | 148 | <dependency> |
| 149 | <groupId>org.mapstruct</groupId> |
| 150 | <artifactId>mapstruct</artifactId> |
| 151 | <version>1.5.5.Final</version> |
| 152 | </dependency> |
| 153 | <dependency> |
| 154 | <groupId>org.mapstruct</groupId> |
| 155 | <artifactId>mapstruct-processor</artifactId> |
| 156 | <version>1.5.5.Final</version> |
| 157 | </dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 158 | <!-- Actuator dependencies --> |
| 159 | <dependency> |
| 160 | <groupId>org.springframework.boot</groupId> |
| 161 | <artifactId>spring-boot-starter-actuator</artifactId> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 162 | <scope>runtime</scope> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 163 | </dependency> |
halil.cakal | 8eadcb6 | 2022-09-29 09:47:09 +0100 | [diff] [blame] | 164 | <dependency> |
| 165 | <groupId>io.micrometer</groupId> |
| 166 | <artifactId>micrometer-registry-prometheus</artifactId> |
| 167 | </dependency> |
| 168 | <dependency> |
| 169 | <groupId>org.springframework.boot</groupId> |
| 170 | <artifactId>spring-boot-starter-aop</artifactId> |
| 171 | </dependency> |
PatrikBuhr | e3693cf | 2022-10-14 11:38:22 +0200 | [diff] [blame] | 172 | <dependency> |
| 173 | <groupId>software.amazon.awssdk</groupId> |
| 174 | <artifactId>s3</artifactId> |
| 175 | <version>${software.amazon.awssdk.version}</version> |
| 176 | </dependency> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 177 | <!-- For development help --> |
| 178 | <dependency> |
| 179 | <groupId>org.springframework.boot</groupId> |
| 180 | <artifactId>spring-boot-devtools</artifactId> |
| 181 | <optional>true</optional> |
| 182 | <scope>runtime</scope> |
| 183 | </dependency> |
| 184 | <dependency> |
| 185 | <groupId>org.springframework.boot</groupId> |
| 186 | <artifactId>spring-boot-configuration-processor</artifactId> |
| 187 | <optional>true</optional> |
| 188 | <scope>runtime</scope> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 189 | </dependency> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 190 | <dependency> |
| 191 | <groupId>org.springframework.boot</groupId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 192 | <artifactId>spring-boot-starter-test</artifactId> |
| 193 | <scope>test</scope> |
| 194 | </dependency> |
| 195 | <dependency> |
| 196 | <groupId>org.awaitility</groupId> |
| 197 | <artifactId>awaitility</artifactId> |
| 198 | <scope>test</scope> |
| 199 | </dependency> |
| 200 | <dependency> |
| 201 | <groupId>io.projectreactor</groupId> |
| 202 | <artifactId>reactor-test</artifactId> |
| 203 | <scope>test</scope> |
| 204 | </dependency> |
| 205 | <dependency> |
| 206 | <groupId>org.junit.jupiter</groupId> |
| 207 | <artifactId>junit-jupiter-engine</artifactId> |
| 208 | <scope>test</scope> |
| 209 | </dependency> |
| 210 | <dependency> |
| 211 | <groupId>org.mockito</groupId> |
| 212 | <artifactId>mockito-junit-jupiter</artifactId> |
| 213 | <scope>test</scope> |
| 214 | </dependency> |
| 215 | <dependency> |
| 216 | <groupId>org.mockito</groupId> |
| 217 | <artifactId>mockito-core</artifactId> |
| 218 | <scope>test</scope> |
| 219 | </dependency> |
| 220 | <dependency> |
| 221 | <groupId>com.squareup.okhttp3</groupId> |
| 222 | <artifactId>mockwebserver</artifactId> |
| 223 | <scope>test</scope> |
| 224 | </dependency> |
elinuxhenrik | 50b658d | 2020-11-11 14:11:37 +0100 | [diff] [blame] | 225 | <dependency> |
| 226 | <groupId>commons-io</groupId> |
| 227 | <artifactId>commons-io</artifactId> |
| 228 | <version>${commons-io.version}</version> |
| 229 | <scope>test</scope> |
| 230 | </dependency> |
PatrikBuhr | d279ef7 | 2021-09-21 14:47:59 +0200 | [diff] [blame] | 231 | <dependency> |
| 232 | <groupId>com.github.erosb</groupId> |
| 233 | <artifactId>everit-json-schema</artifactId> |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 234 | <version>1.14.0</version> |
PatrikBuhr | d279ef7 | 2021-09-21 14:47:59 +0200 | [diff] [blame] | 235 | </dependency> |
lapentafd | f734a40 | 2024-05-30 15:47:34 +0100 | [diff] [blame] | 236 | <!-- For Tracing --> |
| 237 | <dependency> |
| 238 | <groupId>io.micrometer</groupId> |
| 239 | <artifactId>micrometer-tracing-bridge-otel</artifactId> |
| 240 | </dependency> |
| 241 | <dependency> |
| 242 | <groupId>io.opentelemetry</groupId> |
lapentafd | f734a40 | 2024-05-30 15:47:34 +0100 | [diff] [blame] | 243 | <artifactId>opentelemetry-sdk-extension-jaeger-remote-sampler</artifactId> |
| 244 | </dependency> |
| 245 | <dependency> |
lapentafd | f734a40 | 2024-05-30 15:47:34 +0100 | [diff] [blame] | 246 | <groupId>io.opentelemetry.instrumentation</groupId> |
| 247 | <artifactId>opentelemetry-spring-webflux-5.3</artifactId> |
| 248 | </dependency> |
| 249 | <dependency> |
lapentafd | ad80065 | 2024-06-24 10:54:54 +0100 | [diff] [blame] | 250 | <groupId>io.opentelemetry.instrumentation</groupId> |
| 251 | <artifactId>opentelemetry-spring-boot-starter</artifactId> |
lapentafd | f734a40 | 2024-05-30 15:47:34 +0100 | [diff] [blame] | 252 | </dependency> |
| 253 | <!-- For ObservationRegistryCustomizer --> |
| 254 | <dependency> |
| 255 | <groupId>org.springframework.boot</groupId> |
| 256 | <artifactId>spring-boot-actuator-autoconfigure</artifactId> |
| 257 | <version>3.1.0</version> |
| 258 | </dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 259 | </dependencies> |
lapentafd | f734a40 | 2024-05-30 15:47:34 +0100 | [diff] [blame] | 260 | <dependencyManagement> |
| 261 | <dependencies> |
| 262 | <dependency> |
| 263 | <groupId>io.opentelemetry</groupId> |
| 264 | <artifactId>opentelemetry-bom</artifactId> |
| 265 | <version>1.38.0</version> |
| 266 | <type>pom</type> |
| 267 | <scope>import</scope> |
| 268 | </dependency> |
| 269 | <dependency> |
| 270 | <groupId>io.opentelemetry.instrumentation</groupId> |
| 271 | <artifactId>opentelemetry-instrumentation-bom-alpha</artifactId> |
| 272 | <version>2.4.0-alpha</version> |
| 273 | <type>pom</type> |
| 274 | <scope>import</scope> |
| 275 | </dependency> |
| 276 | </dependencies> |
| 277 | </dependencyManagement> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 278 | <build> |
| 279 | <plugins> |
| 280 | <plugin> |
Dan Timoney | bf5e4cd | 2022-12-01 17:02:22 -0500 | [diff] [blame] | 281 | <groupId>org.codehaus.gmaven</groupId> |
| 282 | <artifactId>groovy-maven-plugin</artifactId> |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame] | 283 | <version>2.1.1</version> |
Dan Timoney | efdb5b0 | 2020-11-02 11:00:33 -0500 | [diff] [blame] | 284 | <executions> |
| 285 | <execution> |
| 286 | <phase>validate</phase> |
| 287 | <goals> |
| 288 | <goal>execute</goal> |
| 289 | </goals> |
| 290 | <configuration> |
| 291 | <source>${basedir}/TagVersion.groovy</source> |
| 292 | </configuration> |
| 293 | </execution> |
| 294 | </executions> |
| 295 | </plugin> |
| 296 | <plugin> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 297 | <groupId>org.springframework.boot</groupId> |
| 298 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 299 | </plugin> |
Singal, Kapil (ks220y) | 7788a0b | 2020-09-03 16:24:57 -0400 | [diff] [blame] | 300 | <plugin> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 301 | <groupId>net.revelc.code.formatter</groupId> |
| 302 | <artifactId>formatter-maven-plugin</artifactId> |
| 303 | <version>${formatter-maven-plugin.version}</version> |
| 304 | <configuration> |
Singal, Kapil (ks220y) | 7788a0b | 2020-09-03 16:24:57 -0400 | [diff] [blame] | 305 | <lineEnding>LF</lineEnding> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 306 | <configFile>${project.basedir}/eclipse-formatter.xml</configFile> |
| 307 | </configuration> |
| 308 | <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format |
| 309 | spotless:apply process-sources --> |
| 310 | </plugin> |
| 311 | <plugin> |
| 312 | <groupId>com.diffplug.spotless</groupId> |
| 313 | <artifactId>spotless-maven-plugin</artifactId> |
| 314 | <version>${spotless-maven-plugin.version}</version> |
| 315 | <configuration> |
Singal, Kapil (ks220y) | 7788a0b | 2020-09-03 16:24:57 -0400 | [diff] [blame] | 316 | <lineEndings>UNIX</lineEndings> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 317 | <java> |
Dan Timoney | 42477eb | 2023-08-10 17:05:46 -0400 | [diff] [blame] | 318 | <removeUnusedImports/> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 319 | <importOrder> |
PatrikBuhr | 44499d0 | 2023-04-04 10:06:22 +0200 | [diff] [blame] | 320 | <order>com,io,java,lombok,javax,org,reactor</order> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 321 | </importOrder> |
| 322 | </java> |
| 323 | </configuration> |
| 324 | <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use |
| 325 | mvn spotless:apply to rewrite source files use mvn spotless:check to validate |
| 326 | source files --> |
| 327 | </plugin> |
| 328 | <plugin> |
| 329 | <groupId>org.apache.maven.plugins</groupId> |
| 330 | <artifactId>maven-surefire-plugin</artifactId> |
elinuxhenrik | 9c3a6bd | 2020-08-26 14:04:17 +0200 | [diff] [blame] | 331 | <version>${surefire-maven-plugin.version}</version> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 332 | <configuration> |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 333 | <skipTests>${allowskiptests}</skipTests> |
Dan Timoney | 42477eb | 2023-08-10 17:05:46 -0400 | [diff] [blame] | 334 | <statelessTestsetReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5Xml30StatelessReporter"> |
halil.cakal | 40ce829 | 2023-02-02 12:25:13 +0000 | [diff] [blame] | 335 | <usePhrasedFileName>false</usePhrasedFileName> |
| 336 | <usePhrasedTestSuiteClassName>true</usePhrasedTestSuiteClassName> |
| 337 | <usePhrasedTestCaseClassName>true</usePhrasedTestCaseClassName> |
| 338 | <usePhrasedTestCaseMethodName>true</usePhrasedTestCaseMethodName> |
| 339 | </statelessTestsetReporter> |
Dan Timoney | 42477eb | 2023-08-10 17:05:46 -0400 | [diff] [blame] | 340 | <consoleOutputReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5ConsoleOutputReporter"> |
halil.cakal | 40ce829 | 2023-02-02 12:25:13 +0000 | [diff] [blame] | 341 | <usePhrasedFileName>false</usePhrasedFileName> |
| 342 | </consoleOutputReporter> |
Dan Timoney | 42477eb | 2023-08-10 17:05:46 -0400 | [diff] [blame] | 343 | <statelessTestsetInfoReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoReporter"> |
halil.cakal | 40ce829 | 2023-02-02 12:25:13 +0000 | [diff] [blame] | 344 | <usePhrasedFileName>false</usePhrasedFileName> |
| 345 | <usePhrasedClassNameInRunning>true</usePhrasedClassNameInRunning> |
| 346 | <usePhrasedClassNameInTestCaseSummary>true</usePhrasedClassNameInTestCaseSummary> |
| 347 | </statelessTestsetInfoReporter> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 348 | </configuration> |
| 349 | </plugin> |
| 350 | <plugin> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 351 | <groupId>org.codehaus.mojo</groupId> |
| 352 | <artifactId>build-helper-maven-plugin</artifactId> |
| 353 | <executions> |
| 354 | <execution> |
| 355 | <id>add-source</id> |
| 356 | <phase>generate-sources</phase> |
| 357 | <goals> |
| 358 | <goal>add-source</goal> |
| 359 | </goals> |
| 360 | <configuration> |
| 361 | <sources> |
| 362 | <source>${project.build.directory}/generated-sources/annotations/</source> |
| 363 | </sources> |
| 364 | </configuration> |
| 365 | </execution> |
| 366 | </executions> |
| 367 | </plugin> |
| 368 | <plugin> |
| 369 | <groupId>org.jacoco</groupId> |
| 370 | <artifactId>jacoco-maven-plugin</artifactId> |
| 371 | <version>${jacoco-maven-plugin.version}</version> |
| 372 | <executions> |
| 373 | <execution> |
| 374 | <id>default-prepare-agent</id> |
| 375 | <goals> |
| 376 | <goal>prepare-agent</goal> |
| 377 | </goals> |
| 378 | </execution> |
| 379 | <execution> |
| 380 | <id>default-report</id> |
| 381 | <phase>prepare-package</phase> |
| 382 | <goals> |
| 383 | <goal>report</goal> |
| 384 | </goals> |
| 385 | </execution> |
| 386 | </executions> |
| 387 | </plugin> |
| 388 | <plugin> |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame] | 389 | <groupId>io.swagger.codegen.v3</groupId> |
| 390 | <artifactId>swagger-codegen-maven-plugin</artifactId> |
| 391 | <version>3.0.46</version> |
| 392 | <executions> |
| 393 | <execution> |
| 394 | <id>generate-openapi-json</id> |
| 395 | <phase>prepare-package</phase> |
| 396 | <goals> |
| 397 | <goal>generate</goal> |
| 398 | </goals> |
| 399 | <configuration> |
| 400 | <inputSpec>${project.basedir}/api/pms-api.yaml</inputSpec> |
| 401 | <language>openapi</language> |
| 402 | <output>${project.basedir}/api</output> |
| 403 | <configOptions> |
| 404 | <outputFile>pms-api.json</outputFile> |
| 405 | </configOptions> |
| 406 | </configuration> |
| 407 | </execution> |
| 408 | </executions> |
| 409 | </plugin> |
| 410 | <plugin> |
halil.cakal | b4ed333 | 2023-01-20 12:14:08 +0000 | [diff] [blame] | 411 | <groupId>org.openapitools</groupId> |
| 412 | <artifactId>openapi-generator-maven-plugin</artifactId> |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame] | 413 | <version>6.6.0</version> |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 414 | <executions> |
| 415 | <execution> |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 416 | <id>generate-openapi-html</id> |
| 417 | <phase>prepare-package</phase> |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 418 | <goals> |
| 419 | <goal>generate</goal> |
| 420 | </goals> |
| 421 | <configuration> |
| 422 | <inputSpec>${project.basedir}/api/pms-api.json</inputSpec> |
halil.cakal | b4ed333 | 2023-01-20 12:14:08 +0000 | [diff] [blame] | 423 | <generatorName>html2</generatorName> |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 424 | <output>${project.basedir}/api/pms-api</output> |
halil.cakal | b4ed333 | 2023-01-20 12:14:08 +0000 | [diff] [blame] | 425 | <skipOperationExample>false</skipOperationExample> |
| 426 | <strictSpec>false</strictSpec> |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 427 | <configOptions> |
PatrikBuhr | 44499d0 | 2023-04-04 10:06:22 +0200 | [diff] [blame] | 428 | <appDescription>The O-RAN Non-RT RIC Policy Management Service |
| 429 | provides a REST API for managing O-RAN A1 Policies.</appDescription> |
halil.cakal | b4ed333 | 2023-01-20 12:14:08 +0000 | [diff] [blame] | 430 | <appName>ONAP CCSDK A1 Policy Management Service</appName> |
| 431 | <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] | 432 | <licenseInfo>Copyright (C) 2020-2023 Nordix Foundation. Licensed |
raviteja.karumuri | 3e02f63 | 2024-01-17 15:50:10 +0000 | [diff] [blame] | 433 | 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] | 434 | <licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl> |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 435 | </configOptions> |
| 436 | </configuration> |
| 437 | </execution> |
| 438 | <execution> |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame] | 439 | <id>generate-policy-api</id> |
| 440 | <phase>generate-sources </phase> |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 441 | <goals> |
| 442 | <goal>generate</goal> |
| 443 | </goals> |
| 444 | <configuration> |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame] | 445 | <inputSpec>${project.basedir}/api/pms-api.yaml</inputSpec> |
| 446 | <invokerPackage>${project.groupId}.a1policymanagementservice.controllers.v2</invokerPackage> |
| 447 | <apiPackage>${project.groupId}.a1policymanagementservice.controllers.api.v2</apiPackage> |
| 448 | <modelPackage>${project.groupId}.a1policymanagementservice.models.v2</modelPackage> |
| 449 | <generateApiTests>false</generateApiTests> |
| 450 | <generateModelTests>false</generateModelTests> |
| 451 | <generatorName>spring</generatorName> |
| 452 | <generateSupportingFiles>false</generateSupportingFiles> |
| 453 | <skipValidateSpec>false</skipValidateSpec> |
| 454 | <library>spring-boot</library> |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 455 | <configOptions> |
raviteja.karumuri | a4687d9 | 2023-09-14 12:38:49 +0100 | [diff] [blame] | 456 | <sourceFolder>src/gen/java</sourceFolder> |
| 457 | <interfaceOnly>true</interfaceOnly> |
| 458 | <useTags>true</useTags> |
| 459 | <reactive>true</reactive> |
| 460 | <dateLibrary>java8</dateLibrary> |
| 461 | <java8>true</java8> |
| 462 | <unhandledException>true</unhandledException> |
| 463 | <openApiNullable>false</openApiNullable> |
| 464 | <skipDefaultInterface>true</skipDefaultInterface> |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 465 | </configOptions> |
| 466 | </configuration> |
| 467 | </execution> |
raviteja.karumuri | 6de5c03 | 2024-03-22 11:55:58 +0000 | [diff] [blame] | 468 | <execution> |
| 469 | <id>generate-policy-api-v3</id> |
| 470 | <phase>generate-sources </phase> |
| 471 | <goals> |
| 472 | <goal>generate</goal> |
| 473 | </goals> |
| 474 | <configuration> |
| 475 | <inputSpec>${project.basedir}/api/pms-api-v3.yaml</inputSpec> |
| 476 | <invokerPackage>${project.groupId}.a1policymanagementservice.controllers.v3</invokerPackage> |
| 477 | <apiPackage>${project.groupId}.a1policymanagementservice.controllers.api.v3</apiPackage> |
| 478 | <modelPackage>${project.groupId}.a1policymanagementservice.models.v3</modelPackage> |
| 479 | <generateApiTests>false</generateApiTests> |
| 480 | <generateModelTests>false</generateModelTests> |
| 481 | <generatorName>spring</generatorName> |
| 482 | <generateSupportingFiles>false</generateSupportingFiles> |
| 483 | <skipValidateSpec>false</skipValidateSpec> |
| 484 | <library>spring-boot</library> |
| 485 | <configOptions> |
| 486 | <sourceFolder>src/gen/java</sourceFolder> |
| 487 | <interfaceOnly>true</interfaceOnly> |
| 488 | <useTags>true</useTags> |
| 489 | <reactive>true</reactive> |
| 490 | <dateLibrary>java8</dateLibrary> |
| 491 | <java8>true</java8> |
| 492 | <unhandledException>true</unhandledException> |
| 493 | <openApiNullable>false</openApiNullable> |
| 494 | <skipDefaultInterface>true</skipDefaultInterface> |
| 495 | </configOptions> |
| 496 | </configuration> |
| 497 | </execution> |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 498 | </executions> |
| 499 | </plugin> |
| 500 | <plugin> |
PatrikBuhr | 1122b01 | 2021-01-20 12:21:52 +0100 | [diff] [blame] | 501 | <artifactId>maven-resources-plugin</artifactId> |
| 502 | <executions> |
| 503 | <execution> |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 504 | <id>copy-resource-openapi</id> |
| 505 | <phase>package</phase> |
PatrikBuhr | 1122b01 | 2021-01-20 12:21:52 +0100 | [diff] [blame] | 506 | <goals> |
| 507 | <goal>copy-resources</goal> |
| 508 | </goals> |
| 509 | <configuration> |
| 510 | <outputDirectory>${project.basedir}/../docs/offeredapis/swagger</outputDirectory> |
raviteja.karumuri | 3e02f63 | 2024-01-17 15:50:10 +0000 | [diff] [blame] | 511 | <overwrite>true</overwrite> |
PatrikBuhr | 1122b01 | 2021-01-20 12:21:52 +0100 | [diff] [blame] | 512 | <resources> |
| 513 | <resource> |
| 514 | <directory>${project.basedir}/api</directory> |
| 515 | <includes> |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 516 | <include>pms-api.json</include> |
| 517 | <include>pms-api.yaml</include> |
| 518 | </includes> |
| 519 | </resource> |
| 520 | </resources> |
| 521 | </configuration> |
| 522 | </execution> |
| 523 | <execution> |
| 524 | <id>copy-resource-openapi-html</id> |
| 525 | <phase>package</phase> |
| 526 | <goals> |
| 527 | <goal>copy-resources</goal> |
| 528 | </goals> |
| 529 | <configuration> |
| 530 | <verbose>true</verbose> |
PatrikBuhr | 44499d0 | 2023-04-04 10:06:22 +0200 | [diff] [blame] | 531 | <outputDirectory> |
| 532 | ${project.basedir}/../docs/offeredapis/openapitoolgen/offeredapis/pms-api</outputDirectory> |
JohnKeeney | e251d0c | 2023-02-20 18:00:44 +0000 | [diff] [blame] | 533 | <resources> |
| 534 | <resource> |
| 535 | <directory>${project.basedir}/api/pms-api</directory> |
| 536 | <includes> |
halil.cakal | b4ed333 | 2023-01-20 12:14:08 +0000 | [diff] [blame] | 537 | <include>index.html</include> |
PatrikBuhr | 1122b01 | 2021-01-20 12:21:52 +0100 | [diff] [blame] | 538 | </includes> |
| 539 | </resource> |
| 540 | </resources> |
| 541 | </configuration> |
| 542 | </execution> |
| 543 | </executions> |
| 544 | </plugin> |
| 545 | <plugin> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 546 | <groupId>io.fabric8</groupId> |
| 547 | <artifactId>docker-maven-plugin</artifactId> |
| 548 | <version>${docker-maven-plugin}</version> |
| 549 | <inherited>false</inherited> |
| 550 | <executions> |
| 551 | <execution> |
| 552 | <id>generate-policy-management-service-image</id> |
| 553 | <phase>package</phase> |
| 554 | <goals> |
| 555 | <goal>build</goal> |
| 556 | </goals> |
| 557 | <configuration> |
| 558 | <images> |
| 559 | <image> |
PatrikBuhr | 44499d0 | 2023-04-04 10:06:22 +0200 | [diff] [blame] | 560 | <name> |
| 561 | onap/ccsdk-oran-a1policymanagementservice:${project.version}</name> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 562 | <build> |
| 563 | <cleanup>try</cleanup> |
| 564 | <contextDir>${basedir}</contextDir> |
| 565 | <dockerFile>Dockerfile</dockerFile> |
| 566 | <args> |
| 567 | <JAR>${project.build.finalName}.jar</JAR> |
| 568 | </args> |
| 569 | <tags> |
| 570 | <tag>${project.version}</tag> |
| 571 | </tags> |
| 572 | </build> |
| 573 | </image> |
| 574 | </images> |
| 575 | </configuration> |
| 576 | </execution> |
| 577 | <execution> |
| 578 | <id>push-policy-management-service-image</id> |
| 579 | <goals> |
| 580 | <goal>build</goal> |
| 581 | <goal>push</goal> |
| 582 | </goals> |
| 583 | <configuration> |
| 584 | <images> |
| 585 | <image> |
PatrikBuhr | 44499d0 | 2023-04-04 10:06:22 +0200 | [diff] [blame] | 586 | <name> |
| 587 | onap/ccsdk-oran-a1policymanagementservice:${project.version}</name> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 588 | <build> |
| 589 | <contextDir>${basedir}</contextDir> |
| 590 | <dockerFile>Dockerfile</dockerFile> |
| 591 | <args> |
| 592 | <JAR>${project.build.finalName}.jar</JAR> |
| 593 | </args> |
| 594 | <tags> |
Dan Timoney | efdb5b0 | 2020-11-02 11:00:33 -0500 | [diff] [blame] | 595 | <tag>${project.docker.latestminortag.version}</tag> |
| 596 | <tag>${project.docker.latestfulltag.version}</tag> |
| 597 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 598 | </tags> |
| 599 | </build> |
| 600 | </image> |
| 601 | </images> |
| 602 | </configuration> |
| 603 | </execution> |
| 604 | </executions> |
| 605 | </plugin> |
| 606 | </plugins> |
| 607 | </build> |
halil.cakal | 40ce829 | 2023-02-02 12:25:13 +0000 | [diff] [blame] | 608 | <reporting> |
| 609 | <plugins> |
| 610 | <plugin> |
| 611 | <groupId>org.apache.maven.plugins</groupId> |
| 612 | <artifactId>maven-surefire-report-plugin</artifactId> |
| 613 | <version>${surefire-report-plugin.version}</version> |
| 614 | </plugin> |
| 615 | </plugins> |
| 616 | </reporting> |
nitincg | 3c7a324 | 2023-06-16 23:38:08 +0530 | [diff] [blame] | 617 | </project> |