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