vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | <modelVersion>4.0.0</modelVersion> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 5 | |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 6 | <artifactId>catalog-be</artifactId> |
| 7 | <packaging>war</packaging> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 8 | |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 9 | <parent> |
| 10 | <groupId>org.openecomp.sdc</groupId> |
| 11 | <artifactId>sdc-main</artifactId> |
ChrisC | e407cea | 2020-10-30 16:44:46 +0100 | [diff] [blame] | 12 | <version>1.8.0-SNAPSHOT</version> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 13 | </parent> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 14 | |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 15 | <properties> |
| 16 | <java-hamcrest.version>2.0.0.0</java-hamcrest.version> |
| 17 | <swagger.version>2.1.1</swagger.version> |
| 18 | <swagger-ui.version>3.25.0</swagger-ui.version> |
| 19 | <maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version> |
| 20 | <replacer.plugin.version>1.5.3</replacer.plugin.version> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 21 | </properties> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 22 | |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 23 | <dependencies> |
| 24 | <dependency> |
| 25 | <groupId>org.openecomp.sdc</groupId> |
| 26 | <artifactId>togglz-rest-services</artifactId> |
| 27 | <version>${project.version}</version> |
| 28 | </dependency> |
| 29 | |
| 30 | <!--JSON and YAML Parsing--> |
| 31 | <dependency> |
| 32 | <groupId>com.fasterxml.jackson.core</groupId> |
| 33 | <artifactId>jackson-core</artifactId> |
| 34 | <version>${jackson.version}</version> |
| 35 | </dependency> |
| 36 | <dependency> |
| 37 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 38 | <artifactId>jackson-dataformat-yaml</artifactId> |
| 39 | <version>${jackson.version}</version> |
| 40 | <exclusions> |
| 41 | <exclusion> |
| 42 | <groupId>com.fasterxml.jackson.core</groupId> |
| 43 | <artifactId>jackson-core</artifactId> |
| 44 | </exclusion> |
| 45 | </exclusions> |
| 46 | </dependency> |
| 47 | |
| 48 | <dependency> |
| 49 | <groupId>com.fasterxml.jackson.core</groupId> |
| 50 | <artifactId>jackson-databind</artifactId> |
| 51 | <version>${jackson.version}</version> |
| 52 | <exclusions> |
| 53 | <exclusion> |
| 54 | <groupId>com.fasterxml.jackson.core</groupId> |
| 55 | <artifactId>jackson-core</artifactId> |
| 56 | </exclusion> |
| 57 | </exclusions> |
| 58 | </dependency> |
| 59 | |
| 60 | <dependency> |
| 61 | <groupId>org.onap.sdc.common</groupId> |
| 62 | <artifactId>onap-generic-artifact-browser-service</artifactId> |
| 63 | <version>${project.version}</version> |
| 64 | <scope>compile</scope> |
| 65 | </dependency> |
| 66 | |
| 67 | <!-- Swagger Dependencies Start --> |
| 68 | <dependency> |
| 69 | <groupId>io.swagger.core.v3</groupId> |
| 70 | <artifactId>swagger-jaxrs2</artifactId> |
| 71 | <version>${swagger.version}</version> |
| 72 | <exclusions> |
| 73 | <exclusion> |
| 74 | <groupId>com.fasterxml.jackson.core</groupId> |
| 75 | <artifactId>jackson-core</artifactId> |
| 76 | </exclusion> |
| 77 | </exclusions> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>io.swagger.core.v3</groupId> |
| 81 | <artifactId>swagger-annotations</artifactId> |
| 82 | <version>${swagger.version}</version> |
| 83 | </dependency> |
| 84 | <!-- Swagger Dependencies End --> |
| 85 | |
| 86 | <dependency> |
| 87 | <groupId>org.openecomp.sdc</groupId> |
| 88 | <artifactId>common-app-api</artifactId> |
| 89 | <version>${project.version}</version> |
| 90 | <exclusions> |
| 91 | <exclusion> |
| 92 | <groupId>com.fasterxml.jackson.core</groupId> |
| 93 | <artifactId>jackson-core</artifactId> |
| 94 | </exclusion> |
| 95 | </exclusions> |
| 96 | </dependency> |
| 97 | |
| 98 | <dependency> |
| 99 | <groupId>javax.ws.rs</groupId> |
| 100 | <artifactId>javax.ws.rs-api</artifactId> |
| 101 | <version>${ws.rs.version}</version> |
| 102 | </dependency> |
| 103 | |
| 104 | <dependency> |
| 105 | <groupId>org.openecomp.sdc.be</groupId> |
| 106 | <artifactId>common-be</artifactId> |
| 107 | <version>${project.version}</version> |
| 108 | <scope>compile</scope> |
| 109 | </dependency> |
| 110 | <dependency> |
| 111 | <groupId>org.openecomp.sdc.be</groupId> |
| 112 | <artifactId>common-be</artifactId> |
| 113 | <version>${project.version}</version> |
| 114 | <type>test-jar</type> |
| 115 | <scope>test</scope> |
| 116 | </dependency> |
| 117 | <dependency> |
| 118 | <groupId>org.openecomp.sdc.be</groupId> |
| 119 | <artifactId>catalog-dao</artifactId> |
| 120 | <version>${project.version}</version> |
| 121 | <exclusions> |
| 122 | <exclusion> |
| 123 | <groupId>com.fasterxml.jackson.core</groupId> |
| 124 | <artifactId>jackson-core</artifactId> |
| 125 | </exclusion> |
| 126 | </exclusions> |
| 127 | </dependency> |
| 128 | |
| 129 | <dependency> |
| 130 | <groupId>org.openecomp.sdc.be</groupId> |
| 131 | <artifactId>catalog-model</artifactId> |
| 132 | <version>${project.version}</version> |
| 133 | <exclusions> |
| 134 | <exclusion> |
| 135 | <groupId>com.fasterxml.jackson.core</groupId> |
| 136 | <artifactId>jackson-core</artifactId> |
| 137 | </exclusion> |
| 138 | </exclusions> |
| 139 | </dependency> |
| 140 | |
| 141 | <dependency> |
| 142 | <groupId>ch.qos.logback</groupId> |
| 143 | <artifactId>logback-classic</artifactId> |
| 144 | <version>${logback.version}</version> |
| 145 | <scope>compile</scope> |
| 146 | </dependency> |
| 147 | |
| 148 | <!-- Snake Yaml --> |
| 149 | <dependency> |
| 150 | <groupId>org.yaml</groupId> |
| 151 | <artifactId>snakeyaml</artifactId> |
| 152 | <version>${snakeyaml.version}</version> |
| 153 | <scope>compile</scope> |
| 154 | </dependency> |
| 155 | |
| 156 | <!-- File changes listener --> |
| 157 | <dependency> |
| 158 | <groupId>org.apache.commons</groupId> |
| 159 | <artifactId>commons-jci-core</artifactId> |
| 160 | <version>${commons-jci-core.version}</version> |
| 161 | <scope>compile</scope> |
| 162 | </dependency> |
| 163 | |
| 164 | <!-- Gson --> |
| 165 | <dependency> |
| 166 | <groupId>com.google.code.gson</groupId> |
| 167 | <artifactId>gson</artifactId> |
| 168 | <version>${gson.version}</version> |
| 169 | <scope>compile</scope> |
| 170 | </dependency> |
| 171 | |
| 172 | <!-- jersey --> |
| 173 | <dependency> |
| 174 | <groupId>org.glassfish.jersey.media</groupId> |
| 175 | <artifactId>jersey-media-json-jackson</artifactId> |
| 176 | <version>${jersey-bom.version}</version> |
| 177 | <exclusions> |
| 178 | <exclusion> |
| 179 | <groupId>com.fasterxml.jackson.core</groupId> |
| 180 | <artifactId>jackson-core</artifactId> |
| 181 | </exclusion> |
| 182 | </exclusions> |
| 183 | </dependency> |
| 184 | |
| 185 | <dependency> |
| 186 | <groupId>org.glassfish.jersey.containers</groupId> |
| 187 | <artifactId>jersey-container-servlet-core</artifactId> |
| 188 | <version>${jersey-bom.version}</version> |
| 189 | <scope>compile</scope> |
| 190 | </dependency> |
| 191 | |
| 192 | <dependency> |
| 193 | <groupId>org.glassfish.jersey.media</groupId> |
| 194 | <artifactId>jersey-media-multipart</artifactId> |
| 195 | <version>${jersey-bom.version}</version> |
| 196 | <scope>compile</scope> |
| 197 | </dependency> |
| 198 | <dependency> |
| 199 | <groupId>org.glassfish.jersey.ext</groupId> |
| 200 | <artifactId>jersey-spring4</artifactId> |
| 201 | <version>${jersey-bom.version}</version> |
| 202 | <exclusions> |
| 203 | <exclusion> |
| 204 | <groupId>org.springframework</groupId> |
| 205 | <artifactId>spring-web</artifactId> |
| 206 | </exclusion> |
| 207 | <exclusion> |
| 208 | <groupId>org.springframework</groupId> |
| 209 | <artifactId>spring-beans</artifactId> |
| 210 | </exclusion> |
| 211 | <exclusion> |
| 212 | <groupId>org.springframework</groupId> |
| 213 | <artifactId>spring-core</artifactId> |
| 214 | </exclusion> |
| 215 | <exclusion> |
| 216 | <groupId>org.springframework</groupId> |
| 217 | <artifactId>spring-aop</artifactId> |
| 218 | </exclusion> |
| 219 | <!-- Transitive dependency of spring-bridge --> |
| 220 | <exclusion> |
| 221 | <groupId>org.springframework</groupId> |
| 222 | <artifactId>spring-context</artifactId> |
| 223 | </exclusion> |
| 224 | </exclusions> |
| 225 | |
| 226 | </dependency> |
| 227 | |
| 228 | <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler |
| 229 | currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency--> |
| 230 | <dependency> |
| 231 | <groupId>org.glassfish.hk2.external</groupId> |
| 232 | <artifactId>asm-all-repackaged</artifactId> |
| 233 | </dependency> |
| 234 | |
| 235 | <dependency> |
| 236 | <groupId>org.glassfish.jersey.ext</groupId> |
| 237 | <artifactId>jersey-bean-validation</artifactId> |
| 238 | </dependency> |
| 239 | |
| 240 | <!-- http client --> |
| 241 | <dependency> |
| 242 | <groupId>org.apache.httpcomponents</groupId> |
| 243 | <artifactId>httpclient</artifactId> |
| 244 | <version>${httpclient.version}</version> |
| 245 | <scope>compile</scope> |
| 246 | </dependency> |
| 247 | |
| 248 | <dependency> |
| 249 | <groupId>org.apache.httpcomponents</groupId> |
| 250 | <artifactId>httpcore</artifactId> |
| 251 | <version>${httpcore.version}</version> |
| 252 | <scope>compile</scope> |
| 253 | </dependency> |
| 254 | |
| 255 | <dependency> |
| 256 | <groupId>commons-logging</groupId> |
| 257 | <artifactId>commons-logging</artifactId> |
| 258 | <version>${commons-logging}</version> |
| 259 | <scope>compile</scope> |
| 260 | </dependency> |
| 261 | |
| 262 | <dependency> |
| 263 | <groupId>commons-codec</groupId> |
| 264 | <artifactId>commons-codec</artifactId> |
| 265 | <version>${commons-codec}</version> |
| 266 | <scope>compile</scope> |
| 267 | </dependency> |
| 268 | <!-- http client END --> |
| 269 | |
| 270 | <dependency> |
| 271 | <groupId>javax.servlet</groupId> |
| 272 | <artifactId>javax.servlet-api</artifactId> |
| 273 | <version>${servlet-api.version}</version> |
| 274 | <scope>provided</scope> |
| 275 | </dependency> |
| 276 | |
| 277 | <dependency> |
| 278 | <groupId>org.eclipse.jgit</groupId> |
| 279 | <artifactId>org.eclipse.jgit</artifactId> |
| 280 | <version>3.4.1.201406201815-r</version> |
| 281 | </dependency> |
| 282 | |
| 283 | <!-- spring - used by A4C --> |
| 284 | <dependency> |
| 285 | <groupId>org.springframework</groupId> |
| 286 | <artifactId>spring-core</artifactId> |
| 287 | <version>${spring.version}</version> |
| 288 | <scope>compile</scope> |
| 289 | </dependency> |
| 290 | |
| 291 | <dependency> |
| 292 | <groupId>org.springframework</groupId> |
| 293 | <artifactId>spring-context</artifactId> |
| 294 | <version>${spring.version}</version> |
| 295 | <scope>compile</scope> |
| 296 | </dependency> |
| 297 | |
| 298 | <dependency> |
| 299 | <groupId>org.springframework</groupId> |
| 300 | <artifactId>spring-web</artifactId> |
| 301 | <version>${spring.version}</version> |
| 302 | <scope>compile</scope> |
| 303 | </dependency> |
| 304 | |
| 305 | <dependency> |
| 306 | <groupId>org.springframework</groupId> |
| 307 | <artifactId>spring-webmvc</artifactId> |
| 308 | <version>${spring.version}</version> |
| 309 | <scope>compile</scope> |
| 310 | </dependency> |
| 311 | |
| 312 | <dependency> |
| 313 | <groupId>org.springframework</groupId> |
| 314 | <artifactId>spring-aop</artifactId> |
| 315 | <version>${spring.version}</version> |
| 316 | <scope>compile</scope> |
| 317 | </dependency> |
| 318 | |
| 319 | <dependency> |
| 320 | <groupId>org.springframework</groupId> |
| 321 | <artifactId>spring-beans</artifactId> |
| 322 | <version>${spring.version}</version> |
| 323 | <scope>compile</scope> |
| 324 | </dependency> |
| 325 | |
| 326 | <dependency> |
| 327 | <groupId>org.springframework</groupId> |
| 328 | <artifactId>spring-expression</artifactId> |
| 329 | <version>${spring.version}</version> |
| 330 | <scope>compile</scope> |
| 331 | </dependency> |
| 332 | |
| 333 | <!-- Spring integration (optional) --> |
| 334 | <dependency> |
| 335 | <groupId>org.togglz</groupId> |
| 336 | <artifactId>togglz-spring-web</artifactId> |
| 337 | <version>${togglz.version}</version> |
| 338 | </dependency> |
| 339 | |
| 340 | <dependency> |
| 341 | <groupId>org.codehaus.janino</groupId> |
| 342 | <artifactId>janino</artifactId> |
| 343 | <version>${janino.version}</version> |
| 344 | <scope>compile</scope> |
| 345 | </dependency> |
| 346 | |
| 347 | <dependency> |
| 348 | <groupId>org.codehaus.janino</groupId> |
| 349 | <artifactId>commons-compiler</artifactId> |
| 350 | <version>${janino.version}</version> |
| 351 | <scope>compile</scope> |
| 352 | </dependency> |
| 353 | |
| 354 | <dependency> |
| 355 | <groupId>com.google.guava</groupId> |
| 356 | <artifactId>guava</artifactId> |
| 357 | <version>${guava.version}</version> |
| 358 | <scope>compile</scope> |
| 359 | </dependency> |
| 360 | |
| 361 | <dependency> |
| 362 | <groupId>org.janusgraph</groupId> |
| 363 | <artifactId>janusgraph-core</artifactId> |
| 364 | <version>${janusgraph.version}</version> |
| 365 | <scope>compile</scope> |
| 366 | <exclusions> |
| 367 | <exclusion> |
| 368 | <groupId>org.json</groupId> |
| 369 | <artifactId>json</artifactId> |
| 370 | </exclusion> |
| 371 | <exclusion> |
| 372 | <artifactId>slf4j-log4j12</artifactId> |
| 373 | <groupId>org.slf4j</groupId> |
| 374 | </exclusion> |
| 375 | <exclusion> |
| 376 | <artifactId>commons-collections</artifactId> |
| 377 | <groupId>commons-collections</groupId> |
| 378 | </exclusion> |
| 379 | <exclusion> |
| 380 | <groupId>org.apache.thrift</groupId> |
| 381 | <artifactId>libthrift</artifactId> |
| 382 | </exclusion> |
| 383 | </exclusions> |
| 384 | </dependency> |
| 385 | |
| 386 | <dependency> |
| 387 | <groupId>org.janusgraph</groupId> |
| 388 | <artifactId>janusgraph-cql</artifactId> |
| 389 | <version>${janusgraph.version}</version> |
| 390 | <scope>compile</scope> |
| 391 | <exclusions> |
| 392 | <exclusion> |
| 393 | <groupId>org.slf4j</groupId> |
| 394 | <artifactId>slf4j-log4j12</artifactId> |
| 395 | </exclusion> |
| 396 | <exclusion> |
| 397 | <groupId>org.json</groupId> |
| 398 | <artifactId>json</artifactId> |
| 399 | </exclusion> |
| 400 | <exclusion> |
| 401 | <artifactId>commons-collections</artifactId> |
| 402 | <groupId>commons-collections</groupId> |
| 403 | </exclusion> |
| 404 | <exclusion> |
| 405 | <artifactId>groovy</artifactId> |
| 406 | <groupId>org.codehaus.groovy</groupId> |
| 407 | </exclusion> |
| 408 | <exclusion> |
| 409 | <groupId>io.netty</groupId> |
| 410 | <artifactId>netty-all</artifactId> |
| 411 | </exclusion> |
| 412 | </exclusions> |
| 413 | </dependency> |
| 414 | |
| 415 | <dependency> |
| 416 | <groupId>org.apache.commons</groupId> |
| 417 | <artifactId>commons-lang3</artifactId> |
| 418 | <version>${lang3.version}</version> |
| 419 | <scope>compile</scope> |
| 420 | </dependency> |
| 421 | |
| 422 | <dependency> |
| 423 | <groupId>com.googlecode.json-simple</groupId> |
| 424 | <artifactId>json-simple</artifactId> |
| 425 | <version>${json-simple.version}</version> |
| 426 | <scope>compile</scope> |
| 427 | |
| 428 | </dependency> |
| 429 | |
| 430 | <!-- functional java --> |
| 431 | <dependency> |
| 432 | <groupId>org.functionaljava</groupId> |
| 433 | <artifactId>functionaljava</artifactId> |
| 434 | <version>${functionaljava.version}</version> |
| 435 | <scope>compile</scope> |
| 436 | </dependency> |
| 437 | |
| 438 | <!-- Aspects --> |
| 439 | <dependency> |
| 440 | <groupId>com.jcabi</groupId> |
| 441 | <artifactId>jcabi-aspects</artifactId> |
| 442 | <version>${jcabi.version}</version> |
| 443 | <scope>compile</scope> |
| 444 | </dependency> |
| 445 | |
| 446 | <dependency> |
| 447 | <groupId>org.aspectj</groupId> |
| 448 | <artifactId>aspectjrt</artifactId> |
| 449 | <version>${aspectjrt.version}</version> |
| 450 | <scope>compile</scope> |
| 451 | </dependency> |
| 452 | |
| 453 | |
| 454 | <!-- CAMBRIA CLIENT for U-EB --> |
| 455 | <dependency> |
| 456 | <groupId>com.att.nsa</groupId> |
| 457 | <artifactId>cambriaClient</artifactId> |
| 458 | <version>1.2.1-oss</version> |
| 459 | <scope>compile</scope> |
| 460 | <exclusions> |
| 461 | <exclusion> |
| 462 | <groupId>com.att.nsa</groupId> |
| 463 | <artifactId>saClientLibrary</artifactId> |
| 464 | </exclusion> |
| 465 | </exclusions> |
| 466 | </dependency> |
| 467 | |
| 468 | <dependency> |
| 469 | <groupId>org.json</groupId> |
| 470 | <artifactId>json</artifactId> |
| 471 | <version>20131018</version> |
| 472 | <scope>compile</scope> |
| 473 | </dependency> |
| 474 | |
| 475 | <!-- CASSANDRA --> |
| 476 | <dependency> |
| 477 | <groupId>com.datastax.cassandra</groupId> |
| 478 | <artifactId>cassandra-driver-core</artifactId> |
| 479 | <version>${cassandra.driver.version}</version> |
| 480 | <scope>compile</scope> |
| 481 | </dependency> |
| 482 | <dependency> |
| 483 | <groupId>com.datastax.cassandra</groupId> |
| 484 | <artifactId>cassandra-driver-mapping</artifactId> |
| 485 | <version>${cassandra.driver.version}</version> |
| 486 | <scope>compile</scope> |
| 487 | </dependency> |
| 488 | <!-- CASSANDRA END --> |
| 489 | |
| 490 | <!-- Inserted for ECOMP Portal Integration --> |
| 491 | <dependency> |
sebdet | a9fffd2 | 2020-10-08 13:28:36 +0200 | [diff] [blame] | 492 | <groupId>org.owasp.esapi</groupId> |
| 493 | <artifactId>esapi</artifactId> |
| 494 | <version>2.2.0.0</version> |
| 495 | <exclusions> |
| 496 | <exclusion> |
| 497 | <groupId>xerces</groupId> |
| 498 | <artifactId>xercesImpl</artifactId> |
| 499 | </exclusion> |
| 500 | </exclusions> |
| 501 | </dependency> |
| 502 | <dependency> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 503 | <groupId>org.onap.portal.sdk</groupId> |
| 504 | <artifactId>epsdk-fw</artifactId> |
| 505 | <version>${ecomp.version}</version> |
| 506 | <scope>compile</scope> |
| 507 | <exclusions> |
| 508 | <exclusion> |
| 509 | <groupId>com.att.nsa</groupId> |
| 510 | <artifactId>cambriaClient</artifactId> |
| 511 | </exclusion> |
| 512 | <exclusion> |
| 513 | <artifactId>slf4j-log4j12</artifactId> |
| 514 | <groupId>org.slf4j</groupId> |
| 515 | </exclusion> |
| 516 | <exclusion> |
| 517 | <groupId>org.onap.aaf.authz</groupId> |
| 518 | <artifactId>aaf-cadi-aaf</artifactId> |
| 519 | </exclusion> |
| 520 | <exclusion> |
| 521 | <artifactId>aaf-cadi-core</artifactId> |
| 522 | <groupId>org.onap.aaf.authz</groupId> |
| 523 | </exclusion> |
| 524 | <exclusion> |
| 525 | <artifactId>commons-codec</artifactId> |
| 526 | <groupId>commons-codec</groupId> |
| 527 | </exclusion> |
sebdet | a9fffd2 | 2020-10-08 13:28:36 +0200 | [diff] [blame] | 528 | <exclusion> |
| 529 | <artifactId>log4j</artifactId> |
| 530 | <groupId>log4j</groupId> |
| 531 | </exclusion> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 532 | </exclusions> |
| 533 | </dependency> |
| 534 | |
| 535 | <!--Jetty Proxy--> |
| 536 | <dependency> |
| 537 | <groupId>org.eclipse.jetty</groupId> |
| 538 | <artifactId>jetty-proxy</artifactId> |
| 539 | <version>${jetty.version}</version> |
| 540 | <scope>compile</scope> |
| 541 | </dependency> |
| 542 | |
| 543 | <dependency> |
| 544 | <groupId>org.eclipse.jetty</groupId> |
| 545 | <artifactId>jetty-servlets</artifactId> |
| 546 | <version>${jetty.version}</version> |
| 547 | <scope>compile</scope> |
| 548 | </dependency> |
| 549 | <!-- System metrics --> |
| 550 | <dependency> |
| 551 | <groupId>org.fusesource</groupId> |
| 552 | <artifactId>sigar</artifactId> |
| 553 | <version>${sigar.version}</version> |
| 554 | <scope>compile</scope> |
sebdet | a9fffd2 | 2020-10-08 13:28:36 +0200 | [diff] [blame] | 555 | <exclusions> |
| 556 | <exclusion> |
| 557 | <groupId>log4j</groupId> |
| 558 | <artifactId>log4j</artifactId> |
| 559 | </exclusion> |
| 560 | </exclusions> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 561 | </dependency> |
| 562 | <dependency> |
| 563 | <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> |
| 564 | <artifactId>dmaapClient</artifactId> |
| 565 | <version>1.1.3</version> |
| 566 | <scope>compile</scope> |
| 567 | <exclusions> |
| 568 | <exclusion> |
| 569 | <groupId>com.att.aft</groupId> |
| 570 | <artifactId>dme2</artifactId> |
| 571 | </exclusion> |
| 572 | <exclusion> |
| 573 | <groupId>com.fasterxml.jackson.core</groupId> |
| 574 | <artifactId>jackson-core</artifactId> |
| 575 | </exclusion> |
sebdet | a9fffd2 | 2020-10-08 13:28:36 +0200 | [diff] [blame] | 576 | <exclusion> |
| 577 | <artifactId>log4j</artifactId> |
| 578 | <groupId>log4j</groupId> |
| 579 | </exclusion> |
| 580 | <exclusion> |
| 581 | <artifactId>apache-log4j-extras</artifactId> |
| 582 | <groupId>log4j</groupId> |
| 583 | </exclusion> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 584 | </exclusions> |
| 585 | </dependency> |
| 586 | <dependency> |
| 587 | <groupId>com.att.aft</groupId> |
| 588 | <artifactId>dme2</artifactId> |
| 589 | <version>3.1.200-oss</version> |
| 590 | </dependency> |
| 591 | |
| 592 | <dependency> |
| 593 | <groupId>javax.jms</groupId> |
| 594 | <artifactId>jms</artifactId> |
| 595 | <version>1.1</version> |
| 596 | <scope>provided</scope> |
| 597 | </dependency> |
| 598 | |
| 599 | <!-- CADI --> |
| 600 | <dependency> |
| 601 | <groupId>org.onap.aaf.authz</groupId> |
| 602 | <artifactId>aaf-cadi-aaf</artifactId> |
| 603 | <version>${cadi.version}</version> |
| 604 | <exclusions> |
| 605 | <exclusion> |
| 606 | <groupId>com.datastax.cassandra</groupId> |
| 607 | <artifactId>cassandra-driver-core</artifactId> |
| 608 | </exclusion> |
| 609 | <exclusion> |
| 610 | <groupId>org.slf4j</groupId> |
| 611 | <artifactId>slf4j-log4j12</artifactId> |
| 612 | </exclusion> |
sebdet | a9fffd2 | 2020-10-08 13:28:36 +0200 | [diff] [blame] | 613 | <exclusion> |
| 614 | <artifactId>log4j</artifactId> |
| 615 | <groupId>log4j</groupId> |
| 616 | </exclusion> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 617 | </exclusions> |
| 618 | </dependency> |
| 619 | |
| 620 | <!-- TEST --> |
| 621 | <dependency> |
| 622 | <groupId>org.assertj</groupId> |
| 623 | <artifactId>assertj-core</artifactId> |
| 624 | <scope>test</scope> |
| 625 | </dependency> |
| 626 | |
| 627 | <dependency> |
| 628 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 629 | <artifactId>jersey-test-framework-provider-bundle</artifactId> |
| 630 | <version>${jersey-bom.version}</version> |
| 631 | <type>pom</type> |
| 632 | <scope>test</scope> |
| 633 | </dependency> |
| 634 | |
| 635 | <dependency> |
| 636 | <groupId>org.glassfish.jersey.core</groupId> |
| 637 | <artifactId>jersey-client</artifactId> |
| 638 | <version>${jersey-bom.version}</version> |
| 639 | </dependency> |
| 640 | |
| 641 | <dependency> |
| 642 | <groupId>org.eclipse.jetty</groupId> |
| 643 | <artifactId>jetty-webapp</artifactId> |
| 644 | <version>${jetty.version}</version> |
| 645 | <scope>test</scope> |
| 646 | </dependency> |
| 647 | |
| 648 | <dependency> |
| 649 | <groupId>org.hamcrest</groupId> |
| 650 | <artifactId>hamcrest</artifactId> |
| 651 | <version>${hamcrest.version}</version> |
| 652 | <scope>test</scope> |
| 653 | </dependency> |
| 654 | |
| 655 | <dependency> |
| 656 | <groupId>org.hamcrest</groupId> |
| 657 | <artifactId>hamcrest-library</artifactId> |
| 658 | <version>${hamcrest.version}</version> |
| 659 | <scope>test</scope> |
| 660 | </dependency> |
| 661 | |
| 662 | <dependency> |
| 663 | <groupId>org.junit.jupiter</groupId> |
| 664 | <artifactId>junit-jupiter-api</artifactId> |
| 665 | <version>${junitJupiter.version}</version> |
| 666 | <scope>test</scope> |
| 667 | </dependency> |
| 668 | |
| 669 | <dependency> |
| 670 | <groupId>org.junit.jupiter</groupId> |
| 671 | <artifactId>junit-jupiter</artifactId> |
| 672 | <version>${junitJupiter.version}</version> |
| 673 | <scope>test</scope> |
| 674 | </dependency> |
| 675 | |
| 676 | <dependency> |
| 677 | <groupId>org.junit.platform</groupId> |
| 678 | <artifactId>junit-platform-commons</artifactId> |
| 679 | <version>${junit.platform.version}</version> |
| 680 | <scope>test</scope> |
| 681 | </dependency> |
| 682 | <dependency> |
| 683 | <groupId>org.junit.platform</groupId> |
| 684 | <artifactId>junit-platform-engine</artifactId> |
| 685 | <version>${junit.platform.version}</version> |
| 686 | <scope>test</scope> |
| 687 | </dependency> |
| 688 | <dependency> |
| 689 | <groupId>org.mockito</groupId> |
| 690 | <artifactId>mockito-junit-jupiter</artifactId> |
| 691 | <version>${mockitoJupiter.version}</version> |
| 692 | <scope>test</scope> |
| 693 | </dependency> |
| 694 | |
| 695 | <dependency> |
| 696 | <groupId>org.springframework</groupId> |
| 697 | <artifactId>spring-test</artifactId> |
| 698 | <version>${spring.version}</version> |
| 699 | <scope>test</scope> |
| 700 | </dependency> |
| 701 | |
| 702 | <dependency> |
| 703 | <groupId>org.springframework</groupId> |
| 704 | <artifactId>spring-tx</artifactId> |
| 705 | <version>${spring.version}</version> |
| 706 | </dependency> |
| 707 | |
| 708 | <dependency> |
| 709 | <groupId>io.cucumber</groupId> |
| 710 | <artifactId>cucumber-java</artifactId> |
| 711 | <version>${cucumber.version}</version> |
| 712 | <scope>test</scope> |
| 713 | </dependency> |
| 714 | |
| 715 | <dependency> |
| 716 | <groupId>io.cucumber</groupId> |
| 717 | <artifactId>cucumber-junit</artifactId> |
| 718 | <version>${cucumber.version}</version> |
| 719 | <scope>test</scope> |
| 720 | </dependency> |
| 721 | |
| 722 | <dependency> |
| 723 | <groupId>org.jmockit</groupId> |
| 724 | <artifactId>jmockit</artifactId> |
| 725 | <version>${jmockit.version}</version> |
| 726 | <scope>test</scope> |
| 727 | </dependency> |
| 728 | |
| 729 | <dependency> |
| 730 | <groupId>com.google.code.bean-matchers</groupId> |
| 731 | <artifactId>bean-matchers</artifactId> |
| 732 | <version>0.11</version> |
| 733 | <scope>test</scope> |
| 734 | </dependency> |
| 735 | |
| 736 | <dependency> |
| 737 | <groupId>org.codehaus.groovy</groupId> |
| 738 | <artifactId>groovy</artifactId> |
| 739 | <version>2.4.8</version> |
| 740 | </dependency> |
| 741 | |
| 742 | <dependency> |
| 743 | <groupId>io.netty</groupId> |
| 744 | <artifactId>netty-handler</artifactId> |
| 745 | </dependency> |
| 746 | <dependency> |
| 747 | <groupId>org.onap.sdc.common</groupId> |
| 748 | <artifactId>onap-tosca-datatype</artifactId> |
| 749 | <version>${project.version}</version> |
| 750 | <exclusions> |
| 751 | <exclusion> |
| 752 | <groupId>com.fasterxml.jackson.core</groupId> |
| 753 | <artifactId>jackson-core</artifactId> |
| 754 | </exclusion> |
| 755 | </exclusions> |
| 756 | </dependency> |
| 757 | <dependency> |
| 758 | <groupId>org.apache.commons</groupId> |
| 759 | <artifactId>commons-collections4</artifactId> |
| 760 | <version>${commons.collections.version}</version> |
| 761 | </dependency> |
| 762 | <dependency> |
| 763 | <groupId>org.onap.sdc.sdc-be-common</groupId> |
| 764 | <artifactId>security-util-lib</artifactId> |
| 765 | <version>${security.util.lib.version}</version> |
sebdet | a9fffd2 | 2020-10-08 13:28:36 +0200 | [diff] [blame] | 766 | <exclusions> |
| 767 | <exclusion> |
| 768 | <groupId>org.springframework.boot</groupId> |
| 769 | <artifactId>spring-boot-starter-logging</artifactId> |
| 770 | </exclusion> |
| 771 | </exclusions> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 772 | </dependency> |
| 773 | <dependency> |
| 774 | <groupId>org.openecomp.sdc.core</groupId> |
| 775 | <artifactId>openecomp-tosca-lib</artifactId> |
| 776 | <version>${project.version}</version> |
| 777 | <exclusions> |
| 778 | <exclusion> |
| 779 | <groupId>com.fasterxml.jackson.core</groupId> |
| 780 | <artifactId>jackson-core</artifactId> |
| 781 | </exclusion> |
| 782 | </exclusions> |
| 783 | </dependency> |
| 784 | </dependencies> |
| 785 | |
| 786 | <build> |
| 787 | <finalName>catalog-be</finalName> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 788 | <plugins> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 789 | <plugin> |
| 790 | <groupId>org.apache.maven.plugins</groupId> |
| 791 | <artifactId>maven-surefire-plugin</artifactId> |
Dmitry Puzikov | cdca700 | 2020-03-03 10:18:41 +0100 | [diff] [blame] | 792 | <configuration> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 793 | <forkCount>1</forkCount> |
Dmitry Puzikov | cdca700 | 2020-03-03 10:18:41 +0100 | [diff] [blame] | 794 | </configuration> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 795 | </plugin> |
| 796 | <plugin> |
| 797 | <!-- Download Swagger UI webjar. --> |
| 798 | <artifactId>maven-dependency-plugin</artifactId> |
| 799 | <version>${maven-dependency-plugin.version}</version> |
| 800 | <executions> |
| 801 | <execution> |
| 802 | <phase>prepare-package</phase> |
| 803 | <goals> |
| 804 | <goal>unpack</goal> |
| 805 | </goals> |
| 806 | <configuration> |
| 807 | <artifactItems> |
| 808 | <artifactItem> |
| 809 | <groupId>org.webjars</groupId> |
| 810 | <artifactId>swagger-ui</artifactId> |
| 811 | <version>${swagger-ui.version}</version> |
| 812 | </artifactItem> |
| 813 | </artifactItems> |
| 814 | <outputDirectory>${project.build.directory}/swagger-ui</outputDirectory> |
| 815 | </configuration> |
| 816 | </execution> |
| 817 | </executions> |
| 818 | </plugin> |
| 819 | <plugin> |
| 820 | <!-- Replace the OpenAPI specification example URL with the local one. --> |
| 821 | <groupId>com.google.code.maven-replacer-plugin</groupId> |
| 822 | <artifactId>replacer</artifactId> |
| 823 | <version>${replacer.plugin.version}</version> |
| 824 | <executions> |
| 825 | <execution> |
| 826 | <phase>prepare-package</phase> |
| 827 | <goals> |
| 828 | <goal>replace</goal> |
| 829 | </goals> |
| 830 | </execution> |
| 831 | </executions> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 832 | <configuration> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 833 | <file> |
| 834 | ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}/index.html |
| 835 | </file> |
| 836 | <replacements> |
| 837 | <replacement> |
| 838 | <token>https://petstore.swagger.io/v2/swagger.json</token> |
| 839 | <value>/sdc/openapi.json</value> |
| 840 | </replacement> |
| 841 | </replacements> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 842 | </configuration> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 843 | </plugin> |
| 844 | <plugin> |
| 845 | <groupId>org.apache.maven.plugins</groupId> |
| 846 | <artifactId>maven-war-plugin</artifactId> |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 847 | <configuration> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 848 | <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar, |
| 849 | WEB-INF/classes/elasticsearch.yml, |
| 850 | WEB-INF/classes/portal.properties |
| 851 | </packagingExcludes> |
| 852 | <archive> |
| 853 | <manifestEntries> |
| 854 | <SDC-Version>${project.version}</SDC-Version> |
| 855 | </manifestEntries> |
| 856 | <manifest> |
| 857 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 858 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| 859 | </manifest> |
| 860 | </archive> |
| 861 | <attachClasses>true</attachClasses> |
| 862 | <webResources combine.children="append"> |
| 863 | <resource> |
| 864 | <directory> |
| 865 | ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version} |
| 866 | </directory> |
| 867 | <includes> |
| 868 | <include>**/*.*</include> |
| 869 | </includes> |
| 870 | <targetPath>swagger-ui</targetPath> |
| 871 | </resource> |
| 872 | </webResources> |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 873 | </configuration> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 874 | </plugin> |
| 875 | <plugin> |
| 876 | <groupId>com.github.sylvainlaurent.maven</groupId> |
| 877 | <artifactId>yaml-json-validator-maven-plugin</artifactId> |
| 878 | <executions> |
| 879 | <execution> |
| 880 | <id>validate</id> |
| 881 | <phase>validate</phase> |
| 882 | <goals> |
| 883 | <goal>validate</goal> |
| 884 | </goals> |
| 885 | <configuration> |
| 886 | <validationSets> |
| 887 | <validationSet> |
| 888 | <includes> |
| 889 | <include>src/main/resources/**/*.y*ml</include> |
| 890 | <include>src/test/resources/**/*.y*ml</include> |
| 891 | </includes> |
| 892 | <excludes> |
| 893 | <exclude>src/test/resources/artifacts/pnfSoftwareInformation/**</exclude> |
| 894 | </excludes> |
| 895 | </validationSet> |
| 896 | <validationSet> |
| 897 | <includes> |
| 898 | <include>src/main/resources/**/*.json</include> |
| 899 | <include>src/test/resources/**/*.json</include> |
| 900 | </includes> |
| 901 | </validationSet> |
| 902 | </validationSets> |
| 903 | <skip>${skipYamlJsonValidator}</skip> |
| 904 | </configuration> |
| 905 | </execution> |
| 906 | </executions> |
| 907 | </plugin> |
| 908 | <plugin> |
| 909 | <groupId>com.jcabi</groupId> |
| 910 | <artifactId>jcabi-maven-plugin</artifactId> |
| 911 | <version>${jcabi.maven.plugin.version}</version> |
| 912 | <dependencies> |
| 913 | <dependency> |
| 914 | <groupId>org.aspectj</groupId> |
| 915 | <artifactId>aspectjtools</artifactId> |
| 916 | <version>1.9.2</version> |
| 917 | </dependency> |
| 918 | <dependency> |
| 919 | <groupId>org.aspectj</groupId> |
| 920 | <artifactId>aspectjweaver</artifactId> |
| 921 | <version>1.9.2</version> |
| 922 | </dependency> |
| 923 | </dependencies> |
| 924 | <executions> |
| 925 | <execution> |
| 926 | <goals> |
| 927 | <goal>ajc</goal> |
| 928 | </goals> |
| 929 | </execution> |
| 930 | </executions> |
| 931 | </plugin> |
| 932 | <plugin> |
| 933 | <groupId>org.apache.maven.plugins</groupId> |
| 934 | <artifactId>maven-assembly-plugin</artifactId> |
| 935 | <executions> |
| 936 | <execution> |
| 937 | <id>normatives</id> |
| 938 | <phase>prepare-package</phase> |
| 939 | <goals> |
| 940 | <goal>single</goal> |
| 941 | </goals> |
| 942 | <configuration> |
| 943 | <finalName>normatives</finalName> |
| 944 | <appendAssemblyId>false</appendAssemblyId> |
| 945 | <descriptors> |
| 946 | <descriptor>src/main/assembly/normatives.xml</descriptor> |
| 947 | </descriptors> |
| 948 | </configuration> |
| 949 | </execution> |
| 950 | </executions> |
| 951 | </plugin> |
| 952 | <plugin> |
| 953 | <groupId>org.apache.maven.plugins</groupId> |
| 954 | <artifactId>maven-clean-plugin</artifactId> |
| 955 | <executions> |
| 956 | <execution> |
| 957 | <id>clean.sdc.backend.folder</id> |
| 958 | <phase>clean</phase> |
| 959 | <goals> |
| 960 | <goal>clean</goal> |
| 961 | </goals> |
| 962 | <configuration> |
| 963 | <filesets> |
| 964 | <fileset> |
| 965 | <directory>sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default |
| 966 | </directory> |
| 967 | <followSymlinks>false</followSymlinks> |
| 968 | <includes> |
| 969 | <include>normatives.tar.gz</include> |
| 970 | </includes> |
| 971 | </fileset> |
| 972 | </filesets> |
| 973 | </configuration> |
| 974 | </execution> |
| 975 | </executions> |
| 976 | </plugin> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 977 | </plugins> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 978 | |
| 979 | <pluginManagement> |
| 980 | <plugins> |
| 981 | <!--This plugin's configuration is used to store Eclipse m2e settings |
| 982 | only. It has no influence on the Maven build itself. --> |
| 983 | <plugin> |
| 984 | <groupId>org.eclipse.m2e</groupId> |
| 985 | <artifactId>lifecycle-mapping</artifactId> |
| 986 | <version>1.0.0</version> |
| 987 | <configuration> |
| 988 | <lifecycleMappingMetadata> |
| 989 | <pluginExecutions> |
| 990 | <pluginExecution> |
| 991 | <pluginExecutionFilter> |
| 992 | <groupId>com.googlecode.maven-download-plugin</groupId> |
| 993 | <artifactId>download-maven-plugin</artifactId> |
| 994 | <versionRange>[1.2.1,)</versionRange> |
| 995 | <goals> |
| 996 | <goal>wget</goal> |
| 997 | </goals> |
| 998 | </pluginExecutionFilter> |
| 999 | </pluginExecution> |
| 1000 | |
| 1001 | <pluginExecution> |
| 1002 | <pluginExecutionFilter> |
| 1003 | <groupId>com.jcabi</groupId> |
| 1004 | <artifactId>jcabi-maven-plugin</artifactId> |
| 1005 | <versionRange>[0.0,)</versionRange> |
| 1006 | <goals> |
| 1007 | <goal>ajc</goal> |
| 1008 | </goals> |
| 1009 | </pluginExecutionFilter> |
| 1010 | <action> |
| 1011 | <execute/> |
| 1012 | </action> |
| 1013 | </pluginExecution> |
| 1014 | |
| 1015 | </pluginExecutions> |
| 1016 | </lifecycleMappingMetadata> |
| 1017 | </configuration> |
| 1018 | </plugin> |
| 1019 | </plugins> |
| 1020 | </pluginManagement> |
| 1021 | <!-- Swagger Plugins End --> |
| 1022 | </build> |
| 1023 | |
| 1024 | <profiles> |
| 1025 | <profile> |
| 1026 | <id>docker</id> |
| 1027 | <activation> |
| 1028 | <activeByDefault>false</activeByDefault> |
| 1029 | </activation> |
| 1030 | <build> |
| 1031 | <plugins> |
| 1032 | <plugin> |
| 1033 | <groupId>org.apache.maven.plugins</groupId> |
| 1034 | <artifactId>maven-resources-plugin</artifactId> |
| 1035 | <executions> |
| 1036 | <execution> |
| 1037 | <id>copy-normatives</id> |
| 1038 | <phase>package</phase> |
| 1039 | <goals> |
| 1040 | <goal>copy-resources</goal> |
| 1041 | </goals> |
| 1042 | <configuration> |
| 1043 | <outputDirectory> |
| 1044 | sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default |
| 1045 | </outputDirectory> |
| 1046 | <resources> |
| 1047 | <resource> |
| 1048 | <directory>${project.parent.basedir}/catalog-be/target</directory> |
| 1049 | <includes> |
| 1050 | <include>normatives.tar.gz</include> |
| 1051 | </includes> |
| 1052 | </resource> |
| 1053 | </resources> |
| 1054 | </configuration> |
| 1055 | </execution> |
| 1056 | <execution> |
| 1057 | <id>copy-sdc-be-py</id> |
| 1058 | <phase>verify</phase> |
| 1059 | <goals> |
| 1060 | <goal>copy-resources</goal> |
| 1061 | </goals> |
| 1062 | <configuration> |
| 1063 | <outputDirectory> |
| 1064 | sdc-backend-init/ |
| 1065 | </outputDirectory> |
| 1066 | <resources> |
| 1067 | <resource> |
| 1068 | <directory>${project.parent.basedir}/catalog-be/src/main/resources/ |
| 1069 | </directory> |
| 1070 | <includes> |
| 1071 | <include>scripts/sdcBePy/**</include> |
| 1072 | <inculde>scripts/setup.py</inculde> |
| 1073 | </includes> |
| 1074 | </resource> |
| 1075 | </resources> |
| 1076 | </configuration> |
| 1077 | </execution> |
| 1078 | </executions> |
| 1079 | </plugin> |
| 1080 | <plugin> |
| 1081 | <groupId>io.fabric8</groupId> |
| 1082 | <artifactId>docker-maven-plugin</artifactId> |
| 1083 | <configuration> |
| 1084 | <apiVersion>${docker.api.version}</apiVersion> |
| 1085 | <registry>nexus3.onap.org:10001</registry> |
| 1086 | <authConfig> |
| 1087 | <pull> |
| 1088 | <username>docker</username> |
| 1089 | <password>docker</password> |
| 1090 | </pull> |
| 1091 | </authConfig> |
| 1092 | <images> |
| 1093 | |
| 1094 | <!-- Build backend image --> |
| 1095 | <image> |
| 1096 | <name>onap/sdc-backend</name> |
| 1097 | <alias>sdc-backend</alias> |
| 1098 | <build> |
| 1099 | <cleanup>try</cleanup> |
| 1100 | <dockerFileDir>backend</dockerFileDir> |
| 1101 | <tags> |
sebdet | b988cb6 | 2020-09-25 15:48:10 +0200 | [diff] [blame] | 1102 | <tag>latest</tag> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 1103 | <tag> |
| 1104 | ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest |
| 1105 | </tag> |
sebdet | b988cb6 | 2020-09-25 15:48:10 +0200 | [diff] [blame] | 1106 | <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}</tag> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 1107 | </tags> |
| 1108 | <assembly> |
| 1109 | <descriptor>backend/backend-files.xml</descriptor> |
| 1110 | <name>onap-sdc-backend</name> |
| 1111 | </assembly> |
| 1112 | </build> |
| 1113 | </image> |
| 1114 | <!-- Build backend-init image --> |
| 1115 | <image> |
| 1116 | <name>onap/sdc-backend-init</name> |
| 1117 | <alias>sdc-backend-init</alias> |
| 1118 | <build> |
| 1119 | <cleanup>try</cleanup> |
| 1120 | <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir> |
| 1121 | <tags> |
sebdet | b988cb6 | 2020-09-25 15:48:10 +0200 | [diff] [blame] | 1122 | <tag>latest</tag> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 1123 | <tag> |
| 1124 | ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest |
| 1125 | </tag> |
sebdet | b988cb6 | 2020-09-25 15:48:10 +0200 | [diff] [blame] | 1126 | <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}</tag> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 1127 | </tags> |
| 1128 | </build> |
| 1129 | </image> |
| 1130 | </images> |
| 1131 | </configuration> |
| 1132 | <executions> |
| 1133 | <execution> |
| 1134 | <id>clean-images</id> |
| 1135 | <phase>pre-clean</phase> |
| 1136 | <goals> |
| 1137 | <goal>remove</goal> |
| 1138 | </goals> |
| 1139 | <configuration> |
| 1140 | <removeAll>true</removeAll> |
| 1141 | <image>onap/sdc-backend,onap/sdc-backend-init</image> |
| 1142 | </configuration> |
| 1143 | </execution> |
| 1144 | |
| 1145 | <execution> |
| 1146 | <id>generate-images</id> |
| 1147 | <phase>install</phase> |
| 1148 | <goals> |
| 1149 | <goal>build</goal> |
| 1150 | </goals> |
| 1151 | </execution> |
| 1152 | |
| 1153 | <execution> |
| 1154 | <id>push-images</id> |
| 1155 | <phase>deploy</phase> |
| 1156 | <goals> |
| 1157 | <goal>push</goal> |
| 1158 | </goals> |
| 1159 | <configuration> |
| 1160 | <image>onap/sdc-backend,onap/sdc-backend-init</image> |
| 1161 | </configuration> |
| 1162 | </execution> |
| 1163 | </executions> |
| 1164 | </plugin> |
| 1165 | </plugins> |
| 1166 | </build> |
| 1167 | </profile> |
| 1168 | </profiles> |
MichaelMorris | 580e536 | 2020-02-08 22:55:49 +0000 | [diff] [blame] | 1169 | </project> |