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> |
PatrikBuhr | e7f0355 | 2021-08-09 10:20:55 +0200 | [diff] [blame] | 26 | <artifactId>spring-boot-25-starter-parent</artifactId> |
Dan Timoney | b5fc06f | 2022-01-03 13:23:22 -0500 | [diff] [blame] | 27 | <version>2.3.2</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> |
Dan Timoney | 38d5562 | 2021-09-21 13:23:39 -0400 | [diff] [blame] | 32 | <version>1.3.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 | 1122b01 | 2021-01-20 12:21:52 +0100 | [diff] [blame] | 38 | <!-- Do not change to version 3.0.0! Will break the generated json. --> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 39 | <immutable.version>2.8.8</immutable.version> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 40 | <json.version>20200518</json.version> |
| 41 | <formatter-maven-plugin.version>2.13.0</formatter-maven-plugin.version> |
| 42 | <spotless-maven-plugin.version>2.5.0</spotless-maven-plugin.version> |
PatrikBuhr | c6cca20 | 2022-01-04 17:10:12 +0100 | [diff] [blame] | 43 | <commons-io.version>2.11.0</commons-io.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> |
| 46 | <!-- Version must be higher than version 2.19.1 that is defined in the parent pom for JUnit 5 tests to be run. Do not remove! --> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 47 | <jacoco-maven-plugin.version>0.8.6</jacoco-maven-plugin.version> |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 48 | <swagger-codegen-maven-plugin.version>3.0.11</swagger-codegen-maven-plugin.version> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 49 | <exec.skip>true</exec.skip> |
Dan Timoney | efdb5b0 | 2020-11-02 11:00:33 -0500 | [diff] [blame] | 50 | <ccsdk.project.version>${project.version}</ccsdk.project.version> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 51 | </properties> |
| 52 | <dependencies> |
| 53 | <dependency> |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 54 | <groupId>org.springdoc</groupId> |
| 55 | <artifactId>springdoc-openapi-ui</artifactId> |
PatrikBuhr | c6cca20 | 2022-01-04 17:10:12 +0100 | [diff] [blame] | 56 | <version>1.6.3</version> |
PatrikBuhr | fee9955 | 2021-02-02 14:06:44 +0100 | [diff] [blame] | 57 | </dependency> |
| 58 | <dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 59 | <groupId>org.springframework.boot</groupId> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 60 | <artifactId>spring-boot</artifactId> |
| 61 | </dependency> |
| 62 | <dependency> |
| 63 | <groupId>org.springframework</groupId> |
| 64 | <artifactId>spring-beans</artifactId> |
| 65 | </dependency> |
| 66 | <dependency> |
| 67 | <groupId>org.springframework</groupId> |
| 68 | <artifactId>spring-context</artifactId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 69 | </dependency> |
| 70 | <dependency> |
| 71 | <groupId>org.springframework.boot</groupId> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 72 | <artifactId>spring-boot-autoconfigure</artifactId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 73 | </dependency> |
| 74 | <dependency> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 75 | <groupId>org.springframework</groupId> |
| 76 | <artifactId>spring-web</artifactId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 77 | </dependency> |
| 78 | <dependency> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 79 | <groupId>org.springframework</groupId> |
| 80 | <artifactId>spring-webmvc</artifactId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 81 | </dependency> |
| 82 | <dependency> |
PatrikBuhr | 0f8b205 | 2021-12-20 13:40:14 +0100 | [diff] [blame^] | 83 | <groupId>org.springframework.boot</groupId> |
| 84 | <artifactId>spring-boot-starter-webflux</artifactId> |
| 85 | </dependency> |
| 86 | <dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 87 | <groupId>org.springframework</groupId> |
| 88 | <artifactId>spring-webflux</artifactId> |
| 89 | </dependency> |
| 90 | <dependency> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 91 | <groupId>io.springfox</groupId> |
| 92 | <artifactId>springfox-spring-web</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-spi</artifactId> |
| 98 | <version>${springfox.version}</version> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 99 | </dependency> |
| 100 | <dependency> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 101 | <groupId>io.springfox</groupId> |
| 102 | <artifactId>springfox-core</artifactId> |
| 103 | <version>${springfox.version}</version> |
| 104 | </dependency> |
| 105 | <dependency> |
| 106 | <groupId>org.aspectj</groupId> |
| 107 | <artifactId>aspectjweaver</artifactId> |
| 108 | </dependency> |
| 109 | <dependency> |
| 110 | <groupId>com.fasterxml.jackson.core</groupId> |
| 111 | <artifactId>jackson-databind</artifactId> |
| 112 | </dependency> |
| 113 | <dependency> |
| 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>javax.validation</groupId> |
| 119 | <artifactId>validation-api</artifactId> |
| 120 | </dependency> |
| 121 | <dependency> |
| 122 | <groupId>com.google.guava</groupId> |
| 123 | <artifactId>guava</artifactId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 124 | </dependency> |
| 125 | <dependency> |
| 126 | <groupId>org.immutables</groupId> |
| 127 | <artifactId>value</artifactId> |
| 128 | <version>${immutable.version}</version> |
| 129 | <scope>provided</scope> |
| 130 | </dependency> |
| 131 | <dependency> |
| 132 | <groupId>org.immutables</groupId> |
| 133 | <artifactId>gson</artifactId> |
| 134 | <version>${immutable.version}</version> |
| 135 | </dependency> |
| 136 | <dependency> |
| 137 | <groupId>org.json</groupId> |
| 138 | <artifactId>json</artifactId> |
| 139 | <version>${json.version}</version> |
| 140 | </dependency> |
| 141 | <dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 142 | <groupId>org.projectlombok</groupId> |
| 143 | <artifactId>lombok</artifactId> |
| 144 | <scope>provided</scope> |
| 145 | </dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 146 | <!-- Actuator dependencies --> |
| 147 | <dependency> |
| 148 | <groupId>org.springframework.boot</groupId> |
| 149 | <artifactId>spring-boot-starter-actuator</artifactId> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 150 | <scope>runtime</scope> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 151 | </dependency> |
| 152 | <!--REQUIRED TO GENERATE DOCUMENTATION --> |
| 153 | <dependency> |
| 154 | <groupId>io.springfox</groupId> |
| 155 | <artifactId>springfox-swagger2</artifactId> |
| 156 | <version>${springfox.version}</version> |
| 157 | </dependency> |
| 158 | <dependency> |
| 159 | <groupId>io.springfox</groupId> |
| 160 | <artifactId>springfox-swagger-ui</artifactId> |
| 161 | <version>${springfox.version}</version> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 162 | <scope>runtime</scope> |
| 163 | </dependency> |
| 164 | <!-- For development help --> |
| 165 | <dependency> |
| 166 | <groupId>org.springframework.boot</groupId> |
| 167 | <artifactId>spring-boot-devtools</artifactId> |
| 168 | <optional>true</optional> |
| 169 | <scope>runtime</scope> |
| 170 | </dependency> |
| 171 | <dependency> |
| 172 | <groupId>org.springframework.boot</groupId> |
| 173 | <artifactId>spring-boot-configuration-processor</artifactId> |
| 174 | <optional>true</optional> |
| 175 | <scope>runtime</scope> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 176 | </dependency> |
Singal, Kapil (ks220y) | 7788a0b | 2020-09-03 16:24:57 -0400 | [diff] [blame] | 177 | <!-- TEST --> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 178 | <dependency> |
| 179 | <groupId>org.springframework.boot</groupId> |
elinuxhenrik | fa658f6 | 2020-11-05 12:37:43 +0100 | [diff] [blame] | 180 | <artifactId>spring-boot-test</artifactId> |
| 181 | <scope>test</scope> |
| 182 | </dependency> |
| 183 | <dependency> |
| 184 | <groupId>org.springframework.boot</groupId> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 185 | <artifactId>spring-boot-starter-test</artifactId> |
| 186 | <scope>test</scope> |
| 187 | </dependency> |
| 188 | <dependency> |
| 189 | <groupId>org.awaitility</groupId> |
| 190 | <artifactId>awaitility</artifactId> |
| 191 | <scope>test</scope> |
| 192 | </dependency> |
| 193 | <dependency> |
| 194 | <groupId>io.projectreactor</groupId> |
| 195 | <artifactId>reactor-test</artifactId> |
| 196 | <scope>test</scope> |
| 197 | </dependency> |
| 198 | <dependency> |
| 199 | <groupId>org.junit.jupiter</groupId> |
| 200 | <artifactId>junit-jupiter-engine</artifactId> |
| 201 | <scope>test</scope> |
| 202 | </dependency> |
| 203 | <dependency> |
| 204 | <groupId>org.mockito</groupId> |
| 205 | <artifactId>mockito-junit-jupiter</artifactId> |
| 206 | <scope>test</scope> |
| 207 | </dependency> |
| 208 | <dependency> |
| 209 | <groupId>org.mockito</groupId> |
| 210 | <artifactId>mockito-core</artifactId> |
| 211 | <scope>test</scope> |
| 212 | </dependency> |
| 213 | <dependency> |
| 214 | <groupId>com.squareup.okhttp3</groupId> |
| 215 | <artifactId>mockwebserver</artifactId> |
| 216 | <scope>test</scope> |
| 217 | </dependency> |
elinuxhenrik | 50b658d | 2020-11-11 14:11:37 +0100 | [diff] [blame] | 218 | <dependency> |
| 219 | <groupId>commons-io</groupId> |
| 220 | <artifactId>commons-io</artifactId> |
| 221 | <version>${commons-io.version}</version> |
| 222 | <scope>test</scope> |
| 223 | </dependency> |
PatrikBuhr | d279ef7 | 2021-09-21 14:47:59 +0200 | [diff] [blame] | 224 | <!-- https://mvnrepository.com/artifact/com.github.erosb/everit-json-schema --> |
| 225 | <dependency> |
| 226 | <groupId>com.github.erosb</groupId> |
| 227 | <artifactId>everit-json-schema</artifactId> |
| 228 | <version>1.13.0</version> |
| 229 | </dependency> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 230 | </dependencies> |
| 231 | <build> |
| 232 | <plugins> |
| 233 | <plugin> |
Dan Timoney | efdb5b0 | 2020-11-02 11:00:33 -0500 | [diff] [blame] | 234 | <groupId>org.codehaus.groovy.maven</groupId> |
| 235 | <artifactId>gmaven-plugin</artifactId> |
| 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> |
elinuxhenrik | f28594d | 2020-12-07 14:54:19 +0100 | [diff] [blame] | 330 | <groupId>io.swagger.codegen.v3</groupId> |
| 331 | <artifactId>swagger-codegen-maven-plugin</artifactId> |
| 332 | <version>${swagger-codegen-maven-plugin.version}</version> |
| 333 | <executions> |
| 334 | <execution> |
| 335 | <phase>test</phase> |
| 336 | <goals> |
| 337 | <goal>generate</goal> |
| 338 | </goals> |
| 339 | <configuration> |
| 340 | <inputSpec>${project.basedir}/api/pms-api.json</inputSpec> |
| 341 | <language>openapi-yaml</language> |
| 342 | <output>${project.basedir}/api</output> |
| 343 | <configOptions> |
| 344 | <outputFile>pms-api.yaml</outputFile> |
| 345 | </configOptions> |
| 346 | </configuration> |
| 347 | </execution> |
| 348 | </executions> |
| 349 | </plugin> |
| 350 | <plugin> |
PatrikBuhr | 1122b01 | 2021-01-20 12:21:52 +0100 | [diff] [blame] | 351 | <artifactId>maven-resources-plugin</artifactId> |
| 352 | <executions> |
| 353 | <execution> |
| 354 | <id>copy-resource-one</id> |
| 355 | <phase>install</phase> |
| 356 | <goals> |
| 357 | <goal>copy-resources</goal> |
| 358 | </goals> |
| 359 | <configuration> |
| 360 | <outputDirectory>${project.basedir}/../docs/offeredapis/swagger</outputDirectory> |
| 361 | <resources> |
| 362 | <resource> |
| 363 | <directory>${project.basedir}/api</directory> |
| 364 | <includes> |
| 365 | <include>pms-api.*</include> |
| 366 | </includes> |
| 367 | </resource> |
| 368 | </resources> |
| 369 | </configuration> |
| 370 | </execution> |
| 371 | </executions> |
| 372 | </plugin> |
| 373 | <plugin> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 374 | <groupId>io.fabric8</groupId> |
| 375 | <artifactId>docker-maven-plugin</artifactId> |
| 376 | <version>${docker-maven-plugin}</version> |
| 377 | <inherited>false</inherited> |
| 378 | <executions> |
| 379 | <execution> |
| 380 | <id>generate-policy-management-service-image</id> |
| 381 | <phase>package</phase> |
| 382 | <goals> |
| 383 | <goal>build</goal> |
| 384 | </goals> |
| 385 | <configuration> |
| 386 | <images> |
| 387 | <image> |
| 388 | <name>onap/ccsdk-oran-a1policymanagementservice:${project.version}</name> |
| 389 | <build> |
| 390 | <cleanup>try</cleanup> |
| 391 | <contextDir>${basedir}</contextDir> |
| 392 | <dockerFile>Dockerfile</dockerFile> |
| 393 | <args> |
| 394 | <JAR>${project.build.finalName}.jar</JAR> |
| 395 | </args> |
| 396 | <tags> |
| 397 | <tag>${project.version}</tag> |
| 398 | </tags> |
| 399 | </build> |
| 400 | </image> |
| 401 | </images> |
| 402 | </configuration> |
| 403 | </execution> |
| 404 | <execution> |
| 405 | <id>push-policy-management-service-image</id> |
| 406 | <goals> |
| 407 | <goal>build</goal> |
| 408 | <goal>push</goal> |
| 409 | </goals> |
| 410 | <configuration> |
| 411 | <images> |
| 412 | <image> |
| 413 | <name>onap/ccsdk-oran-a1policymanagementservice:${project.version}</name> |
| 414 | <build> |
| 415 | <contextDir>${basedir}</contextDir> |
| 416 | <dockerFile>Dockerfile</dockerFile> |
| 417 | <args> |
| 418 | <JAR>${project.build.finalName}.jar</JAR> |
| 419 | </args> |
| 420 | <tags> |
Dan Timoney | efdb5b0 | 2020-11-02 11:00:33 -0500 | [diff] [blame] | 421 | <tag>${project.docker.latestminortag.version}</tag> |
| 422 | <tag>${project.docker.latestfulltag.version}</tag> |
| 423 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 424 | </tags> |
| 425 | </build> |
| 426 | </image> |
| 427 | </images> |
| 428 | </configuration> |
| 429 | </execution> |
| 430 | </executions> |
| 431 | </plugin> |
| 432 | </plugins> |
| 433 | </build> |
PatrikBuhr | 0f8b205 | 2021-12-20 13:40:14 +0100 | [diff] [blame^] | 434 | </project> |