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 | 3f3a4d7 | 2022-05-30 14:22:46 +0200 | [diff] [blame] | 38 | <gson.version>2.9.0</gson.version> |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 39 | <json.version>20220320</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 | e3693cf | 2022-10-14 11:38:22 +0200 | [diff] [blame] | 50 | <software.amazon.awssdk.version>2.17.292</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>javax.validation</groupId> |
| 110 | <artifactId>validation-api</artifactId> |
| 111 | </dependency> |
| 112 | <dependency> |
| 113 | <groupId>com.google.guava</groupId> |
| 114 | <artifactId>guava</artifactId> |
JohnKeeney | c9778a7 | 2022-11-01 18:49:15 +0000 | [diff] [blame] | 115 | <version>${guava.version}</version> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 116 | </dependency> |
| 117 | <dependency> |
PatrikBuhr | 3f3a4d7 | 2022-05-30 14:22:46 +0200 | [diff] [blame] | 118 | <groupId>com.google.code.gson</groupId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 119 | <artifactId>gson</artifactId> |
PatrikBuhr | 3f3a4d7 | 2022-05-30 14:22:46 +0200 | [diff] [blame] | 120 | <version>${gson.version}</version> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 121 | </dependency> |
| 122 | <dependency> |
| 123 | <groupId>org.json</groupId> |
| 124 | <artifactId>json</artifactId> |
| 125 | <version>${json.version}</version> |
| 126 | </dependency> |
| 127 | <dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 128 | <groupId>org.projectlombok</groupId> |
| 129 | <artifactId>lombok</artifactId> |
| 130 | <scope>provided</scope> |
| 131 | </dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 132 | <!-- Actuator dependencies --> |
| 133 | <dependency> |
| 134 | <groupId>org.springframework.boot</groupId> |
| 135 | <artifactId>spring-boot-starter-actuator</artifactId> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 136 | <scope>runtime</scope> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 137 | </dependency> |
halil.cakal | 8eadcb6 | 2022-09-29 09:47:09 +0100 | [diff] [blame] | 138 | <dependency> |
| 139 | <groupId>io.micrometer</groupId> |
| 140 | <artifactId>micrometer-registry-prometheus</artifactId> |
| 141 | </dependency> |
| 142 | <dependency> |
| 143 | <groupId>org.springframework.boot</groupId> |
| 144 | <artifactId>spring-boot-starter-aop</artifactId> |
| 145 | </dependency> |
PatrikBuhr | e3693cf | 2022-10-14 11:38:22 +0200 | [diff] [blame] | 146 | <dependency> |
| 147 | <groupId>software.amazon.awssdk</groupId> |
| 148 | <artifactId>s3</artifactId> |
| 149 | <version>${software.amazon.awssdk.version}</version> |
| 150 | </dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 151 | <!--REQUIRED TO GENERATE DOCUMENTATION --> |
| 152 | <dependency> |
| 153 | <groupId>io.springfox</groupId> |
| 154 | <artifactId>springfox-swagger2</artifactId> |
| 155 | <version>${springfox.version}</version> |
| 156 | </dependency> |
| 157 | <dependency> |
| 158 | <groupId>io.springfox</groupId> |
| 159 | <artifactId>springfox-swagger-ui</artifactId> |
| 160 | <version>${springfox.version}</version> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 161 | <scope>runtime</scope> |
| 162 | </dependency> |
| 163 | <!-- For development help --> |
| 164 | <dependency> |
| 165 | <groupId>org.springframework.boot</groupId> |
| 166 | <artifactId>spring-boot-devtools</artifactId> |
| 167 | <optional>true</optional> |
| 168 | <scope>runtime</scope> |
| 169 | </dependency> |
| 170 | <dependency> |
| 171 | <groupId>org.springframework.boot</groupId> |
| 172 | <artifactId>spring-boot-configuration-processor</artifactId> |
| 173 | <optional>true</optional> |
| 174 | <scope>runtime</scope> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 175 | </dependency> |
Singal, Kapil (ks220y) | 7788a0b | 2020-09-03 16:24:57 -0400 | [diff] [blame] | 176 | <!-- TEST --> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 177 | <dependency> |
PatrikBuhr | 4faa67e | 2022-07-06 11:57:20 +0200 | [diff] [blame] | 178 | <groupId>org.springdoc</groupId> |
| 179 | <artifactId>springdoc-openapi-ui</artifactId> |
| 180 | <version>1.6.6</version> |
| 181 | <scope>test</scope> |
| 182 | </dependency> |
| 183 | <dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 184 | <groupId>org.springframework.boot</groupId> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 185 | <artifactId>spring-boot-test</artifactId> |
| 186 | <scope>test</scope> |
| 187 | </dependency> |
| 188 | <dependency> |
| 189 | <groupId>org.springframework.boot</groupId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 190 | <artifactId>spring-boot-starter-test</artifactId> |
| 191 | <scope>test</scope> |
| 192 | </dependency> |
| 193 | <dependency> |
| 194 | <groupId>org.awaitility</groupId> |
| 195 | <artifactId>awaitility</artifactId> |
| 196 | <scope>test</scope> |
| 197 | </dependency> |
| 198 | <dependency> |
| 199 | <groupId>io.projectreactor</groupId> |
| 200 | <artifactId>reactor-test</artifactId> |
| 201 | <scope>test</scope> |
| 202 | </dependency> |
| 203 | <dependency> |
| 204 | <groupId>org.junit.jupiter</groupId> |
| 205 | <artifactId>junit-jupiter-engine</artifactId> |
| 206 | <scope>test</scope> |
| 207 | </dependency> |
| 208 | <dependency> |
| 209 | <groupId>org.mockito</groupId> |
| 210 | <artifactId>mockito-junit-jupiter</artifactId> |
| 211 | <scope>test</scope> |
| 212 | </dependency> |
| 213 | <dependency> |
| 214 | <groupId>org.mockito</groupId> |
| 215 | <artifactId>mockito-core</artifactId> |
| 216 | <scope>test</scope> |
| 217 | </dependency> |
| 218 | <dependency> |
| 219 | <groupId>com.squareup.okhttp3</groupId> |
| 220 | <artifactId>mockwebserver</artifactId> |
| 221 | <scope>test</scope> |
| 222 | </dependency> |
elinuxhenrik | 50b658d | 2020-11-11 14:11:37 +0100 | [diff] [blame] | 223 | <dependency> |
| 224 | <groupId>commons-io</groupId> |
| 225 | <artifactId>commons-io</artifactId> |
| 226 | <version>${commons-io.version}</version> |
| 227 | <scope>test</scope> |
| 228 | </dependency> |
PatrikBuhr | d279ef7 | 2021-09-21 14:47:59 +0200 | [diff] [blame] | 229 | <dependency> |
| 230 | <groupId>com.github.erosb</groupId> |
| 231 | <artifactId>everit-json-schema</artifactId> |
PatrikBuhr | 62c2596 | 2022-03-25 15:39:06 +0100 | [diff] [blame] | 232 | <version>1.14.0</version> |
PatrikBuhr | d279ef7 | 2021-09-21 14:47:59 +0200 | [diff] [blame] | 233 | </dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 234 | </dependencies> |
| 235 | <build> |
| 236 | <plugins> |
| 237 | <plugin> |
Dan Timoney | bf5e4cd | 2022-12-01 17:02:22 -0500 | [diff] [blame] | 238 | <groupId>org.codehaus.gmaven</groupId> |
| 239 | <artifactId>groovy-maven-plugin</artifactId> |
Dan Timoney | efdb5b0 | 2020-11-02 11:00:33 -0500 | [diff] [blame] | 240 | <executions> |
| 241 | <execution> |
| 242 | <phase>validate</phase> |
| 243 | <goals> |
| 244 | <goal>execute</goal> |
| 245 | </goals> |
| 246 | <configuration> |
| 247 | <source>${basedir}/TagVersion.groovy</source> |
| 248 | </configuration> |
| 249 | </execution> |
| 250 | </executions> |
| 251 | </plugin> |
| 252 | <plugin> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 253 | <groupId>org.springframework.boot</groupId> |
| 254 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 255 | </plugin> |
Singal, Kapil (ks220y) | 7788a0b | 2020-09-03 16:24:57 -0400 | [diff] [blame] | 256 | <plugin> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 257 | <groupId>net.revelc.code.formatter</groupId> |
| 258 | <artifactId>formatter-maven-plugin</artifactId> |
| 259 | <version>${formatter-maven-plugin.version}</version> |
| 260 | <configuration> |
Singal, Kapil (ks220y) | 7788a0b | 2020-09-03 16:24:57 -0400 | [diff] [blame] | 261 | <lineEnding>LF</lineEnding> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 262 | <configFile>${project.basedir}/eclipse-formatter.xml</configFile> |
| 263 | </configuration> |
| 264 | <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format |
| 265 | spotless:apply process-sources --> |
| 266 | </plugin> |
| 267 | <plugin> |
| 268 | <groupId>com.diffplug.spotless</groupId> |
| 269 | <artifactId>spotless-maven-plugin</artifactId> |
| 270 | <version>${spotless-maven-plugin.version}</version> |
| 271 | <configuration> |
Singal, Kapil (ks220y) | 7788a0b | 2020-09-03 16:24:57 -0400 | [diff] [blame] | 272 | <lineEndings>UNIX</lineEndings> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 273 | <java> |
Singal, Kapil (ks220y) | 7788a0b | 2020-09-03 16:24:57 -0400 | [diff] [blame] | 274 | <removeUnusedImports/> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 275 | <importOrder> |
| 276 | <order>com,java,javax,org</order> |
| 277 | </importOrder> |
| 278 | </java> |
| 279 | </configuration> |
| 280 | <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use |
| 281 | mvn spotless:apply to rewrite source files use mvn spotless:check to validate |
| 282 | source files --> |
| 283 | </plugin> |
| 284 | <plugin> |
| 285 | <groupId>org.apache.maven.plugins</groupId> |
| 286 | <artifactId>maven-surefire-plugin</artifactId> |
elinuxhenrik | 9c3a6bd | 2020-08-26 14:04:17 +0200 | [diff] [blame] | 287 | <version>${surefire-maven-plugin.version}</version> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 288 | <configuration> |
| 289 | <skipTests>false</skipTests> |
| 290 | </configuration> |
| 291 | </plugin> |
| 292 | <plugin> |
| 293 | <artifactId>maven-failsafe-plugin</artifactId> |
| 294 | </plugin> |
| 295 | <plugin> |
| 296 | <groupId>org.codehaus.mojo</groupId> |
| 297 | <artifactId>build-helper-maven-plugin</artifactId> |
| 298 | <executions> |
| 299 | <execution> |
| 300 | <id>add-source</id> |
| 301 | <phase>generate-sources</phase> |
| 302 | <goals> |
| 303 | <goal>add-source</goal> |
| 304 | </goals> |
| 305 | <configuration> |
| 306 | <sources> |
| 307 | <source>${project.build.directory}/generated-sources/annotations/</source> |
| 308 | </sources> |
| 309 | </configuration> |
| 310 | </execution> |
| 311 | </executions> |
| 312 | </plugin> |
| 313 | <plugin> |
| 314 | <groupId>org.jacoco</groupId> |
| 315 | <artifactId>jacoco-maven-plugin</artifactId> |
| 316 | <version>${jacoco-maven-plugin.version}</version> |
| 317 | <executions> |
| 318 | <execution> |
| 319 | <id>default-prepare-agent</id> |
| 320 | <goals> |
| 321 | <goal>prepare-agent</goal> |
| 322 | </goals> |
| 323 | </execution> |
| 324 | <execution> |
| 325 | <id>default-report</id> |
| 326 | <phase>prepare-package</phase> |
| 327 | <goals> |
| 328 | <goal>report</goal> |
| 329 | </goals> |
| 330 | </execution> |
| 331 | </executions> |
| 332 | </plugin> |
| 333 | <plugin> |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 334 | <groupId>io.swagger.codegen.v3</groupId> |
| 335 | <artifactId>swagger-codegen-maven-plugin</artifactId> |
| 336 | <version>${swagger-codegen-maven-plugin.version}</version> |
| 337 | <executions> |
| 338 | <execution> |
| 339 | <phase>test</phase> |
| 340 | <goals> |
| 341 | <goal>generate</goal> |
| 342 | </goals> |
| 343 | <configuration> |
| 344 | <inputSpec>${project.basedir}/api/pms-api.json</inputSpec> |
| 345 | <language>openapi-yaml</language> |
| 346 | <output>${project.basedir}/api</output> |
| 347 | <configOptions> |
| 348 | <outputFile>pms-api.yaml</outputFile> |
| 349 | </configOptions> |
| 350 | </configuration> |
| 351 | </execution> |
| 352 | </executions> |
| 353 | </plugin> |
| 354 | <plugin> |
PatrikBuhr | 1122b01 | 2021-01-20 12:21:52 +0100 | [diff] [blame] | 355 | <artifactId>maven-resources-plugin</artifactId> |
| 356 | <executions> |
| 357 | <execution> |
| 358 | <id>copy-resource-one</id> |
| 359 | <phase>install</phase> |
| 360 | <goals> |
| 361 | <goal>copy-resources</goal> |
| 362 | </goals> |
| 363 | <configuration> |
| 364 | <outputDirectory>${project.basedir}/../docs/offeredapis/swagger</outputDirectory> |
| 365 | <resources> |
| 366 | <resource> |
| 367 | <directory>${project.basedir}/api</directory> |
| 368 | <includes> |
| 369 | <include>pms-api.*</include> |
| 370 | </includes> |
| 371 | </resource> |
| 372 | </resources> |
| 373 | </configuration> |
| 374 | </execution> |
| 375 | </executions> |
| 376 | </plugin> |
| 377 | <plugin> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 378 | <groupId>io.fabric8</groupId> |
| 379 | <artifactId>docker-maven-plugin</artifactId> |
| 380 | <version>${docker-maven-plugin}</version> |
| 381 | <inherited>false</inherited> |
| 382 | <executions> |
| 383 | <execution> |
| 384 | <id>generate-policy-management-service-image</id> |
| 385 | <phase>package</phase> |
| 386 | <goals> |
| 387 | <goal>build</goal> |
| 388 | </goals> |
| 389 | <configuration> |
| 390 | <images> |
| 391 | <image> |
| 392 | <name>onap/ccsdk-oran-a1policymanagementservice:${project.version}</name> |
| 393 | <build> |
| 394 | <cleanup>try</cleanup> |
| 395 | <contextDir>${basedir}</contextDir> |
| 396 | <dockerFile>Dockerfile</dockerFile> |
| 397 | <args> |
| 398 | <JAR>${project.build.finalName}.jar</JAR> |
| 399 | </args> |
| 400 | <tags> |
| 401 | <tag>${project.version}</tag> |
| 402 | </tags> |
| 403 | </build> |
| 404 | </image> |
| 405 | </images> |
| 406 | </configuration> |
| 407 | </execution> |
| 408 | <execution> |
| 409 | <id>push-policy-management-service-image</id> |
| 410 | <goals> |
| 411 | <goal>build</goal> |
| 412 | <goal>push</goal> |
| 413 | </goals> |
| 414 | <configuration> |
| 415 | <images> |
| 416 | <image> |
| 417 | <name>onap/ccsdk-oran-a1policymanagementservice:${project.version}</name> |
| 418 | <build> |
| 419 | <contextDir>${basedir}</contextDir> |
| 420 | <dockerFile>Dockerfile</dockerFile> |
| 421 | <args> |
| 422 | <JAR>${project.build.finalName}.jar</JAR> |
| 423 | </args> |
| 424 | <tags> |
Dan Timoney | efdb5b0 | 2020-11-02 11:00:33 -0500 | [diff] [blame] | 425 | <tag>${project.docker.latestminortag.version}</tag> |
| 426 | <tag>${project.docker.latestfulltag.version}</tag> |
| 427 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 428 | </tags> |
| 429 | </build> |
| 430 | </image> |
| 431 | </images> |
| 432 | </configuration> |
| 433 | </execution> |
| 434 | </executions> |
| 435 | </plugin> |
| 436 | </plugins> |
| 437 | </build> |
Dan Timoney | bf5e4cd | 2022-12-01 17:02:22 -0500 | [diff] [blame] | 438 | </project> |