Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | |
| 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> |
| 12 | <version>1.0.0-SNAPSHOT</version> |
| 13 | </parent> |
| 14 | |
| 15 | |
| 16 | <properties> |
| 17 | <swagger-ui-version>2.1.0-M2</swagger-ui-version> |
| 18 | </properties> |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | <dependencyManagement> |
| 24 | <dependencies> |
| 25 | |
| 26 | <!-- JSON and YAML Parsing --> |
| 27 | <dependency> |
| 28 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 29 | <artifactId>jackson-dataformat-yaml</artifactId> |
| 30 | <version>${jackson.version}</version> |
| 31 | </dependency> |
| 32 | |
| 33 | <dependency> |
| 34 | <groupId>com.fasterxml.jackson.core</groupId> |
| 35 | <artifactId>jackson-databind</artifactId> |
| 36 | <version>${jackson.version}</version> |
| 37 | </dependency> |
| 38 | |
| 39 | <dependency> |
| 40 | <groupId>com.fasterxml.jackson.core</groupId> |
| 41 | <artifactId>jackson-core</artifactId> |
| 42 | <version>${jackson.version}</version> |
| 43 | </dependency> |
| 44 | |
| 45 | <dependency> |
| 46 | <groupId>com.fasterxml.jackson.core</groupId> |
| 47 | <artifactId>jackson-annotations</artifactId> |
| 48 | <version>${jackson.annotations.version}</version> |
| 49 | </dependency> |
| 50 | |
| 51 | <dependency> |
| 52 | <groupId>com.sun.jersey.contribs</groupId> |
| 53 | <artifactId>jersey-multipart</artifactId> |
| 54 | <version>2.14</version> |
| 55 | </dependency> |
| 56 | </dependencies> |
| 57 | </dependencyManagement> |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | <dependencies> |
| 63 | <dependency> |
| 64 | <groupId>org.openecomp.sdc</groupId> |
| 65 | <artifactId>security-utils</artifactId> |
| 66 | <version>${security-utils.version}</version> |
| 67 | <scope>compile</scope> |
| 68 | </dependency> |
| 69 | |
| 70 | <dependency> |
| 71 | <groupId>com.tinkerpop.blueprints</groupId> |
| 72 | <artifactId>blueprints-sail-graph</artifactId> |
| 73 | <version>2.6.0</version> |
| 74 | <optional>true</optional> |
| 75 | <exclusions> |
| 76 | <exclusion> |
| 77 | <groupId>org.slf4j</groupId> |
| 78 | <artifactId>slf4j-log4j12</artifactId> |
| 79 | </exclusion> |
| 80 | </exclusions> |
| 81 | </dependency> |
| 82 | |
| 83 | <dependency> |
| 84 | <groupId>com.tinkerpop.blueprints</groupId> |
| 85 | <artifactId>blueprints-graph-sail</artifactId> |
| 86 | <version>2.5.0</version> |
| 87 | <optional>true</optional> |
| 88 | </dependency> |
| 89 | |
| 90 | <!-- Swagger Dependencies Start --> |
| 91 | <dependency> |
| 92 | <groupId>com.wordnik</groupId> |
| 93 | <artifactId>swagger-jersey2-jaxrs</artifactId> |
| 94 | <scope>compile</scope> |
| 95 | <version>1.5.1-M2</version> |
| 96 | </dependency> |
| 97 | |
| 98 | <dependency> |
| 99 | <groupId>org.glassfish.jersey.containers</groupId> |
| 100 | <artifactId>jersey-container-servlet-core</artifactId> |
| 101 | </dependency> |
| 102 | |
| 103 | <!-- Swagger Dependencies End --> |
| 104 | <dependency> |
| 105 | <groupId>org.openecomp.sdc</groupId> |
| 106 | <artifactId>common-app-api</artifactId> |
| 107 | <version>${common-app-api.version}</version> |
| 108 | <scope>compile</scope> |
| 109 | </dependency> |
| 110 | |
| 111 | <dependency> |
| 112 | <groupId>org.openecomp.sdc.be</groupId> |
| 113 | <artifactId>common-be</artifactId> |
| 114 | <version>${common-be.version}</version> |
| 115 | <scope>compile</scope> |
| 116 | </dependency> |
| 117 | <dependency> |
| 118 | <groupId>org.openecomp.sdc.be</groupId> |
| 119 | <artifactId>catalog-dao</artifactId> |
| 120 | <version>${catalog-dao.version}</version> |
| 121 | <scope>compile</scope> |
| 122 | </dependency> |
| 123 | |
| 124 | <dependency> |
| 125 | <groupId>org.openecomp.sdc.be</groupId> |
| 126 | <artifactId>catalog-model</artifactId> |
| 127 | <version>${catalog-model.version}</version> |
| 128 | <scope>compile</scope> |
| 129 | </dependency> |
| 130 | |
| 131 | <!-- slf4j + logback --> |
| 132 | <dependency> |
| 133 | <groupId>org.slf4j</groupId> |
| 134 | <artifactId>slf4j-api</artifactId> |
| 135 | <scope>compile</scope> |
| 136 | </dependency> |
| 137 | |
| 138 | <dependency> |
| 139 | <groupId>ch.qos.logback</groupId> |
| 140 | <artifactId>logback-classic</artifactId> |
| 141 | <scope>compile</scope> |
| 142 | </dependency> |
| 143 | |
| 144 | <dependency> |
| 145 | <groupId>ch.qos.logback</groupId> |
| 146 | <artifactId>logback-core</artifactId> |
| 147 | <scope>compile</scope> |
| 148 | </dependency> |
| 149 | |
| 150 | <!-- Snake Yaml --> |
| 151 | <dependency> |
| 152 | <groupId>org.yaml</groupId> |
| 153 | <artifactId>snakeyaml</artifactId> |
| 154 | <scope>compile</scope> |
| 155 | </dependency> |
| 156 | |
| 157 | <!-- File changes listener --> |
| 158 | |
| 159 | <dependency> |
| 160 | <groupId>org.apache.commons</groupId> |
| 161 | <artifactId>commons-jci-core</artifactId> |
| 162 | <scope>compile</scope> |
| 163 | </dependency> |
| 164 | |
| 165 | <!-- Gson --> |
| 166 | |
| 167 | <dependency> |
| 168 | <groupId>com.google.code.gson</groupId> |
| 169 | <artifactId>gson</artifactId> |
| 170 | <scope>compile</scope> |
| 171 | </dependency> |
| 172 | |
| 173 | <!-- Json --> |
| 174 | |
| 175 | |
| 176 | |
| 177 | |
| 178 | <!-- jersey --> |
| 179 | <dependency> |
| 180 | <groupId>org.glassfish.jersey.media</groupId> |
| 181 | <artifactId>jersey-media-json-jackson</artifactId> |
| 182 | <scope>compile</scope> |
| 183 | </dependency> |
| 184 | |
| 185 | |
| 186 | <!-- http client --> |
| 187 | <dependency> |
| 188 | <groupId>org.apache.httpcomponents</groupId> |
| 189 | <artifactId>httpclient</artifactId> |
| 190 | <scope>compile</scope> |
| 191 | </dependency> |
| 192 | |
| 193 | <dependency> |
| 194 | <groupId>org.apache.httpcomponents</groupId> |
| 195 | <artifactId>httpcore</artifactId> |
| 196 | <scope>compile</scope> |
| 197 | </dependency> |
| 198 | |
| 199 | <dependency> |
| 200 | <groupId>commons-logging</groupId> |
| 201 | <artifactId>commons-logging</artifactId> |
| 202 | <scope>compile</scope> |
| 203 | </dependency> |
| 204 | |
| 205 | <dependency> |
| 206 | <groupId>commons-codec</groupId> |
| 207 | <artifactId>commons-codec</artifactId> |
| 208 | <scope>compile</scope> |
| 209 | </dependency> |
| 210 | <!-- http client END --> |
| 211 | |
| 212 | <dependency> |
| 213 | <groupId>javax.servlet</groupId> |
| 214 | <artifactId>servlet-api</artifactId> |
| 215 | <scope>provided</scope> |
| 216 | </dependency> |
| 217 | |
| 218 | |
| 219 | <dependency> |
| 220 | <groupId>org.eclipse.jgit</groupId> |
| 221 | <artifactId>org.eclipse.jgit</artifactId> |
| 222 | <version>3.4.1.201406201815-r</version> |
| 223 | </dependency> |
| 224 | |
| 225 | |
| 226 | <!-- spring - used by A4C --> |
| 227 | |
| 228 | <dependency> |
| 229 | <groupId>org.springframework</groupId> |
| 230 | <artifactId>spring-core</artifactId> |
| 231 | <scope>compile</scope> |
| 232 | </dependency> |
| 233 | |
| 234 | <dependency> |
| 235 | <groupId>org.springframework</groupId> |
| 236 | <artifactId>spring-context</artifactId> |
| 237 | <scope>compile</scope> |
| 238 | </dependency> |
| 239 | |
| 240 | <dependency> |
| 241 | <groupId>org.springframework</groupId> |
| 242 | <artifactId>spring-web</artifactId> |
| 243 | <scope>compile</scope> |
| 244 | </dependency> |
| 245 | |
| 246 | <dependency> |
| 247 | <groupId>org.springframework</groupId> |
| 248 | <artifactId>spring-webmvc</artifactId> |
| 249 | <scope>compile</scope> |
| 250 | </dependency> |
| 251 | |
| 252 | <dependency> |
| 253 | <groupId>org.springframework</groupId> |
| 254 | <artifactId>spring-aop</artifactId> |
| 255 | <scope>compile</scope> |
| 256 | </dependency> |
| 257 | |
| 258 | <dependency> |
| 259 | <groupId>org.springframework</groupId> |
| 260 | <artifactId>spring-beans</artifactId> |
| 261 | <scope>compile</scope> |
| 262 | </dependency> |
| 263 | |
| 264 | <dependency> |
| 265 | <groupId>org.springframework</groupId> |
| 266 | <artifactId>spring-expression</artifactId> |
| 267 | <scope>compile</scope> |
| 268 | </dependency> |
| 269 | |
| 270 | <dependency> |
| 271 | <groupId>org.codehaus.groovy</groupId> |
| 272 | <artifactId>groovy-all</artifactId> |
| 273 | <scope>compile</scope> |
| 274 | </dependency> |
| 275 | |
| 276 | <dependency> |
| 277 | <groupId>org.codehaus.janino</groupId> |
| 278 | <artifactId>janino</artifactId> |
| 279 | <scope>compile</scope> |
| 280 | </dependency> |
| 281 | |
| 282 | <dependency> |
| 283 | <groupId>org.codehaus.janino</groupId> |
| 284 | <artifactId>commons-compiler</artifactId> |
| 285 | <version>3.0.6</version> |
| 286 | <scope>compile</scope> |
| 287 | </dependency> |
| 288 | |
| 289 | |
| 290 | <dependency> |
| 291 | <groupId>com.google.guava</groupId> |
| 292 | <artifactId>guava</artifactId> |
| 293 | </dependency> |
| 294 | |
| 295 | <!-- TITAN --> |
| 296 | <dependency> |
| 297 | <groupId>com.thinkaurelius.titan</groupId> |
| 298 | <artifactId>titan-core</artifactId> |
| 299 | <version>${titan.version}</version> |
| 300 | <scope>compile</scope> |
| 301 | <exclusions> |
| 302 | <exclusion> |
| 303 | <groupId>org.json</groupId> |
| 304 | <artifactId>json</artifactId> |
| 305 | </exclusion> |
| 306 | <exclusion> |
| 307 | <artifactId>slf4j-log4j12</artifactId> |
| 308 | <groupId>org.slf4j</groupId> |
| 309 | </exclusion> |
| 310 | </exclusions> |
| 311 | </dependency> |
| 312 | |
| 313 | <dependency> |
| 314 | <groupId>com.thinkaurelius.titan</groupId> |
| 315 | <artifactId>titan-cassandra</artifactId> |
| 316 | <!--<artifactId>asdc-titan-cassandra</artifactId --> |
| 317 | <version>${titan.version}</version> |
| 318 | <!--<version>1.0.0-snapshot</version --> |
| 319 | <scope>compile</scope> |
| 320 | <exclusions> |
| 321 | <exclusion> |
| 322 | <groupId>org.slf4j</groupId> |
| 323 | <artifactId>slf4j-log4j12</artifactId> |
| 324 | </exclusion> |
| 325 | <exclusion> |
| 326 | <groupId>io.netty</groupId> |
| 327 | <artifactId>netty-all</artifactId> |
| 328 | </exclusion> |
| 329 | </exclusions> |
| 330 | </dependency> |
| 331 | |
| 332 | <dependency> |
| 333 | <groupId>org.apache.commons</groupId> |
| 334 | <artifactId>commons-lang3</artifactId> |
| 335 | <scope>compile</scope> |
| 336 | </dependency> |
| 337 | <!-- TITAN END --> |
| 338 | |
| 339 | <dependency> |
| 340 | <groupId>com.googlecode.json-simple</groupId> |
| 341 | <artifactId>json-simple</artifactId> |
| 342 | <scope>compile</scope> |
| 343 | |
| 344 | </dependency> |
| 345 | |
| 346 | <dependency> |
| 347 | <groupId>org.elasticsearch</groupId> |
| 348 | <artifactId>elasticsearch</artifactId> |
| 349 | <scope>compile</scope> |
| 350 | </dependency> |
| 351 | |
| 352 | |
| 353 | <dependency> |
| 354 | <groupId>org.elasticsearch.plugin</groupId> |
| 355 | <artifactId>shield</artifactId> |
| 356 | <version>${elastic-search.version}</version> |
| 357 | <scope>compile</scope> |
| 358 | </dependency> |
| 359 | <!-- functional java --> |
| 360 | <dependency> |
| 361 | <groupId>org.functionaljava</groupId> |
| 362 | <artifactId>functionaljava</artifactId> |
| 363 | <scope>compile</scope> |
| 364 | </dependency> |
| 365 | |
| 366 | <!-- Aspects --> |
| 367 | <dependency> |
| 368 | <groupId>com.jcabi</groupId> |
| 369 | <artifactId>jcabi-aspects</artifactId> |
| 370 | <scope>compile</scope> |
| 371 | </dependency> |
| 372 | |
| 373 | <dependency> |
| 374 | <groupId>org.aspectj</groupId> |
| 375 | <artifactId>aspectjrt</artifactId> |
| 376 | <scope>compile</scope> |
| 377 | </dependency> |
| 378 | |
| 379 | <!-- CAMBRIA CLIENT for U-EB --> |
| 380 | <dependency> |
| 381 | <groupId>com.att.nsa</groupId> |
| 382 | <artifactId>cambriaClient</artifactId> |
| 383 | <version>0.0.1</version> |
| 384 | <scope>compile</scope> |
| 385 | </dependency> |
| 386 | |
| 387 | <dependency> |
| 388 | <groupId>com.att.nsa</groupId> |
| 389 | <artifactId>saClientLibrary</artifactId> |
| 390 | <version>0.0.1</version> |
| 391 | <scope>compile</scope> |
| 392 | <exclusions> |
| 393 | <exclusion> |
| 394 | <groupId>org.slf4j</groupId> |
| 395 | <artifactId>slf4j-log4j12</artifactId> |
| 396 | </exclusion> |
| 397 | </exclusions> |
| 398 | </dependency> |
| 399 | |
| 400 | <dependency> |
| 401 | <groupId>org.json</groupId> |
| 402 | <artifactId>json</artifactId> |
| 403 | <version>20131018</version> |
| 404 | <scope>compile</scope> |
| 405 | </dependency> |
| 406 | <dependency> |
| 407 | <groupId>org.apache.tinkerpop</groupId> |
| 408 | <artifactId>tinkergraph-gremlin</artifactId> |
| 409 | <version>3.0.1-incubating</version> |
| 410 | <scope>compile</scope> |
| 411 | </dependency> |
| 412 | |
| 413 | <dependency> |
| 414 | <groupId>org.apache.tinkerpop</groupId> |
| 415 | <artifactId>gremlin-groovy</artifactId> |
| 416 | <version>3.0.1-incubating</version> |
| 417 | <scope>compile</scope> |
| 418 | </dependency> |
| 419 | |
| 420 | <!-- CASSANDRA --> |
| 421 | <dependency> |
| 422 | <groupId>com.datastax.cassandra</groupId> |
| 423 | <artifactId>cassandra-driver-core</artifactId> |
| 424 | <version>${cassandra.driver.version}</version> |
| 425 | <scope>compile</scope> |
| 426 | </dependency> |
| 427 | <dependency> |
| 428 | <groupId>com.datastax.cassandra</groupId> |
| 429 | <artifactId>cassandra-driver-mapping</artifactId> |
| 430 | <version>${cassandra.driver.version}</version> |
| 431 | <scope>compile</scope> |
| 432 | </dependency> |
| 433 | <!-- CASSANDRA END --> |
| 434 | |
| 435 | <!-- Inserted for ECOMP Portal Integration --> |
| 436 | <dependency> |
| 437 | <groupId>org.openecomp.ecompsdkos</groupId> |
| 438 | <artifactId>ecompFW</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 | <!-- Artifact Generator --> |
| 454 | <dependency> |
| 455 | <groupId>org.openecomp.sdc.sdc_common</groupId> |
| 456 | <artifactId>openecomp-sdc-artifact-generator-api</artifactId> |
| 457 | <version>${artefact-gen-api.version}</version> |
| 458 | <scope>compile</scope> |
| 459 | </dependency> |
| 460 | |
| 461 | <dependency> |
| 462 | <groupId>org.openecomp.sdc.sdc_common</groupId> |
| 463 | <artifactId>openecomp-sdc-artifact-generator-core</artifactId> |
| 464 | <version>${artefact-gen-core.version}</version> |
| 465 | <scope>compile</scope> |
| 466 | </dependency> |
| 467 | |
| 468 | <dependency> |
| 469 | <groupId>org.openecomp.sdc.sdc_common</groupId> |
| 470 | <artifactId>openecomp-common-lib</artifactId> |
| 471 | <version>${dox-common-lib.version}</version> |
| 472 | <type>pom</type> |
| 473 | </dependency> |
| 474 | |
| 475 | |
| 476 | <!-- Jetty Proxy --> |
| 477 | <dependency> |
| 478 | <groupId>org.eclipse.jetty</groupId> |
| 479 | <artifactId>jetty-proxy</artifactId> |
| 480 | <version>${jetty.version}</version> |
| 481 | <scope>compile</scope> |
| 482 | </dependency> |
| 483 | |
| 484 | |
| 485 | |
| 486 | <dependency> |
| 487 | <groupId>org.eclipse.jetty</groupId> |
| 488 | <artifactId>jetty-servlets</artifactId> |
| 489 | <version>${jetty.servlets.version}</version> |
| 490 | <scope>compile</scope> |
| 491 | </dependency> |
| 492 | |
| 493 | <!-- TEST --> |
| 494 | <dependency> |
| 495 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 496 | <artifactId>jersey-test-framework-provider-bundle</artifactId> |
| 497 | <type>pom</type> |
| 498 | <scope>test</scope> |
| 499 | </dependency> |
| 500 | |
| 501 | <dependency> |
| 502 | <groupId>org.eclipse.jetty</groupId> |
| 503 | <artifactId>jetty-servlet</artifactId> |
| 504 | <scope>test</scope> |
| 505 | </dependency> |
| 506 | |
| 507 | <dependency> |
| 508 | <groupId>org.eclipse.jetty</groupId> |
| 509 | <artifactId>jetty-webapp</artifactId> |
| 510 | <scope>test</scope> |
| 511 | </dependency> |
| 512 | |
| 513 | <dependency> |
| 514 | <groupId>junit</groupId> |
| 515 | <artifactId>junit</artifactId> |
| 516 | <scope>test</scope> |
| 517 | </dependency> |
| 518 | |
| 519 | <dependency> |
| 520 | <groupId>org.mockito</groupId> |
| 521 | <artifactId>mockito-all</artifactId> |
| 522 | <scope>test</scope> |
| 523 | </dependency> |
| 524 | |
| 525 | <dependency> |
| 526 | <groupId>org.springframework</groupId> |
| 527 | <artifactId>spring-test</artifactId> |
| 528 | <scope>test</scope> |
| 529 | </dependency> |
| 530 | |
| 531 | <dependency> |
| 532 | <groupId>org.springframework</groupId> |
| 533 | <artifactId>spring-tx</artifactId> |
| 534 | <version>${spring.version}</version> |
| 535 | <scope>test</scope> |
| 536 | </dependency> |
| 537 | </dependencies> |
| 538 | |
| 539 | |
| 540 | |
| 541 | <build> |
| 542 | |
| 543 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 544 | |
| 545 | |
| 546 | <plugins> |
| 547 | <plugin> |
| 548 | <artifactId>maven-surefire-plugin</artifactId> |
| 549 | <configuration> |
| 550 | <systemPropertyVariables> |
| 551 | <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile> |
| 552 | </systemPropertyVariables> |
| 553 | </configuration> |
| 554 | </plugin> |
| 555 | |
| 556 | <plugin> |
| 557 | <groupId>org.apache.maven.plugins</groupId> |
| 558 | <artifactId>maven-war-plugin</artifactId> |
| 559 | <version>2.6</version> |
| 560 | <configuration> |
| 561 | <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar, |
| 562 | WEB-INF/classes/elasticsearch.yml, |
| 563 | WEB-INF/classes/portal.properties</packagingExcludes> |
| 564 | <archive> |
| 565 | <manifestEntries> |
| 566 | <SDC-Version>${parent.version}</SDC-Version> |
| 567 | </manifestEntries> |
| 568 | <manifest> |
| 569 | <!-- <addClasspath>true</addClasspath --> |
| 570 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 571 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| 572 | </manifest> |
| 573 | </archive> |
| 574 | |
| 575 | <webResources> |
| 576 | <resource> |
| 577 | <directory>src/main/resources</directory> |
| 578 | <!-- <directory>target/swagger-ui-2.1.0-M2/dist</directory --> |
| 579 | <directory>src/main/resources/swagger</directory> |
| 580 | </resource> |
| 581 | </webResources> |
| 582 | <attachClasses>true</attachClasses> |
| 583 | </configuration> |
| 584 | </plugin> |
| 585 | |
| 586 | |
| 587 | |
| 588 | <plugin> |
| 589 | <groupId>org.apache.maven.plugins</groupId> |
| 590 | <artifactId>maven-dependency-plugin</artifactId> |
| 591 | <executions> |
| 592 | <execution> |
| 593 | <id>copy-dependencies</id> |
| 594 | <phase>package</phase> |
| 595 | <goals> |
| 596 | <goal>copy-dependencies</goal> |
| 597 | </goals> |
| 598 | <configuration> |
| 599 | <includeScope>compile</includeScope> |
| 600 | </configuration> |
| 601 | </execution> |
| 602 | <execution> |
| 603 | <id>copy-installed</id> |
| 604 | <phase>install</phase> |
| 605 | <goals> |
| 606 | <goal>copy</goal> |
| 607 | </goals> |
| 608 | <configuration> |
| 609 | <artifactItems> |
| 610 | <artifactItem> |
| 611 | <groupId>${project.groupId}</groupId> |
| 612 | <artifactId>${project.artifactId}</artifactId> |
| 613 | <version>${project.version}</version> |
| 614 | <type>${project.packaging}</type> |
| 615 | </artifactItem> |
| 616 | </artifactItems> |
| 617 | <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/</outputDirectory> |
| 618 | </configuration> |
| 619 | </execution> |
| 620 | </executions> |
| 621 | </plugin> |
| 622 | |
| 623 | |
| 624 | <plugin> |
| 625 | <groupId>com.jcabi</groupId> |
| 626 | <artifactId>jcabi-maven-plugin</artifactId> |
| 627 | <version>${jcabi.plugin.version}</version> |
| 628 | <executions> |
| 629 | <execution> |
| 630 | <goals> |
| 631 | <goal>ajc</goal> |
| 632 | </goals> |
| 633 | </execution> |
| 634 | </executions> |
| 635 | </plugin> |
| 636 | |
| 637 | |
| 638 | |
| 639 | <!-- Swagger Plugins Start --> |
| 640 | <plugin> |
| 641 | <groupId>com.googlecode.maven-download-plugin</groupId> |
| 642 | <artifactId>download-maven-plugin</artifactId> |
| 643 | <version>1.2.1</version> |
| 644 | <executions> |
| 645 | <execution> |
| 646 | <id>swagger-ui</id> |
| 647 | <goals> |
| 648 | <goal>wget</goal> |
| 649 | </goals> |
| 650 | <configuration> |
| 651 | <url>https://github.com/swagger-api/swagger-ui/archive/v${swagger-ui-version}.tar.gz</url> |
| 652 | <unpack>true</unpack> |
| 653 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 654 | </configuration> |
| 655 | </execution> |
| 656 | </executions> |
| 657 | </plugin> |
| 658 | |
| 659 | |
| 660 | |
| 661 | <plugin> |
| 662 | <artifactId>maven-resources-plugin</artifactId> |
| 663 | <version>2.6</version> |
| 664 | <executions> |
| 665 | |
| 666 | <execution> |
| 667 | <id>copy-resources</id> |
| 668 | <phase>process-resources</phase> |
| 669 | <goals> |
| 670 | <goal>copy-resources</goal> |
| 671 | </goals> |
| 672 | <configuration> |
| 673 | <outputDirectory>target/${project.artifactId}-${project.version}</outputDirectory> |
| 674 | <resources> |
| 675 | <resource> |
| 676 | <directory>${project.build.directory}/swagger-ui-${swagger-ui-version}/dist</directory> |
| 677 | <filtering>true</filtering> |
| 678 | <excludes> |
| 679 | <exclude>index.html</exclude> |
| 680 | </excludes> |
| 681 | </resource> |
| 682 | </resources> |
| 683 | </configuration> |
| 684 | </execution> |
| 685 | |
| 686 | <execution> |
| 687 | <id>copy-normatives-backend</id> |
| 688 | <phase>install</phase> |
| 689 | <goals> |
| 690 | <goal>copy-resources</goal> |
| 691 | </goals> |
| 692 | <configuration> |
| 693 | <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-normatives/files/default</outputDirectory> |
| 694 | <resources> |
| 695 | <resource> |
| 696 | <directory>./target</directory> |
| 697 | <includes> |
| 698 | <include>normatives.tar.gz</include> |
| 699 | </includes> |
| 700 | </resource> |
| 701 | </resources> |
| 702 | </configuration> |
| 703 | </execution> |
| 704 | |
| 705 | </executions> |
| 706 | </plugin> |
| 707 | |
| 708 | |
| 709 | <plugin> |
| 710 | <groupId>org.apache.maven.plugins</groupId> |
| 711 | <artifactId>maven-assembly-plugin</artifactId> |
| 712 | <version>2.6</version> |
| 713 | <executions> |
| 714 | <execution> |
| 715 | <id>normatives</id> |
| 716 | <phase>package</phase> |
| 717 | <goals> |
| 718 | <goal>single</goal> |
| 719 | </goals> |
| 720 | <configuration> |
| 721 | <finalName>normatives</finalName> |
| 722 | <appendAssemblyId>false</appendAssemblyId> |
| 723 | <descriptor>${project.basedir}/normatives.xml</descriptor> |
| 724 | </configuration> |
| 725 | </execution> |
| 726 | </executions> |
| 727 | </plugin> |
| 728 | |
| 729 | </plugins> |
| 730 | |
| 731 | |
| 732 | |
| 733 | |
| 734 | <pluginManagement> |
| 735 | <plugins> |
| 736 | <!--This plugin's configuration is used to store Eclipse m2e settings |
| 737 | only. It has no influence on the Maven build itself. --> |
| 738 | <plugin> |
| 739 | <groupId>org.eclipse.m2e</groupId> |
| 740 | <artifactId>lifecycle-mapping</artifactId> |
| 741 | <version>1.0.0</version> |
| 742 | <configuration> |
| 743 | <lifecycleMappingMetadata> |
| 744 | <pluginExecutions> |
| 745 | <pluginExecution> |
| 746 | <pluginExecutionFilter> |
| 747 | <groupId>com.googlecode.maven-download-plugin</groupId> |
| 748 | <artifactId>download-maven-plugin</artifactId> |
| 749 | <versionRange>[1.2.1,)</versionRange> |
| 750 | <goals> |
| 751 | <goal>wget</goal> |
| 752 | </goals> |
| 753 | </pluginExecutionFilter> |
| 754 | <action> |
| 755 | <ignore></ignore> |
| 756 | </action> |
| 757 | </pluginExecution> |
| 758 | |
| 759 | <pluginExecution> |
| 760 | <pluginExecutionFilter> |
| 761 | <groupId>com.jcabi</groupId> |
| 762 | <artifactId>jcabi-maven-plugin</artifactId> |
| 763 | <versionRange>[0.0,)</versionRange> |
| 764 | <goals> |
| 765 | <goal>ajc</goal> |
| 766 | </goals> |
| 767 | </pluginExecutionFilter> |
| 768 | <action> |
| 769 | <execute /> |
| 770 | </action> |
| 771 | </pluginExecution> |
| 772 | |
| 773 | </pluginExecutions> |
| 774 | </lifecycleMappingMetadata> |
| 775 | </configuration> |
| 776 | </plugin> |
| 777 | <plugin> |
| 778 | <groupId>org.apache.maven.plugins</groupId> |
| 779 | <artifactId>maven-deploy-plugin</artifactId> |
| 780 | <version>2.7</version> |
| 781 | </plugin> |
| 782 | |
| 783 | </plugins> |
| 784 | </pluginManagement> |
| 785 | <!-- Swagger Plugins End --> |
| 786 | </build> |
| 787 | |
| 788 | |
| 789 | |
| 790 | </project> |