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