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