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