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