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 | ~ ================================================================================ |
| 6 | ~ Copyright (C) 2020 Nordix Foundation. All rights reserved. |
| 7 | ~ ================================================================================ |
| 8 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | ~ you may not use this file except in compliance with the License. |
| 10 | ~ You may obtain a copy of the License at |
| 11 | ~ |
| 12 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | ~ |
| 14 | ~ Unless required by applicable law or agreed to in writing, software |
| 15 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | ~ See the License for the specific language governing permissions and |
| 18 | ~ limitations under the License. |
| 19 | ~ ============LICENSE_END======================================================= |
| 20 | ~ |
| 21 | --> |
| 22 | <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"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
elinuxhenrik | e5b384a | 2020-07-22 16:41:17 +0200 | [diff] [blame] | 24 | <parent> |
| 25 | <groupId>org.onap.ccsdk.parent</groupId> |
JohnKeeney | f5f34a5 | 2022-04-29 18:07:46 +0100 | [diff] [blame] | 26 | <artifactId>spring-boot-26-starter-parent</artifactId> |
Dan Timoney | 4242d5b | 2023-01-04 07:50:57 -0500 | [diff] [blame] | 27 | <version>2.5.1</version> |
Dan Timoney | 8a70f00 | 2021-08-31 10:40:07 -0400 | [diff] [blame] | 28 | <relativePath/> |
elinuxhenrik | e5b384a | 2020-07-22 16:41:17 +0200 | [diff] [blame] | 29 | </parent> |
elinuxhenrik | e5b384a | 2020-07-22 16:41:17 +0200 | [diff] [blame] | 30 | <groupId>org.onap.ccsdk.oran</groupId> |
| 31 | <artifactId>a1-policy-management-service</artifactId> |
Timoney, Dan (dt5972) | 883ecc2 | 2022-10-20 15:31:38 -0400 | [diff] [blame] | 32 | <version>1.5.0-SNAPSHOT</version> |
Lathish | a682c32 | 2020-07-30 15:52:12 +0100 | [diff] [blame] | 33 | <name>ccsdk-oran :: ${project.artifactId}</name> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 34 | <properties> |
| 35 | <java.version.source>11</java.version.source> |
| 36 | <java.version.target>11</java.version.target> |
RehanRaza | b369f78 | 2021-01-29 13:26:00 +0100 | [diff] [blame] | 37 | <springfox.version>3.0.0</springfox.version> |
PatrikBuhr | aee1110 | 2023-01-16 15:27:10 +0100 | [diff] [blame] | 38 | <gson.version>2.10.1</gson.version> |
| 39 | <json.version>20220924</json.version> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 40 | <formatter-maven-plugin.version>2.13.0</formatter-maven-plugin.version> |
| 41 | <spotless-maven-plugin.version>2.5.0</spotless-maven-plugin.version> |
PatrikBuhr | c6cca20 | 2022-01-04 17:10:12 +0100 | [diff] [blame] | 42 | <commons-io.version>2.11.0</commons-io.version> |
JohnKeeney | c9778a7 | 2022-11-01 18:49:15 +0000 | [diff] [blame] | 43 | <guava.version>31.0.1-jre</guava.version> |
elinuxhenrik | c4d1f8a | 2020-08-24 13:30:10 +0200 | [diff] [blame] | 44 | <docker-maven-plugin>0.30.0</docker-maven-plugin> |
PatrikBuhr | 1122b01 | 2021-01-20 12:21:52 +0100 | [diff] [blame] | 45 | <surefire-maven-plugin.version>3.0.0-M5</surefire-maven-plugin.version> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 46 | <jacoco-maven-plugin.version>0.8.6</jacoco-maven-plugin.version> |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 47 | <swagger-codegen-maven-plugin.version>3.0.11</swagger-codegen-maven-plugin.version> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 48 | <exec.skip>true</exec.skip> |
Dan Timoney | efdb5b0 | 2020-11-02 11:00:33 -0500 | [diff] [blame] | 49 | <ccsdk.project.version>${project.version}</ccsdk.project.version> |
PatrikBuhr | aee1110 | 2023-01-16 15:27:10 +0100 | [diff] [blame] | 50 | <software.amazon.awssdk.version>2.19.17</software.amazon.awssdk.version> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 51 | </properties> |
| 52 | <dependencies> |
| 53 | <dependency> |
| 54 | <groupId>org.springframework.boot</groupId> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 55 | <artifactId>spring-boot</artifactId> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>org.springframework</groupId> |
| 59 | <artifactId>spring-beans</artifactId> |
| 60 | </dependency> |
| 61 | <dependency> |
| 62 | <groupId>org.springframework</groupId> |
| 63 | <artifactId>spring-context</artifactId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 64 | </dependency> |
| 65 | <dependency> |
| 66 | <groupId>org.springframework.boot</groupId> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 67 | <artifactId>spring-boot-autoconfigure</artifactId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 68 | </dependency> |
| 69 | <dependency> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 70 | <groupId>org.springframework</groupId> |
| 71 | <artifactId>spring-web</artifactId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 72 | </dependency> |
| 73 | <dependency> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 74 | <groupId>org.springframework</groupId> |
| 75 | <artifactId>spring-webmvc</artifactId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 76 | </dependency> |
| 77 | <dependency> |
PatrikBuhr | 0f8b205 | 2021-12-20 13:40:14 +0100 | [diff] [blame] | 78 | <groupId>org.springframework.boot</groupId> |
| 79 | <artifactId>spring-boot-starter-webflux</artifactId> |
| 80 | </dependency> |
| 81 | <dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 82 | <groupId>org.springframework</groupId> |
| 83 | <artifactId>spring-webflux</artifactId> |
| 84 | </dependency> |
| 85 | <dependency> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 86 | <groupId>io.springfox</groupId> |
| 87 | <artifactId>springfox-spring-web</artifactId> |
| 88 | <version>${springfox.version}</version> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 89 | </dependency> |
| 90 | <dependency> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 91 | <groupId>io.springfox</groupId> |
| 92 | <artifactId>springfox-spi</artifactId> |
| 93 | <version>${springfox.version}</version> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 94 | </dependency> |
| 95 | <dependency> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 96 | <groupId>io.springfox</groupId> |
| 97 | <artifactId>springfox-core</artifactId> |
| 98 | <version>${springfox.version}</version> |
| 99 | </dependency> |
| 100 | <dependency> |
| 101 | <groupId>org.aspectj</groupId> |
| 102 | <artifactId>aspectjweaver</artifactId> |
| 103 | </dependency> |
| 104 | <dependency> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 105 | <groupId>org.apache.tomcat.embed</groupId> |
| 106 | <artifactId>tomcat-embed-core</artifactId> |
| 107 | </dependency> |
| 108 | <dependency> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 109 | <groupId>com.google.guava</groupId> |
| 110 | <artifactId>guava</artifactId> |
JohnKeeney | c9778a7 | 2022-11-01 18:49:15 +0000 | [diff] [blame] | 111 | <version>${guava.version}</version> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 112 | </dependency> |
| 113 | <dependency> |
PatrikBuhr | 3f3a4d7 | 2022-05-30 14:22:46 +0200 | [diff] [blame] | 114 | <groupId>com.google.code.gson</groupId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 115 | <artifactId>gson</artifactId> |
PatrikBuhr | 3f3a4d7 | 2022-05-30 14:22:46 +0200 | [diff] [blame] | 116 | <version>${gson.version}</version> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 117 | </dependency> |
| 118 | <dependency> |
| 119 | <groupId>org.json</groupId> |
| 120 | <artifactId>json</artifactId> |
| 121 | <version>${json.version}</version> |
| 122 | </dependency> |
| 123 | <dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 124 | <groupId>org.projectlombok</groupId> |
| 125 | <artifactId>lombok</artifactId> |
| 126 | <scope>provided</scope> |
| 127 | </dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 128 | <!-- Actuator dependencies --> |
| 129 | <dependency> |
| 130 | <groupId>org.springframework.boot</groupId> |
| 131 | <artifactId>spring-boot-starter-actuator</artifactId> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 132 | <scope>runtime</scope> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 133 | </dependency> |
halil.cakal | 8eadcb6 | 2022-09-29 09:47:09 +0100 | [diff] [blame] | 134 | <dependency> |
| 135 | <groupId>io.micrometer</groupId> |
| 136 | <artifactId>micrometer-registry-prometheus</artifactId> |
| 137 | </dependency> |
| 138 | <dependency> |
| 139 | <groupId>org.springframework.boot</groupId> |
| 140 | <artifactId>spring-boot-starter-aop</artifactId> |
| 141 | </dependency> |
PatrikBuhr | e3693cf | 2022-10-14 11:38:22 +0200 | [diff] [blame] | 142 | <dependency> |
| 143 | <groupId>software.amazon.awssdk</groupId> |
| 144 | <artifactId>s3</artifactId> |
| 145 | <version>${software.amazon.awssdk.version}</version> |
| 146 | </dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 147 | <!--REQUIRED TO GENERATE DOCUMENTATION --> |
| 148 | <dependency> |
| 149 | <groupId>io.springfox</groupId> |
| 150 | <artifactId>springfox-swagger2</artifactId> |
| 151 | <version>${springfox.version}</version> |
| 152 | </dependency> |
| 153 | <dependency> |
| 154 | <groupId>io.springfox</groupId> |
| 155 | <artifactId>springfox-swagger-ui</artifactId> |
| 156 | <version>${springfox.version}</version> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 157 | <scope>runtime</scope> |
| 158 | </dependency> |
| 159 | <!-- For development help --> |
| 160 | <dependency> |
| 161 | <groupId>org.springframework.boot</groupId> |
| 162 | <artifactId>spring-boot-devtools</artifactId> |
| 163 | <optional>true</optional> |
| 164 | <scope>runtime</scope> |
| 165 | </dependency> |
| 166 | <dependency> |
| 167 | <groupId>org.springframework.boot</groupId> |
| 168 | <artifactId>spring-boot-configuration-processor</artifactId> |
| 169 | <optional>true</optional> |
| 170 | <scope>runtime</scope> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 171 | </dependency> |
Singal, Kapil (ks220y) | 7788a0b | 2020-09-03 16:24:57 -0400 | [diff] [blame] | 172 | <!-- TEST --> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 173 | <dependency> |
PatrikBuhr | 4faa67e | 2022-07-06 11:57:20 +0200 | [diff] [blame] | 174 | <groupId>org.springdoc</groupId> |
| 175 | <artifactId>springdoc-openapi-ui</artifactId> |
| 176 | <version>1.6.6</version> |
| 177 | <scope>test</scope> |
| 178 | </dependency> |
| 179 | <dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 180 | <groupId>org.springframework.boot</groupId> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 181 | <artifactId>spring-boot-test</artifactId> |
| 182 | <scope>test</scope> |
| 183 | </dependency> |
| 184 | <dependency> |
| 185 | <groupId>org.springframework.boot</groupId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 186 | <artifactId>spring-boot-starter-test</artifactId> |
| 187 | <scope>test</scope> |
| 188 | </dependency> |
| 189 | <dependency> |
| 190 | <groupId>org.awaitility</groupId> |
| 191 | <artifactId>awaitility</artifactId> |
| 192 | <scope>test</scope> |
| 193 | </dependency> |
| 194 | <dependency> |
| 195 | <groupId>io.projectreactor</groupId> |
| 196 | <artifactId>reactor-test</artifactId> |
| 197 | <scope>test</scope> |
| 198 | </dependency> |
| 199 | <dependency> |
| 200 | <groupId>org.junit.jupiter</groupId> |
| 201 | <artifactId>junit-jupiter-engine</artifactId> |
| 202 | <scope>test</scope> |
| 203 | </dependency> |
| 204 | <dependency> |
| 205 | <groupId>org.mockito</groupId> |
| 206 | <artifactId>mockito-junit-jupiter</artifactId> |
| 207 | <scope>test</scope> |
| 208 | </dependency> |
| 209 | <dependency> |
| 210 | <groupId>org.mockito</groupId> |
| 211 | <artifactId>mockito-core</artifactId> |
| 212 | <scope>test</scope> |
| 213 | </dependency> |
| 214 | <dependency> |
| 215 | <groupId>com.squareup.okhttp3</groupId> |
| 216 | <artifactId>mockwebserver</artifactId> |
| 217 | <scope>test</scope> |
| 218 | </dependency> |
elinuxhenrik | 50b658d | 2020-11-11 14:11:37 +0100 | [diff] [blame] | 219 | <dependency> |
| 220 | <groupId>commons-io</groupId> |
| 221 | <artifactId>commons-io</artifactId> |
| 222 | <version>${commons-io.version}</version> |
| 223 | <scope>test</scope> |
| 224 | </dependency> |
PatrikBuhr | d279ef7 | 2021-09-21 14:47:59 +0200 | [diff] [blame] | 225 | <dependency> |
| 226 | <groupId>com.github.erosb</groupId> |
| 227 | <artifactId>everit-json-schema</artifactId> |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 228 | <version>1.14.0</version> |
PatrikBuhr | d279ef7 | 2021-09-21 14:47:59 +0200 | [diff] [blame] | 229 | </dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 230 | </dependencies> |
| 231 | <build> |
| 232 | <plugins> |
| 233 | <plugin> |
Dan Timoney | bf5e4cd | 2022-12-01 17:02:22 -0500 | [diff] [blame] | 234 | <groupId>org.codehaus.gmaven</groupId> |
| 235 | <artifactId>groovy-maven-plugin</artifactId> |
Dan Timoney | efdb5b0 | 2020-11-02 11:00:33 -0500 | [diff] [blame] | 236 | <executions> |
| 237 | <execution> |
| 238 | <phase>validate</phase> |
| 239 | <goals> |
| 240 | <goal>execute</goal> |
| 241 | </goals> |
| 242 | <configuration> |
| 243 | <source>${basedir}/TagVersion.groovy</source> |
| 244 | </configuration> |
| 245 | </execution> |
| 246 | </executions> |
| 247 | </plugin> |
| 248 | <plugin> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 249 | <groupId>org.springframework.boot</groupId> |
| 250 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 251 | </plugin> |
Singal, Kapil (ks220y) | 7788a0b | 2020-09-03 16:24:57 -0400 | [diff] [blame] | 252 | <plugin> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 253 | <groupId>net.revelc.code.formatter</groupId> |
| 254 | <artifactId>formatter-maven-plugin</artifactId> |
| 255 | <version>${formatter-maven-plugin.version}</version> |
| 256 | <configuration> |
Singal, Kapil (ks220y) | 7788a0b | 2020-09-03 16:24:57 -0400 | [diff] [blame] | 257 | <lineEnding>LF</lineEnding> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 258 | <configFile>${project.basedir}/eclipse-formatter.xml</configFile> |
| 259 | </configuration> |
| 260 | <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format |
| 261 | spotless:apply process-sources --> |
| 262 | </plugin> |
| 263 | <plugin> |
| 264 | <groupId>com.diffplug.spotless</groupId> |
| 265 | <artifactId>spotless-maven-plugin</artifactId> |
| 266 | <version>${spotless-maven-plugin.version}</version> |
| 267 | <configuration> |
Singal, Kapil (ks220y) | 7788a0b | 2020-09-03 16:24:57 -0400 | [diff] [blame] | 268 | <lineEndings>UNIX</lineEndings> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 269 | <java> |
Singal, Kapil (ks220y) | 7788a0b | 2020-09-03 16:24:57 -0400 | [diff] [blame] | 270 | <removeUnusedImports/> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 271 | <importOrder> |
| 272 | <order>com,java,javax,org</order> |
| 273 | </importOrder> |
| 274 | </java> |
| 275 | </configuration> |
| 276 | <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use |
| 277 | mvn spotless:apply to rewrite source files use mvn spotless:check to validate |
| 278 | source files --> |
| 279 | </plugin> |
| 280 | <plugin> |
| 281 | <groupId>org.apache.maven.plugins</groupId> |
| 282 | <artifactId>maven-surefire-plugin</artifactId> |
elinuxhenrik | 9c3a6bd | 2020-08-26 14:04:17 +0200 | [diff] [blame] | 283 | <version>${surefire-maven-plugin.version}</version> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 284 | <configuration> |
| 285 | <skipTests>false</skipTests> |
| 286 | </configuration> |
| 287 | </plugin> |
| 288 | <plugin> |
| 289 | <artifactId>maven-failsafe-plugin</artifactId> |
| 290 | </plugin> |
| 291 | <plugin> |
| 292 | <groupId>org.codehaus.mojo</groupId> |
| 293 | <artifactId>build-helper-maven-plugin</artifactId> |
| 294 | <executions> |
| 295 | <execution> |
| 296 | <id>add-source</id> |
| 297 | <phase>generate-sources</phase> |
| 298 | <goals> |
| 299 | <goal>add-source</goal> |
| 300 | </goals> |
| 301 | <configuration> |
| 302 | <sources> |
| 303 | <source>${project.build.directory}/generated-sources/annotations/</source> |
| 304 | </sources> |
| 305 | </configuration> |
| 306 | </execution> |
| 307 | </executions> |
| 308 | </plugin> |
| 309 | <plugin> |
| 310 | <groupId>org.jacoco</groupId> |
| 311 | <artifactId>jacoco-maven-plugin</artifactId> |
| 312 | <version>${jacoco-maven-plugin.version}</version> |
| 313 | <executions> |
| 314 | <execution> |
| 315 | <id>default-prepare-agent</id> |
| 316 | <goals> |
| 317 | <goal>prepare-agent</goal> |
| 318 | </goals> |
| 319 | </execution> |
| 320 | <execution> |
| 321 | <id>default-report</id> |
| 322 | <phase>prepare-package</phase> |
| 323 | <goals> |
| 324 | <goal>report</goal> |
| 325 | </goals> |
| 326 | </execution> |
| 327 | </executions> |
| 328 | </plugin> |
| 329 | <plugin> |
halil.cakal | b4ed333 | 2023-01-20 12:14:08 +0000 | [diff] [blame^] | 330 | <groupId>org.openapitools</groupId> |
| 331 | <artifactId>openapi-generator-maven-plugin</artifactId> |
| 332 | <version>6.0.0</version> |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 333 | <executions> |
| 334 | <execution> |
halil.cakal | b4ed333 | 2023-01-20 12:14:08 +0000 | [diff] [blame^] | 335 | <id>html2</id> |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 336 | <phase>test</phase> |
| 337 | <goals> |
| 338 | <goal>generate</goal> |
| 339 | </goals> |
| 340 | <configuration> |
| 341 | <inputSpec>${project.basedir}/api/pms-api.json</inputSpec> |
halil.cakal | b4ed333 | 2023-01-20 12:14:08 +0000 | [diff] [blame^] | 342 | <generatorName>html2</generatorName> |
| 343 | <verbose>false</verbose> |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 344 | <output>${project.basedir}/api</output> |
halil.cakal | b4ed333 | 2023-01-20 12:14:08 +0000 | [diff] [blame^] | 345 | <skipOperationExample>false</skipOperationExample> |
| 346 | <strictSpec>false</strictSpec> |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 347 | <configOptions> |
halil.cakal | b4ed333 | 2023-01-20 12:14:08 +0000 | [diff] [blame^] | 348 | <appDescription>The O-RAN Non-RT RIC Policy Management Service provides a REST API for managing O-RAN A1 Policies.</appDescription> |
| 349 | <appName>ONAP CCSDK A1 Policy Management Service</appName> |
| 350 | <infoUrl>https://wiki.onap.org/display/DW/O-RAN+A1+Policies+in+ONAP</infoUrl> |
| 351 | <licenseInfo>Copyright (C) 2020-2022 Nordix Foundation. Licensed under the Apache License.</licenseInfo> |
| 352 | <licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl> |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 353 | <outputFile>pms-api.yaml</outputFile> |
| 354 | </configOptions> |
| 355 | </configuration> |
| 356 | </execution> |
| 357 | </executions> |
| 358 | </plugin> |
| 359 | <plugin> |
PatrikBuhr | 1122b01 | 2021-01-20 12:21:52 +0100 | [diff] [blame] | 360 | <artifactId>maven-resources-plugin</artifactId> |
| 361 | <executions> |
| 362 | <execution> |
| 363 | <id>copy-resource-one</id> |
| 364 | <phase>install</phase> |
| 365 | <goals> |
| 366 | <goal>copy-resources</goal> |
| 367 | </goals> |
| 368 | <configuration> |
| 369 | <outputDirectory>${project.basedir}/../docs/offeredapis/swagger</outputDirectory> |
| 370 | <resources> |
| 371 | <resource> |
| 372 | <directory>${project.basedir}/api</directory> |
| 373 | <includes> |
| 374 | <include>pms-api.*</include> |
halil.cakal | b4ed333 | 2023-01-20 12:14:08 +0000 | [diff] [blame^] | 375 | <include>index.html</include> |
PatrikBuhr | 1122b01 | 2021-01-20 12:21:52 +0100 | [diff] [blame] | 376 | </includes> |
| 377 | </resource> |
| 378 | </resources> |
| 379 | </configuration> |
| 380 | </execution> |
| 381 | </executions> |
| 382 | </plugin> |
| 383 | <plugin> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 384 | <groupId>io.fabric8</groupId> |
| 385 | <artifactId>docker-maven-plugin</artifactId> |
| 386 | <version>${docker-maven-plugin}</version> |
| 387 | <inherited>false</inherited> |
| 388 | <executions> |
| 389 | <execution> |
| 390 | <id>generate-policy-management-service-image</id> |
| 391 | <phase>package</phase> |
| 392 | <goals> |
| 393 | <goal>build</goal> |
| 394 | </goals> |
| 395 | <configuration> |
| 396 | <images> |
| 397 | <image> |
| 398 | <name>onap/ccsdk-oran-a1policymanagementservice:${project.version}</name> |
| 399 | <build> |
| 400 | <cleanup>try</cleanup> |
| 401 | <contextDir>${basedir}</contextDir> |
| 402 | <dockerFile>Dockerfile</dockerFile> |
| 403 | <args> |
| 404 | <JAR>${project.build.finalName}.jar</JAR> |
| 405 | </args> |
| 406 | <tags> |
| 407 | <tag>${project.version}</tag> |
| 408 | </tags> |
| 409 | </build> |
| 410 | </image> |
| 411 | </images> |
| 412 | </configuration> |
| 413 | </execution> |
| 414 | <execution> |
| 415 | <id>push-policy-management-service-image</id> |
| 416 | <goals> |
| 417 | <goal>build</goal> |
| 418 | <goal>push</goal> |
| 419 | </goals> |
| 420 | <configuration> |
| 421 | <images> |
| 422 | <image> |
| 423 | <name>onap/ccsdk-oran-a1policymanagementservice:${project.version}</name> |
| 424 | <build> |
| 425 | <contextDir>${basedir}</contextDir> |
| 426 | <dockerFile>Dockerfile</dockerFile> |
| 427 | <args> |
| 428 | <JAR>${project.build.finalName}.jar</JAR> |
| 429 | </args> |
| 430 | <tags> |
Dan Timoney | efdb5b0 | 2020-11-02 11:00:33 -0500 | [diff] [blame] | 431 | <tag>${project.docker.latestminortag.version}</tag> |
| 432 | <tag>${project.docker.latestfulltag.version}</tag> |
| 433 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 434 | </tags> |
| 435 | </build> |
| 436 | </image> |
| 437 | </images> |
| 438 | </configuration> |
| 439 | </execution> |
| 440 | </executions> |
| 441 | </plugin> |
| 442 | </plugins> |
| 443 | </build> |
PatrikBuhr | aee1110 | 2023-01-16 15:27:10 +0100 | [diff] [blame] | 444 | </project> |