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> |
Joanna Jeremicz | 1affa57 | 2020-11-30 11:35:07 +0100 | [diff] [blame] | 12 | <version>1.8.1-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> |
vasraz | 7c25933 | 2021-01-20 21:20:28 +0000 | [diff] [blame] | 500 | <exclusion> |
| 501 | <groupId>log4j</groupId> |
| 502 | <artifactId>log4j</artifactId> |
| 503 | </exclusion> |
sebdet | a9fffd2 | 2020-10-08 13:28:36 +0200 | [diff] [blame] | 504 | </exclusions> |
| 505 | </dependency> |
| 506 | <dependency> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 507 | <groupId>org.onap.portal.sdk</groupId> |
| 508 | <artifactId>epsdk-fw</artifactId> |
| 509 | <version>${ecomp.version}</version> |
| 510 | <scope>compile</scope> |
| 511 | <exclusions> |
| 512 | <exclusion> |
| 513 | <groupId>com.att.nsa</groupId> |
| 514 | <artifactId>cambriaClient</artifactId> |
| 515 | </exclusion> |
| 516 | <exclusion> |
| 517 | <artifactId>slf4j-log4j12</artifactId> |
| 518 | <groupId>org.slf4j</groupId> |
| 519 | </exclusion> |
| 520 | <exclusion> |
| 521 | <groupId>org.onap.aaf.authz</groupId> |
| 522 | <artifactId>aaf-cadi-aaf</artifactId> |
| 523 | </exclusion> |
| 524 | <exclusion> |
| 525 | <artifactId>aaf-cadi-core</artifactId> |
| 526 | <groupId>org.onap.aaf.authz</groupId> |
| 527 | </exclusion> |
| 528 | <exclusion> |
| 529 | <artifactId>commons-codec</artifactId> |
| 530 | <groupId>commons-codec</groupId> |
| 531 | </exclusion> |
sebdet | a9fffd2 | 2020-10-08 13:28:36 +0200 | [diff] [blame] | 532 | <exclusion> |
| 533 | <artifactId>log4j</artifactId> |
| 534 | <groupId>log4j</groupId> |
| 535 | </exclusion> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 536 | </exclusions> |
| 537 | </dependency> |
| 538 | |
| 539 | <!--Jetty Proxy--> |
| 540 | <dependency> |
| 541 | <groupId>org.eclipse.jetty</groupId> |
| 542 | <artifactId>jetty-proxy</artifactId> |
| 543 | <version>${jetty.version}</version> |
| 544 | <scope>compile</scope> |
| 545 | </dependency> |
| 546 | |
| 547 | <dependency> |
| 548 | <groupId>org.eclipse.jetty</groupId> |
| 549 | <artifactId>jetty-servlets</artifactId> |
| 550 | <version>${jetty.version}</version> |
| 551 | <scope>compile</scope> |
| 552 | </dependency> |
| 553 | <!-- System metrics --> |
| 554 | <dependency> |
| 555 | <groupId>org.fusesource</groupId> |
| 556 | <artifactId>sigar</artifactId> |
| 557 | <version>${sigar.version}</version> |
| 558 | <scope>compile</scope> |
sebdet | a9fffd2 | 2020-10-08 13:28:36 +0200 | [diff] [blame] | 559 | <exclusions> |
| 560 | <exclusion> |
| 561 | <groupId>log4j</groupId> |
| 562 | <artifactId>log4j</artifactId> |
| 563 | </exclusion> |
| 564 | </exclusions> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 565 | </dependency> |
| 566 | <dependency> |
| 567 | <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> |
| 568 | <artifactId>dmaapClient</artifactId> |
| 569 | <version>1.1.3</version> |
| 570 | <scope>compile</scope> |
| 571 | <exclusions> |
| 572 | <exclusion> |
| 573 | <groupId>com.att.aft</groupId> |
| 574 | <artifactId>dme2</artifactId> |
| 575 | </exclusion> |
| 576 | <exclusion> |
| 577 | <groupId>com.fasterxml.jackson.core</groupId> |
| 578 | <artifactId>jackson-core</artifactId> |
| 579 | </exclusion> |
sebdet | a9fffd2 | 2020-10-08 13:28:36 +0200 | [diff] [blame] | 580 | <exclusion> |
| 581 | <artifactId>log4j</artifactId> |
| 582 | <groupId>log4j</groupId> |
| 583 | </exclusion> |
| 584 | <exclusion> |
| 585 | <artifactId>apache-log4j-extras</artifactId> |
| 586 | <groupId>log4j</groupId> |
| 587 | </exclusion> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 588 | </exclusions> |
| 589 | </dependency> |
| 590 | <dependency> |
| 591 | <groupId>com.att.aft</groupId> |
| 592 | <artifactId>dme2</artifactId> |
| 593 | <version>3.1.200-oss</version> |
| 594 | </dependency> |
| 595 | |
| 596 | <dependency> |
| 597 | <groupId>javax.jms</groupId> |
| 598 | <artifactId>jms</artifactId> |
| 599 | <version>1.1</version> |
| 600 | <scope>provided</scope> |
| 601 | </dependency> |
| 602 | |
| 603 | <!-- CADI --> |
| 604 | <dependency> |
| 605 | <groupId>org.onap.aaf.authz</groupId> |
| 606 | <artifactId>aaf-cadi-aaf</artifactId> |
| 607 | <version>${cadi.version}</version> |
| 608 | <exclusions> |
| 609 | <exclusion> |
| 610 | <groupId>com.datastax.cassandra</groupId> |
| 611 | <artifactId>cassandra-driver-core</artifactId> |
| 612 | </exclusion> |
| 613 | <exclusion> |
| 614 | <groupId>org.slf4j</groupId> |
| 615 | <artifactId>slf4j-log4j12</artifactId> |
| 616 | </exclusion> |
sebdet | a9fffd2 | 2020-10-08 13:28:36 +0200 | [diff] [blame] | 617 | <exclusion> |
| 618 | <artifactId>log4j</artifactId> |
| 619 | <groupId>log4j</groupId> |
| 620 | </exclusion> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 621 | </exclusions> |
| 622 | </dependency> |
| 623 | |
| 624 | <!-- TEST --> |
| 625 | <dependency> |
| 626 | <groupId>org.assertj</groupId> |
| 627 | <artifactId>assertj-core</artifactId> |
| 628 | <scope>test</scope> |
| 629 | </dependency> |
| 630 | |
| 631 | <dependency> |
| 632 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 633 | <artifactId>jersey-test-framework-provider-bundle</artifactId> |
| 634 | <version>${jersey-bom.version}</version> |
| 635 | <type>pom</type> |
| 636 | <scope>test</scope> |
| 637 | </dependency> |
| 638 | |
| 639 | <dependency> |
| 640 | <groupId>org.glassfish.jersey.core</groupId> |
| 641 | <artifactId>jersey-client</artifactId> |
| 642 | <version>${jersey-bom.version}</version> |
| 643 | </dependency> |
| 644 | |
| 645 | <dependency> |
| 646 | <groupId>org.eclipse.jetty</groupId> |
| 647 | <artifactId>jetty-webapp</artifactId> |
| 648 | <version>${jetty.version}</version> |
| 649 | <scope>test</scope> |
| 650 | </dependency> |
| 651 | |
| 652 | <dependency> |
| 653 | <groupId>org.hamcrest</groupId> |
| 654 | <artifactId>hamcrest</artifactId> |
| 655 | <version>${hamcrest.version}</version> |
| 656 | <scope>test</scope> |
| 657 | </dependency> |
| 658 | |
| 659 | <dependency> |
| 660 | <groupId>org.hamcrest</groupId> |
| 661 | <artifactId>hamcrest-library</artifactId> |
| 662 | <version>${hamcrest.version}</version> |
| 663 | <scope>test</scope> |
| 664 | </dependency> |
| 665 | |
| 666 | <dependency> |
| 667 | <groupId>org.junit.jupiter</groupId> |
| 668 | <artifactId>junit-jupiter-api</artifactId> |
| 669 | <version>${junitJupiter.version}</version> |
| 670 | <scope>test</scope> |
| 671 | </dependency> |
| 672 | |
| 673 | <dependency> |
| 674 | <groupId>org.junit.jupiter</groupId> |
| 675 | <artifactId>junit-jupiter</artifactId> |
| 676 | <version>${junitJupiter.version}</version> |
| 677 | <scope>test</scope> |
| 678 | </dependency> |
| 679 | |
| 680 | <dependency> |
| 681 | <groupId>org.junit.platform</groupId> |
| 682 | <artifactId>junit-platform-commons</artifactId> |
| 683 | <version>${junit.platform.version}</version> |
| 684 | <scope>test</scope> |
| 685 | </dependency> |
| 686 | <dependency> |
| 687 | <groupId>org.junit.platform</groupId> |
| 688 | <artifactId>junit-platform-engine</artifactId> |
| 689 | <version>${junit.platform.version}</version> |
| 690 | <scope>test</scope> |
| 691 | </dependency> |
| 692 | <dependency> |
| 693 | <groupId>org.mockito</groupId> |
| 694 | <artifactId>mockito-junit-jupiter</artifactId> |
| 695 | <version>${mockitoJupiter.version}</version> |
| 696 | <scope>test</scope> |
| 697 | </dependency> |
| 698 | |
| 699 | <dependency> |
| 700 | <groupId>org.springframework</groupId> |
| 701 | <artifactId>spring-test</artifactId> |
| 702 | <version>${spring.version}</version> |
| 703 | <scope>test</scope> |
| 704 | </dependency> |
| 705 | |
| 706 | <dependency> |
| 707 | <groupId>org.springframework</groupId> |
| 708 | <artifactId>spring-tx</artifactId> |
| 709 | <version>${spring.version}</version> |
| 710 | </dependency> |
| 711 | |
| 712 | <dependency> |
| 713 | <groupId>io.cucumber</groupId> |
| 714 | <artifactId>cucumber-java</artifactId> |
| 715 | <version>${cucumber.version}</version> |
| 716 | <scope>test</scope> |
| 717 | </dependency> |
| 718 | |
| 719 | <dependency> |
| 720 | <groupId>io.cucumber</groupId> |
| 721 | <artifactId>cucumber-junit</artifactId> |
| 722 | <version>${cucumber.version}</version> |
| 723 | <scope>test</scope> |
| 724 | </dependency> |
| 725 | |
| 726 | <dependency> |
| 727 | <groupId>org.jmockit</groupId> |
| 728 | <artifactId>jmockit</artifactId> |
| 729 | <version>${jmockit.version}</version> |
| 730 | <scope>test</scope> |
| 731 | </dependency> |
| 732 | |
| 733 | <dependency> |
| 734 | <groupId>com.google.code.bean-matchers</groupId> |
| 735 | <artifactId>bean-matchers</artifactId> |
| 736 | <version>0.11</version> |
| 737 | <scope>test</scope> |
| 738 | </dependency> |
| 739 | |
| 740 | <dependency> |
| 741 | <groupId>org.codehaus.groovy</groupId> |
| 742 | <artifactId>groovy</artifactId> |
| 743 | <version>2.4.8</version> |
| 744 | </dependency> |
| 745 | |
| 746 | <dependency> |
| 747 | <groupId>io.netty</groupId> |
| 748 | <artifactId>netty-handler</artifactId> |
| 749 | </dependency> |
| 750 | <dependency> |
| 751 | <groupId>org.onap.sdc.common</groupId> |
| 752 | <artifactId>onap-tosca-datatype</artifactId> |
| 753 | <version>${project.version}</version> |
| 754 | <exclusions> |
| 755 | <exclusion> |
| 756 | <groupId>com.fasterxml.jackson.core</groupId> |
| 757 | <artifactId>jackson-core</artifactId> |
| 758 | </exclusion> |
| 759 | </exclusions> |
| 760 | </dependency> |
| 761 | <dependency> |
| 762 | <groupId>org.apache.commons</groupId> |
| 763 | <artifactId>commons-collections4</artifactId> |
| 764 | <version>${commons.collections.version}</version> |
| 765 | </dependency> |
| 766 | <dependency> |
| 767 | <groupId>org.onap.sdc.sdc-be-common</groupId> |
| 768 | <artifactId>security-util-lib</artifactId> |
| 769 | <version>${security.util.lib.version}</version> |
sebdet | a9fffd2 | 2020-10-08 13:28:36 +0200 | [diff] [blame] | 770 | <exclusions> |
| 771 | <exclusion> |
| 772 | <groupId>org.springframework.boot</groupId> |
| 773 | <artifactId>spring-boot-starter-logging</artifactId> |
| 774 | </exclusion> |
| 775 | </exclusions> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 776 | </dependency> |
| 777 | <dependency> |
| 778 | <groupId>org.openecomp.sdc.core</groupId> |
| 779 | <artifactId>openecomp-tosca-lib</artifactId> |
| 780 | <version>${project.version}</version> |
| 781 | <exclusions> |
| 782 | <exclusion> |
| 783 | <groupId>com.fasterxml.jackson.core</groupId> |
| 784 | <artifactId>jackson-core</artifactId> |
| 785 | </exclusion> |
| 786 | </exclusions> |
| 787 | </dependency> |
Adam Wudzinski | 5700275 | 2020-12-02 18:07:22 +0100 | [diff] [blame] | 788 | <dependency> |
| 789 | <groupId>org.onap.vnfsdk.validation</groupId> |
| 790 | <artifactId>validation-pmdictionary</artifactId> |
| 791 | <version>${onap.vnfsdk.validation.pmdictionary.version}</version> |
| 792 | <exclusions> |
| 793 | <exclusion> |
| 794 | <groupId>org.apache.logging.log4j</groupId> |
| 795 | <artifactId>log4j-slf4j-impl</artifactId> |
| 796 | </exclusion> |
| 797 | </exclusions> |
| 798 | </dependency> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 799 | </dependencies> |
| 800 | |
| 801 | <build> |
| 802 | <finalName>catalog-be</finalName> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 803 | <plugins> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 804 | <plugin> |
| 805 | <groupId>org.apache.maven.plugins</groupId> |
| 806 | <artifactId>maven-surefire-plugin</artifactId> |
Dmitry Puzikov | cdca700 | 2020-03-03 10:18:41 +0100 | [diff] [blame] | 807 | <configuration> |
ChrisC | 70533b5 | 2021-02-12 16:21:40 +0100 | [diff] [blame^] | 808 | <forkCount>1C</forkCount> |
| 809 | <reuseForks>false</reuseForks> |
Dmitry Puzikov | cdca700 | 2020-03-03 10:18:41 +0100 | [diff] [blame] | 810 | </configuration> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 811 | </plugin> |
| 812 | <plugin> |
| 813 | <!-- Download Swagger UI webjar. --> |
| 814 | <artifactId>maven-dependency-plugin</artifactId> |
| 815 | <version>${maven-dependency-plugin.version}</version> |
| 816 | <executions> |
| 817 | <execution> |
| 818 | <phase>prepare-package</phase> |
| 819 | <goals> |
| 820 | <goal>unpack</goal> |
| 821 | </goals> |
| 822 | <configuration> |
| 823 | <artifactItems> |
| 824 | <artifactItem> |
| 825 | <groupId>org.webjars</groupId> |
| 826 | <artifactId>swagger-ui</artifactId> |
| 827 | <version>${swagger-ui.version}</version> |
| 828 | </artifactItem> |
| 829 | </artifactItems> |
| 830 | <outputDirectory>${project.build.directory}/swagger-ui</outputDirectory> |
| 831 | </configuration> |
| 832 | </execution> |
| 833 | </executions> |
| 834 | </plugin> |
| 835 | <plugin> |
| 836 | <!-- Replace the OpenAPI specification example URL with the local one. --> |
| 837 | <groupId>com.google.code.maven-replacer-plugin</groupId> |
| 838 | <artifactId>replacer</artifactId> |
| 839 | <version>${replacer.plugin.version}</version> |
| 840 | <executions> |
| 841 | <execution> |
| 842 | <phase>prepare-package</phase> |
| 843 | <goals> |
| 844 | <goal>replace</goal> |
| 845 | </goals> |
| 846 | </execution> |
| 847 | </executions> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 848 | <configuration> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 849 | <file> |
| 850 | ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}/index.html |
| 851 | </file> |
| 852 | <replacements> |
| 853 | <replacement> |
| 854 | <token>https://petstore.swagger.io/v2/swagger.json</token> |
| 855 | <value>/sdc/openapi.json</value> |
| 856 | </replacement> |
| 857 | </replacements> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 858 | </configuration> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 859 | </plugin> |
| 860 | <plugin> |
| 861 | <groupId>org.apache.maven.plugins</groupId> |
| 862 | <artifactId>maven-war-plugin</artifactId> |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 863 | <configuration> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 864 | <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar, |
| 865 | WEB-INF/classes/elasticsearch.yml, |
| 866 | WEB-INF/classes/portal.properties |
| 867 | </packagingExcludes> |
| 868 | <archive> |
| 869 | <manifestEntries> |
| 870 | <SDC-Version>${project.version}</SDC-Version> |
| 871 | </manifestEntries> |
| 872 | <manifest> |
| 873 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 874 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| 875 | </manifest> |
| 876 | </archive> |
| 877 | <attachClasses>true</attachClasses> |
| 878 | <webResources combine.children="append"> |
| 879 | <resource> |
| 880 | <directory> |
| 881 | ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version} |
| 882 | </directory> |
| 883 | <includes> |
| 884 | <include>**/*.*</include> |
| 885 | </includes> |
| 886 | <targetPath>swagger-ui</targetPath> |
| 887 | </resource> |
| 888 | </webResources> |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 889 | </configuration> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 890 | </plugin> |
| 891 | <plugin> |
| 892 | <groupId>com.github.sylvainlaurent.maven</groupId> |
| 893 | <artifactId>yaml-json-validator-maven-plugin</artifactId> |
| 894 | <executions> |
| 895 | <execution> |
| 896 | <id>validate</id> |
| 897 | <phase>validate</phase> |
| 898 | <goals> |
| 899 | <goal>validate</goal> |
| 900 | </goals> |
| 901 | <configuration> |
| 902 | <validationSets> |
| 903 | <validationSet> |
| 904 | <includes> |
| 905 | <include>src/main/resources/**/*.y*ml</include> |
| 906 | <include>src/test/resources/**/*.y*ml</include> |
| 907 | </includes> |
| 908 | <excludes> |
| 909 | <exclude>src/test/resources/artifacts/pnfSoftwareInformation/**</exclude> |
| 910 | </excludes> |
| 911 | </validationSet> |
| 912 | <validationSet> |
| 913 | <includes> |
| 914 | <include>src/main/resources/**/*.json</include> |
| 915 | <include>src/test/resources/**/*.json</include> |
| 916 | </includes> |
| 917 | </validationSet> |
| 918 | </validationSets> |
| 919 | <skip>${skipYamlJsonValidator}</skip> |
| 920 | </configuration> |
| 921 | </execution> |
| 922 | </executions> |
| 923 | </plugin> |
| 924 | <plugin> |
| 925 | <groupId>com.jcabi</groupId> |
| 926 | <artifactId>jcabi-maven-plugin</artifactId> |
| 927 | <version>${jcabi.maven.plugin.version}</version> |
| 928 | <dependencies> |
| 929 | <dependency> |
| 930 | <groupId>org.aspectj</groupId> |
| 931 | <artifactId>aspectjtools</artifactId> |
| 932 | <version>1.9.2</version> |
| 933 | </dependency> |
| 934 | <dependency> |
| 935 | <groupId>org.aspectj</groupId> |
| 936 | <artifactId>aspectjweaver</artifactId> |
| 937 | <version>1.9.2</version> |
| 938 | </dependency> |
| 939 | </dependencies> |
| 940 | <executions> |
| 941 | <execution> |
| 942 | <goals> |
| 943 | <goal>ajc</goal> |
| 944 | </goals> |
| 945 | </execution> |
| 946 | </executions> |
| 947 | </plugin> |
| 948 | <plugin> |
| 949 | <groupId>org.apache.maven.plugins</groupId> |
| 950 | <artifactId>maven-assembly-plugin</artifactId> |
| 951 | <executions> |
| 952 | <execution> |
| 953 | <id>normatives</id> |
| 954 | <phase>prepare-package</phase> |
| 955 | <goals> |
| 956 | <goal>single</goal> |
| 957 | </goals> |
| 958 | <configuration> |
| 959 | <finalName>normatives</finalName> |
| 960 | <appendAssemblyId>false</appendAssemblyId> |
| 961 | <descriptors> |
| 962 | <descriptor>src/main/assembly/normatives.xml</descriptor> |
| 963 | </descriptors> |
| 964 | </configuration> |
| 965 | </execution> |
| 966 | </executions> |
| 967 | </plugin> |
| 968 | <plugin> |
| 969 | <groupId>org.apache.maven.plugins</groupId> |
| 970 | <artifactId>maven-clean-plugin</artifactId> |
| 971 | <executions> |
| 972 | <execution> |
| 973 | <id>clean.sdc.backend.folder</id> |
| 974 | <phase>clean</phase> |
| 975 | <goals> |
| 976 | <goal>clean</goal> |
| 977 | </goals> |
| 978 | <configuration> |
| 979 | <filesets> |
| 980 | <fileset> |
| 981 | <directory>sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default |
| 982 | </directory> |
| 983 | <followSymlinks>false</followSymlinks> |
| 984 | <includes> |
| 985 | <include>normatives.tar.gz</include> |
| 986 | </includes> |
| 987 | </fileset> |
| 988 | </filesets> |
| 989 | </configuration> |
| 990 | </execution> |
| 991 | </executions> |
| 992 | </plugin> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 993 | </plugins> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 994 | |
| 995 | <pluginManagement> |
| 996 | <plugins> |
| 997 | <!--This plugin's configuration is used to store Eclipse m2e settings |
| 998 | only. It has no influence on the Maven build itself. --> |
| 999 | <plugin> |
| 1000 | <groupId>org.eclipse.m2e</groupId> |
| 1001 | <artifactId>lifecycle-mapping</artifactId> |
| 1002 | <version>1.0.0</version> |
| 1003 | <configuration> |
| 1004 | <lifecycleMappingMetadata> |
| 1005 | <pluginExecutions> |
| 1006 | <pluginExecution> |
| 1007 | <pluginExecutionFilter> |
| 1008 | <groupId>com.googlecode.maven-download-plugin</groupId> |
| 1009 | <artifactId>download-maven-plugin</artifactId> |
| 1010 | <versionRange>[1.2.1,)</versionRange> |
| 1011 | <goals> |
| 1012 | <goal>wget</goal> |
| 1013 | </goals> |
| 1014 | </pluginExecutionFilter> |
| 1015 | </pluginExecution> |
| 1016 | |
| 1017 | <pluginExecution> |
| 1018 | <pluginExecutionFilter> |
| 1019 | <groupId>com.jcabi</groupId> |
| 1020 | <artifactId>jcabi-maven-plugin</artifactId> |
| 1021 | <versionRange>[0.0,)</versionRange> |
| 1022 | <goals> |
| 1023 | <goal>ajc</goal> |
| 1024 | </goals> |
| 1025 | </pluginExecutionFilter> |
| 1026 | <action> |
| 1027 | <execute/> |
| 1028 | </action> |
| 1029 | </pluginExecution> |
| 1030 | |
| 1031 | </pluginExecutions> |
| 1032 | </lifecycleMappingMetadata> |
| 1033 | </configuration> |
| 1034 | </plugin> |
| 1035 | </plugins> |
| 1036 | </pluginManagement> |
| 1037 | <!-- Swagger Plugins End --> |
| 1038 | </build> |
| 1039 | |
| 1040 | <profiles> |
| 1041 | <profile> |
| 1042 | <id>docker</id> |
| 1043 | <activation> |
| 1044 | <activeByDefault>false</activeByDefault> |
| 1045 | </activation> |
| 1046 | <build> |
| 1047 | <plugins> |
| 1048 | <plugin> |
| 1049 | <groupId>org.apache.maven.plugins</groupId> |
| 1050 | <artifactId>maven-resources-plugin</artifactId> |
| 1051 | <executions> |
| 1052 | <execution> |
| 1053 | <id>copy-normatives</id> |
| 1054 | <phase>package</phase> |
| 1055 | <goals> |
| 1056 | <goal>copy-resources</goal> |
| 1057 | </goals> |
| 1058 | <configuration> |
| 1059 | <outputDirectory> |
| 1060 | sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default |
| 1061 | </outputDirectory> |
| 1062 | <resources> |
| 1063 | <resource> |
| 1064 | <directory>${project.parent.basedir}/catalog-be/target</directory> |
| 1065 | <includes> |
| 1066 | <include>normatives.tar.gz</include> |
| 1067 | </includes> |
| 1068 | </resource> |
| 1069 | </resources> |
| 1070 | </configuration> |
| 1071 | </execution> |
| 1072 | <execution> |
| 1073 | <id>copy-sdc-be-py</id> |
| 1074 | <phase>verify</phase> |
| 1075 | <goals> |
| 1076 | <goal>copy-resources</goal> |
| 1077 | </goals> |
| 1078 | <configuration> |
| 1079 | <outputDirectory> |
| 1080 | sdc-backend-init/ |
| 1081 | </outputDirectory> |
| 1082 | <resources> |
| 1083 | <resource> |
| 1084 | <directory>${project.parent.basedir}/catalog-be/src/main/resources/ |
| 1085 | </directory> |
| 1086 | <includes> |
| 1087 | <include>scripts/sdcBePy/**</include> |
| 1088 | <inculde>scripts/setup.py</inculde> |
| 1089 | </includes> |
| 1090 | </resource> |
| 1091 | </resources> |
| 1092 | </configuration> |
| 1093 | </execution> |
| 1094 | </executions> |
| 1095 | </plugin> |
| 1096 | <plugin> |
| 1097 | <groupId>io.fabric8</groupId> |
| 1098 | <artifactId>docker-maven-plugin</artifactId> |
| 1099 | <configuration> |
| 1100 | <apiVersion>${docker.api.version}</apiVersion> |
| 1101 | <registry>nexus3.onap.org:10001</registry> |
| 1102 | <authConfig> |
| 1103 | <pull> |
| 1104 | <username>docker</username> |
| 1105 | <password>docker</password> |
| 1106 | </pull> |
| 1107 | </authConfig> |
| 1108 | <images> |
| 1109 | |
| 1110 | <!-- Build backend image --> |
| 1111 | <image> |
| 1112 | <name>onap/sdc-backend</name> |
| 1113 | <alias>sdc-backend</alias> |
| 1114 | <build> |
| 1115 | <cleanup>try</cleanup> |
| 1116 | <dockerFileDir>backend</dockerFileDir> |
| 1117 | <tags> |
sebdet | b988cb6 | 2020-09-25 15:48:10 +0200 | [diff] [blame] | 1118 | <tag>latest</tag> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 1119 | <tag> |
| 1120 | ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest |
| 1121 | </tag> |
sebdet | b988cb6 | 2020-09-25 15:48:10 +0200 | [diff] [blame] | 1122 | <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}</tag> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 1123 | </tags> |
| 1124 | <assembly> |
| 1125 | <descriptor>backend/backend-files.xml</descriptor> |
| 1126 | <name>onap-sdc-backend</name> |
| 1127 | </assembly> |
| 1128 | </build> |
| 1129 | </image> |
| 1130 | <!-- Build backend-init image --> |
| 1131 | <image> |
| 1132 | <name>onap/sdc-backend-init</name> |
| 1133 | <alias>sdc-backend-init</alias> |
| 1134 | <build> |
| 1135 | <cleanup>try</cleanup> |
| 1136 | <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir> |
| 1137 | <tags> |
sebdet | b988cb6 | 2020-09-25 15:48:10 +0200 | [diff] [blame] | 1138 | <tag>latest</tag> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 1139 | <tag> |
| 1140 | ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest |
| 1141 | </tag> |
sebdet | b988cb6 | 2020-09-25 15:48:10 +0200 | [diff] [blame] | 1142 | <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}</tag> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 1143 | </tags> |
| 1144 | </build> |
| 1145 | </image> |
| 1146 | </images> |
| 1147 | </configuration> |
| 1148 | <executions> |
| 1149 | <execution> |
| 1150 | <id>clean-images</id> |
| 1151 | <phase>pre-clean</phase> |
| 1152 | <goals> |
| 1153 | <goal>remove</goal> |
| 1154 | </goals> |
| 1155 | <configuration> |
| 1156 | <removeAll>true</removeAll> |
| 1157 | <image>onap/sdc-backend,onap/sdc-backend-init</image> |
| 1158 | </configuration> |
| 1159 | </execution> |
| 1160 | |
| 1161 | <execution> |
| 1162 | <id>generate-images</id> |
| 1163 | <phase>install</phase> |
| 1164 | <goals> |
| 1165 | <goal>build</goal> |
| 1166 | </goals> |
| 1167 | </execution> |
| 1168 | |
| 1169 | <execution> |
| 1170 | <id>push-images</id> |
| 1171 | <phase>deploy</phase> |
| 1172 | <goals> |
| 1173 | <goal>push</goal> |
| 1174 | </goals> |
| 1175 | <configuration> |
| 1176 | <image>onap/sdc-backend,onap/sdc-backend-init</image> |
| 1177 | </configuration> |
| 1178 | </execution> |
| 1179 | </executions> |
| 1180 | </plugin> |
| 1181 | </plugins> |
| 1182 | </build> |
| 1183 | </profile> |
| 1184 | </profiles> |
MichaelMorris | 580e536 | 2020-02-08 22:55:49 +0000 | [diff] [blame] | 1185 | </project> |