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