ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [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> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 5 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 6 | <artifactId>asdctool</artifactId> |
| 7 | <packaging>jar</packaging> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 8 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 9 | <parent> |
| 10 | <groupId>org.openecomp.sdc</groupId> |
| 11 | <artifactId>sdc-main</artifactId> |
Ofir Sonsino | 09d8789 | 2020-03-12 20:52:42 +0200 | [diff] [blame] | 12 | <version>1.7.0-SNAPSHOT</version> |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 13 | </parent> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 14 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 15 | <dependencies> |
Tal Gitelman | e019937 | 2018-09-18 11:57:53 +0300 | [diff] [blame] | 16 | |
Tomasz Golabek | aa18a95 | 2019-06-07 09:28:23 +0200 | [diff] [blame] | 17 | <dependency> |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 18 | <groupId>com.google.guava</groupId> |
| 19 | <artifactId>guava</artifactId> |
| 20 | <version>${guava.version}</version> |
| 21 | <scope>compile</scope> |
| 22 | </dependency> |
Tomasz Golabek | aa18a95 | 2019-06-07 09:28:23 +0200 | [diff] [blame] | 23 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 24 | <!-- ASDC dependencies --> |
| 25 | <dependency> |
| 26 | <groupId>org.openecomp.sdc.be</groupId> |
| 27 | <artifactId>common-be</artifactId> |
| 28 | <version>${project.version}</version> |
| 29 | <scope>compile</scope> |
| 30 | </dependency> |
| 31 | <dependency> |
| 32 | <groupId>org.openecomp.sdc</groupId> |
| 33 | <artifactId>common-app-api</artifactId> |
| 34 | <version>${project.version}</version> |
| 35 | <scope>compile</scope> |
| 36 | </dependency> |
Tomasz Golabek | 5c55e23 | 2019-08-22 15:03:50 +0200 | [diff] [blame] | 37 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 38 | <dependency> |
| 39 | <groupId>org.openecomp.sdc.be</groupId> |
| 40 | <artifactId>catalog-dao</artifactId> |
| 41 | <version>${project.version}</version> |
| 42 | <scope>compile</scope> |
| 43 | </dependency> |
Tomasz Golabek | aa18a95 | 2019-06-07 09:28:23 +0200 | [diff] [blame] | 44 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 45 | <dependency> |
| 46 | <groupId>org.openecomp.sdc.be</groupId> |
| 47 | <artifactId>catalog-model</artifactId> |
| 48 | <version>${project.version}</version> |
| 49 | <scope>compile</scope> |
| 50 | </dependency> |
Yuli Shlosberg | 79e3627 | 2018-10-02 14:45:26 +0300 | [diff] [blame] | 51 | |
Yuli Shlosberg | 79e3627 | 2018-10-02 14:45:26 +0300 | [diff] [blame] | 52 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 53 | <dependency> |
| 54 | <groupId>org.openecomp.sdc</groupId> |
| 55 | <artifactId>catalog-be</artifactId> |
| 56 | <version>${project.version}</version> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 57 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 58 | <!-- Comment Out in order to debug in eclipse --> |
| 59 | <classifier>classes</classifier> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 60 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 61 | <exclusions> |
| 62 | <exclusion> |
| 63 | <groupId>org.openecomp.ecompsdkos</groupId> |
| 64 | <artifactId>epsdk-fw</artifactId> |
| 65 | </exclusion> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 66 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 67 | <exclusion> |
| 68 | <groupId>org.onap.sdc.common</groupId> |
| 69 | <artifactId>onap-common-lib</artifactId> |
| 70 | </exclusion> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 71 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 72 | <exclusion> |
| 73 | <groupId>com.att.nsa</groupId> |
| 74 | <artifactId>cambriaClient</artifactId> |
| 75 | </exclusion> |
| 76 | <exclusion> |
| 77 | <groupId>com.att.nsa</groupId> |
| 78 | <artifactId>dmaapClient</artifactId> |
| 79 | </exclusion> |
| 80 | <exclusion> |
| 81 | <artifactId>slf4j-log4j12</artifactId> |
| 82 | <groupId>org.slf4j</groupId> |
| 83 | </exclusion> |
| 84 | |
| 85 | </exclusions> |
| 86 | |
| 87 | <scope>compile</scope> |
| 88 | </dependency> |
| 89 | |
| 90 | <dependency> |
| 91 | <groupId>org.onap.portal.sdk</groupId> |
| 92 | <artifactId>epsdk-fw</artifactId> |
| 93 | <version>${ecomp.version}</version> |
| 94 | <scope>compile</scope> |
| 95 | <exclusions> |
| 96 | <exclusion> |
| 97 | <groupId>com.att.nsa</groupId> |
| 98 | <artifactId>cambriaClient</artifactId> |
| 99 | </exclusion> |
| 100 | <exclusion> |
| 101 | <groupId>com.att.nsa</groupId> |
| 102 | <artifactId>dmaapClient</artifactId> |
| 103 | </exclusion> |
| 104 | <exclusion> |
| 105 | <artifactId>slf4j-log4j12</artifactId> |
| 106 | <groupId>org.slf4j</groupId> |
| 107 | </exclusion> |
| 108 | </exclusions> |
| 109 | </dependency> |
| 110 | |
| 111 | |
| 112 | <!-- ASDC dependencies end --> |
| 113 | <dependency> |
| 114 | <groupId>org.eclipse.jetty</groupId> |
| 115 | <artifactId>jetty-server</artifactId> |
| 116 | <version>${jetty.version}</version> |
| 117 | <scope>compile</scope> |
| 118 | </dependency> |
| 119 | |
| 120 | <dependency> |
| 121 | <groupId>org.eclipse.jetty</groupId> |
| 122 | <artifactId>jetty-util</artifactId> |
| 123 | <version>${jetty.version}</version> |
| 124 | <scope>compile</scope> |
| 125 | </dependency> |
| 126 | |
| 127 | <!-- listen to file changes --> |
| 128 | <dependency> |
| 129 | <groupId>org.apache.commons</groupId> |
| 130 | <artifactId>commons-jci-core</artifactId> |
| 131 | <version>${commons-jci-core.version}</version> |
| 132 | <scope>compile</scope> |
| 133 | </dependency> |
| 134 | |
| 135 | <dependency> |
| 136 | <groupId>commons-cli</groupId> |
| 137 | <artifactId>commons-cli</artifactId> |
| 138 | <version>1.4</version> |
| 139 | </dependency> |
| 140 | |
| 141 | <dependency> |
| 142 | <groupId>org.eclipse.jetty</groupId> |
| 143 | <artifactId>jetty-servlet</artifactId> |
| 144 | <version>${jetty.version}</version> |
| 145 | <scope>compile</scope> |
| 146 | </dependency> |
| 147 | |
| 148 | <dependency> |
| 149 | <groupId>org.glassfish.jersey.core</groupId> |
| 150 | <artifactId>jersey-server</artifactId> |
| 151 | <version>${jersey-bom.version}</version> |
| 152 | <scope>compile</scope> |
| 153 | </dependency> |
| 154 | |
| 155 | <dependency> |
| 156 | <groupId>org.glassfish.jersey.containers</groupId> |
| 157 | <artifactId>jersey-container-servlet-core</artifactId> |
| 158 | <version>${jersey-bom.version}</version> |
| 159 | <scope>compile</scope> |
| 160 | </dependency> |
| 161 | |
| 162 | <dependency> |
| 163 | <groupId>org.glassfish.jersey.containers</groupId> |
| 164 | <artifactId>jersey-container-jetty-http</artifactId> |
| 165 | <version>${jersey-bom.version}</version> |
| 166 | <scope>compile</scope> |
| 167 | </dependency> |
| 168 | |
| 169 | <dependency> |
| 170 | <groupId>org.glassfish.jersey.media</groupId> |
| 171 | <artifactId>jersey-media-moxy</artifactId> |
| 172 | <version>${jersey-bom.version}</version> |
| 173 | <scope>compile</scope> |
| 174 | </dependency> |
| 175 | |
| 176 | <dependency> |
| 177 | <groupId>org.glassfish.jersey.media</groupId> |
| 178 | <artifactId>jersey-media-multipart</artifactId> |
| 179 | <version>${jersey-bom.version}</version> |
| 180 | <scope>compile</scope> |
| 181 | </dependency> |
| 182 | |
| 183 | <!-- slf4j + logback --> |
| 184 | <dependency> |
| 185 | <groupId>org.slf4j</groupId> |
| 186 | <artifactId>slf4j-api</artifactId> |
| 187 | <version>${slf4j-api.version}</version> |
| 188 | <scope>compile</scope> |
| 189 | </dependency> |
| 190 | |
| 191 | <dependency> |
| 192 | <groupId>ch.qos.logback</groupId> |
| 193 | <artifactId>logback-classic</artifactId> |
| 194 | <version>${logback.version}</version> |
| 195 | <scope>compile</scope> |
| 196 | </dependency> |
| 197 | |
| 198 | <dependency> |
| 199 | <groupId>ch.qos.logback</groupId> |
| 200 | <artifactId>logback-core</artifactId> |
| 201 | <version>${logback.version}</version> |
| 202 | <scope>compile</scope> |
| 203 | </dependency> |
| 204 | |
| 205 | <!-- groovy --> |
| 206 | <dependency> |
| 207 | <groupId>org.codehaus.groovy</groupId> |
| 208 | <artifactId>groovy</artifactId> |
| 209 | <scope>compile</scope> |
| 210 | </dependency> |
| 211 | |
| 212 | <dependency> |
| 213 | <groupId>org.apache.commons</groupId> |
| 214 | <artifactId>commons-configuration2</artifactId> |
| 215 | <version>${commons-configuration}</version> |
| 216 | </dependency> |
| 217 | |
| 218 | <dependency> |
| 219 | <groupId>org.janusgraph</groupId> |
| 220 | <artifactId>janusgraph-core</artifactId> |
| 221 | <version>${janusgraph.version}</version> |
| 222 | <scope>compile</scope> |
| 223 | <exclusions> |
| 224 | <exclusion> |
| 225 | <groupId>org.json</groupId> |
| 226 | <artifactId>json</artifactId> |
| 227 | </exclusion> |
| 228 | <exclusion> |
| 229 | <groupId>org.slf4j</groupId> |
| 230 | <artifactId>slf4j-log4j12</artifactId> |
| 231 | </exclusion> |
| 232 | <exclusion> |
| 233 | <artifactId>commons-collections</artifactId> |
| 234 | <groupId>commons-collections</groupId> |
| 235 | </exclusion> |
| 236 | <exclusion> |
| 237 | <artifactId>groovy</artifactId> |
| 238 | <groupId>org.codehaus.groovy</groupId> |
| 239 | </exclusion> |
| 240 | <exclusion> |
| 241 | <groupId>org.apache.thrift</groupId> |
| 242 | <artifactId>libthrift</artifactId> |
| 243 | </exclusion> |
| 244 | </exclusions> |
| 245 | </dependency> |
| 246 | |
| 247 | <dependency> |
| 248 | <groupId>com.googlecode.json-simple</groupId> |
| 249 | <artifactId>json-simple</artifactId> |
| 250 | <version>${json-simple.version}</version> |
| 251 | <scope>compile</scope> |
| 252 | </dependency> |
| 253 | |
| 254 | <dependency> |
| 255 | <groupId>org.janusgraph</groupId> |
| 256 | <artifactId>janusgraph-cassandra</artifactId> |
| 257 | <version>${janusgraph.version}</version> |
| 258 | <scope>compile</scope> |
| 259 | <exclusions> |
| 260 | <exclusion> |
| 261 | <groupId>org.slf4j</groupId> |
| 262 | <artifactId>slf4j-log4j12</artifactId> |
| 263 | </exclusion> |
| 264 | </exclusions> |
| 265 | </dependency> |
| 266 | |
| 267 | <dependency> |
| 268 | <groupId>commons-logging</groupId> |
| 269 | <artifactId>commons-logging</artifactId> |
| 270 | <version>${commons-logging}</version> |
| 271 | <scope>compile</scope> |
| 272 | </dependency> |
| 273 | |
| 274 | <dependency> |
| 275 | <groupId>commons-codec</groupId> |
| 276 | <artifactId>commons-codec</artifactId> |
| 277 | <version>${commons-codec}</version> |
| 278 | <scope>compile</scope> |
| 279 | </dependency> |
| 280 | |
| 281 | <dependency> |
| 282 | <groupId>com.fasterxml.jackson.core</groupId> |
| 283 | <artifactId>jackson-databind</artifactId> |
| 284 | <version>${jackson.version}</version> |
| 285 | <scope>compile</scope> |
| 286 | </dependency> |
| 287 | |
| 288 | <!-- Explicitly specified in order to override older version included by epsdk-fw --> |
| 289 | <dependency> |
| 290 | <groupId>com.fasterxml.jackson.core</groupId> |
| 291 | <artifactId>jackson-annotations</artifactId> |
| 292 | <version>${jackson-annotations.version}</version> |
| 293 | </dependency> |
| 294 | |
| 295 | <dependency> |
| 296 | <groupId>com.google.code.gson</groupId> |
| 297 | <artifactId>gson</artifactId> |
| 298 | <version>${gson.version}</version> |
| 299 | <scope>compile</scope> |
| 300 | </dependency> |
| 301 | |
| 302 | <dependency> |
| 303 | <groupId>org.apache.httpcomponents</groupId> |
| 304 | <artifactId>httpclient</artifactId> |
| 305 | <version>${httpclient.version}</version> |
| 306 | <scope>compile</scope> |
| 307 | </dependency> |
| 308 | |
| 309 | <dependency> |
| 310 | <groupId>org.apache.httpcomponents</groupId> |
| 311 | <artifactId>httpcore</artifactId> |
| 312 | <version>${httpcore.version}</version> |
| 313 | <scope>compile</scope> |
| 314 | </dependency> |
| 315 | |
| 316 | <!-- Spring 4 dependencies --> |
| 317 | <dependency> |
| 318 | <groupId>org.springframework</groupId> |
| 319 | <artifactId>spring-core</artifactId> |
| 320 | <version>${spring.version}</version> |
| 321 | <scope>compile</scope> |
| 322 | </dependency> |
| 323 | |
| 324 | <dependency> |
| 325 | <groupId>org.springframework</groupId> |
| 326 | <artifactId>spring-context</artifactId> |
| 327 | <version>${spring.version}</version> |
| 328 | <scope>compile</scope> |
| 329 | </dependency> |
| 330 | |
| 331 | <dependency> |
| 332 | <groupId>org.springframework</groupId> |
| 333 | <artifactId>spring-expression</artifactId> |
| 334 | <version>${spring.version}</version> |
| 335 | <scope>compile</scope> |
| 336 | </dependency> |
| 337 | |
| 338 | <dependency> |
| 339 | <groupId>org.springframework</groupId> |
| 340 | <artifactId>spring-beans</artifactId> |
| 341 | <version>${spring.version}</version> |
| 342 | <scope>compile</scope> |
| 343 | </dependency> |
| 344 | |
| 345 | <dependency> |
| 346 | <groupId>org.springframework</groupId> |
| 347 | <artifactId>spring-aop</artifactId> |
| 348 | <version>${spring.version}</version> |
| 349 | <scope>compile</scope> |
| 350 | </dependency> |
| 351 | |
| 352 | <!-- Spring 4 dependencies end --> |
| 353 | <!-- JavaConfig need this library --> |
| 354 | <dependency> |
| 355 | <groupId>cglib</groupId> |
| 356 | <artifactId>cglib</artifactId> |
| 357 | <version>3.2.4</version> |
| 358 | <scope>compile</scope> |
| 359 | </dependency> |
| 360 | |
| 361 | <dependency> |
| 362 | <groupId>org.yaml</groupId> |
| 363 | <artifactId>snakeyaml</artifactId> |
| 364 | <version>${snakeyaml.version}</version> |
| 365 | <scope>compile</scope> |
| 366 | </dependency> |
| 367 | |
| 368 | <dependency> |
| 369 | <groupId>org.functionaljava</groupId> |
| 370 | <artifactId>functionaljava</artifactId> |
| 371 | <version>${functionaljava.version}</version> |
| 372 | <scope>compile</scope> |
| 373 | </dependency> |
| 374 | |
| 375 | <dependency> |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 376 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 377 | <artifactId>jackson-dataformat-yaml</artifactId> |
| 378 | <version>${jackson.version}</version> |
| 379 | <scope>compile</scope> |
| 380 | </dependency> |
| 381 | |
| 382 | <!-- CASSANDRA --> |
| 383 | <dependency> |
| 384 | <groupId>com.datastax.cassandra</groupId> |
| 385 | <artifactId>cassandra-driver-core</artifactId> |
| 386 | <version>${cassandra.driver.version}</version> |
| 387 | <scope>compile</scope> |
| 388 | </dependency> |
| 389 | |
| 390 | <dependency> |
| 391 | <groupId>com.datastax.cassandra</groupId> |
| 392 | <artifactId>cassandra-driver-mapping</artifactId> |
| 393 | <version>${cassandra.driver.version}</version> |
| 394 | <scope>compile</scope> |
| 395 | </dependency> |
| 396 | <dependency> |
| 397 | <groupId>org.apache.thrift</groupId> |
| 398 | <artifactId>libthrift</artifactId> |
| 399 | <version>${libthrift.version}</version> |
| 400 | </dependency> |
| 401 | |
| 402 | <!-- CASSANDRA END --> |
| 403 | |
| 404 | <!-- OPEN CSV --> |
| 405 | <dependency> |
| 406 | <groupId>com.opencsv</groupId> |
| 407 | <artifactId>opencsv</artifactId> |
| 408 | <version>4.0</version> |
| 409 | <scope>compile</scope> |
| 410 | </dependency> |
| 411 | |
| 412 | <dependency> |
| 413 | <groupId>org.apache.poi</groupId> |
| 414 | <artifactId>poi</artifactId> |
| 415 | <version>${apache-poi.version}</version> |
| 416 | </dependency> |
| 417 | |
| 418 | <dependency> |
| 419 | <groupId>org.jdom</groupId> |
| 420 | <artifactId>jdom</artifactId> |
| 421 | <version>2.0.2</version> |
| 422 | <scope>compile</scope> |
| 423 | </dependency> |
| 424 | |
| 425 | <!-- Temporary, till building the populate task which adding all components |
| 426 | to cache. We will use Serialization Utils. --> |
| 427 | <dependency> |
| 428 | <groupId>de.ruedigermoeller</groupId> |
| 429 | <artifactId>fst</artifactId> |
| 430 | <version>2.47</version> |
| 431 | <scope>compile</scope> |
| 432 | </dependency> |
| 433 | |
| 434 | <!-- testing --> |
| 435 | <dependency> |
| 436 | <groupId>org.hamcrest</groupId> |
| 437 | <artifactId>hamcrest-all</artifactId> |
| 438 | <version>${hamcrest-all.version}</version> |
| 439 | <scope>test</scope> |
| 440 | </dependency> |
| 441 | |
| 442 | <dependency> |
| 443 | <groupId>junit</groupId> |
| 444 | <artifactId>junit</artifactId> |
| 445 | <version>${junit.version}</version> |
| 446 | <scope>test</scope> |
| 447 | </dependency> |
| 448 | |
| 449 | <dependency> |
| 450 | <groupId>org.testng</groupId> |
| 451 | <artifactId>testng</artifactId> |
| 452 | <version>${testng.version}</version> |
| 453 | <scope>test</scope> |
| 454 | </dependency> |
| 455 | |
| 456 | <dependency> |
| 457 | <groupId>org.mockito</groupId> |
| 458 | <artifactId>mockito-core</artifactId> |
| 459 | <scope>test</scope> |
| 460 | </dependency> |
| 461 | |
| 462 | <dependency> |
| 463 | <groupId>org.assertj</groupId> |
| 464 | <artifactId>assertj-core</artifactId> |
| 465 | <scope>test</scope> |
| 466 | </dependency> |
| 467 | |
| 468 | <dependency> |
| 469 | <groupId>com.google.code.bean-matchers</groupId> |
| 470 | <artifactId>bean-matchers</artifactId> |
| 471 | <version>${bean-matchers.version}</version> |
| 472 | <scope>test</scope> |
| 473 | </dependency> |
| 474 | |
| 475 | <dependency> |
| 476 | <groupId>com.github.stefanbirkner</groupId> |
| 477 | <artifactId>system-rules</artifactId> |
| 478 | <version>1.19.0</version> |
| 479 | <scope>test</scope> |
| 480 | </dependency> |
| 481 | |
| 482 | <!-- testing end --> |
| 483 | |
| 484 | <dependency> |
| 485 | <groupId>io.netty</groupId> |
| 486 | <artifactId>netty-all</artifactId> |
| 487 | </dependency> |
| 488 | |
| 489 | <dependency> |
| 490 | <groupId>io.netty</groupId> |
| 491 | <artifactId>netty-handler</artifactId> |
| 492 | </dependency> |
| 493 | <dependency> |
| 494 | <groupId>org.powermock</groupId> |
| 495 | <artifactId>powermock-module-junit4</artifactId> |
| 496 | <version>2.0.2</version> |
| 497 | <scope>test</scope> |
| 498 | </dependency> |
| 499 | </dependencies> |
| 500 | |
| 501 | <build> |
| 502 | <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName> |
| 503 | <plugins> |
| 504 | <plugin> |
| 505 | <groupId>org.apache.maven.plugins</groupId> |
| 506 | <artifactId>maven-deploy-plugin</artifactId> |
| 507 | <configuration> |
| 508 | <skip>true</skip> |
| 509 | </configuration> |
| 510 | </plugin> |
| 511 | |
| 512 | <plugin> |
| 513 | <groupId>org.apache.maven.plugins</groupId> |
| 514 | <artifactId>maven-assembly-plugin</artifactId> |
| 515 | <executions> |
| 516 | <execution> |
| 517 | <configuration> |
| 518 | <finalName>sdctool</finalName> |
| 519 | <appendAssemblyId>false</appendAssemblyId> |
| 520 | <descriptors> |
| 521 | <descriptor>${project.basedir}/tarball.xml</descriptor> |
| 522 | </descriptors> |
| 523 | </configuration> |
| 524 | <id>assemble-file</id> |
| 525 | <phase>verify</phase> |
| 526 | <goals> |
| 527 | <goal>single</goal> |
| 528 | </goals> |
| 529 | </execution> |
| 530 | </executions> |
| 531 | </plugin> |
| 532 | <plugin> |
| 533 | <groupId>org.apache.maven.plugins</groupId> |
| 534 | <artifactId>maven-shade-plugin</artifactId> |
| 535 | <executions> |
| 536 | <execution> |
| 537 | <phase>package</phase> |
| 538 | <goals> |
| 539 | <goal>shade</goal> |
| 540 | </goals> |
| 541 | <configuration> |
| 542 | <filters> |
| 543 | <filter> |
| 544 | <artifact>org.openecomp.sdc:*</artifact> |
| 545 | <excludes> |
| 546 | <exclude>**/elasticsearch.yml</exclude> |
| 547 | </excludes> |
| 548 | </filter> |
| 549 | <filter> |
| 550 | <artifact>*:*</artifact> |
| 551 | <excludes> |
| 552 | <exclude>META-INF/*.SF</exclude> |
| 553 | <exclude>META-INF/*.DSA</exclude> |
| 554 | <exclude>META-INF/*.RSA</exclude> |
| 555 | </excludes> |
| 556 | </filter> |
| 557 | </filters> |
| 558 | <transformers> |
| 559 | <transformer |
| 560 | implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| 561 | </transformers> |
| 562 | </configuration> |
| 563 | </execution> |
| 564 | </executions> |
| 565 | </plugin> |
| 566 | <plugin> |
| 567 | <groupId>ru.yaal.maven</groupId> |
| 568 | <artifactId>write-text-files-maven-plugin</artifactId> |
| 569 | <configuration> |
| 570 | <charset>UTF-8</charset> |
| 571 | <files> |
| 572 | <file> |
| 573 | <path> |
| 574 | ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb |
| 575 | </path> |
| 576 | <lines> |
andre.schmid | 8f967e4 | 2020-01-22 14:49:32 +0000 | [diff] [blame] | 577 | <line> |
| 578 | normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}" |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 579 | </line> |
| 580 | </lines> |
| 581 | </file> |
| 582 | </files> |
| 583 | </configuration> |
| 584 | <executions> |
| 585 | <execution> |
| 586 | <id>write-text-files</id> |
| 587 | <phase>prepare-package</phase> |
| 588 | <goals> |
| 589 | <goal>write-text-files</goal> |
| 590 | </goals> |
| 591 | </execution> |
| 592 | </executions> |
| 593 | </plugin> |
| 594 | <plugin> |
| 595 | <groupId>org.apache.maven.plugins</groupId> |
| 596 | <artifactId>maven-resources-plugin</artifactId> |
| 597 | <executions> |
| 598 | <execution> |
| 599 | <id>copy-tosca-folder</id> |
| 600 | <!-- here the phase you need --> |
| 601 | <phase>compile</phase> |
| 602 | <goals> |
| 603 | <goal>copy-resources</goal> |
| 604 | </goals> |
| 605 | <configuration> |
| 606 | <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory> |
| 607 | <resources> |
| 608 | <resource> |
| 609 | <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca |
| 610 | </directory> |
| 611 | <filtering>true</filtering> |
| 612 | </resource> |
| 613 | </resources> |
| 614 | </configuration> |
| 615 | </execution> |
| 616 | </executions> |
| 617 | </plugin> |
| 618 | <plugin> |
| 619 | <groupId>com.github.sylvainlaurent.maven</groupId> |
| 620 | <artifactId>yaml-json-validator-maven-plugin</artifactId> |
| 621 | <executions> |
| 622 | <execution> |
| 623 | <id>validate</id> |
| 624 | <phase>validate</phase> |
| 625 | <goals> |
| 626 | <goal>validate</goal> |
| 627 | </goals> |
| 628 | <configuration> |
| 629 | <validationSets> |
| 630 | <validationSet> |
| 631 | <includes> |
| 632 | <include>src/main/resources/**/*.y*ml</include> |
| 633 | <include>src/test/resources/**/*.y*ml</include> |
| 634 | </includes> |
| 635 | </validationSet> |
| 636 | <validationSet> |
| 637 | <includes> |
| 638 | <include>src/main/resources/**/*.json</include> |
| 639 | <include>src/test/resources/**/*.json</include> |
| 640 | </includes> |
| 641 | <excludes> |
| 642 | <exclude>src/test/resources/graphError.json</exclude> |
| 643 | </excludes> |
| 644 | </validationSet> |
| 645 | </validationSets> |
| 646 | </configuration> |
| 647 | </execution> |
| 648 | </executions> |
| 649 | </plugin> |
| 650 | </plugins> |
| 651 | </build> |
| 652 | <profiles> |
| 653 | <profile> |
| 654 | <id>docker</id> |
| 655 | <activation> |
| 656 | <activeByDefault>false</activeByDefault> |
| 657 | </activation> |
| 658 | <build> |
| 659 | <plugins> |
| 660 | <plugin> |
| 661 | <groupId>org.apache.maven.plugins</groupId> |
| 662 | <artifactId>maven-resources-plugin</artifactId> |
| 663 | <executions> |
| 664 | <execution> |
| 665 | <id>copy-sdctool</id> |
| 666 | <phase>verify</phase> |
| 667 | <goals> |
| 668 | <goal>copy-resources</goal> |
| 669 | </goals> |
| 670 | <configuration> |
| 671 | <outputDirectory> |
| 672 | ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default |
| 673 | </outputDirectory> |
| 674 | <resources> |
| 675 | <resource> |
| 676 | <directory>${project.parent.basedir}/asdctool/target</directory> |
| 677 | <includes> |
| 678 | <include>sdctool.tar</include> |
| 679 | </includes> |
| 680 | </resource> |
| 681 | </resources> |
| 682 | </configuration> |
| 683 | </execution> |
| 684 | </executions> |
| 685 | </plugin> |
| 686 | <plugin> |
| 687 | <groupId>io.fabric8</groupId> |
| 688 | <artifactId>docker-maven-plugin</artifactId> |
| 689 | <configuration> |
| 690 | <apiVersion>1.23</apiVersion> |
| 691 | <registry>nexus3.onap.org:10001</registry> |
| 692 | <authConfig> |
| 693 | <pull> |
| 694 | <username>docker</username> |
| 695 | <password>docker</password> |
| 696 | </pull> |
| 697 | </authConfig> |
| 698 | <images> |
| 699 | <!-- Build cassandra-init image --> |
| 700 | <image> |
| 701 | <name>onap/sdc-cassandra-init</name> |
| 702 | <alias>sdc-cassandra-init</alias> |
| 703 | <build> |
| 704 | <cleanup>try</cleanup> |
| 705 | <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir> |
| 706 | <tags> |
| 707 | <tag>${docker.tag}</tag> |
| 708 | <tag> |
| 709 | ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest |
| 710 | </tag> |
| 711 | </tags> |
| 712 | </build> |
| 713 | </image> |
| 714 | </images> |
| 715 | </configuration> |
| 716 | <executions> |
| 717 | <execution> |
| 718 | <id>clean-images</id> |
| 719 | <phase>pre-clean</phase> |
| 720 | <goals> |
| 721 | <goal>remove</goal> |
| 722 | </goals> |
| 723 | <configuration> |
| 724 | <removeAll>true</removeAll> |
| 725 | <image>onap/sdc-cassandra-init</image> |
| 726 | </configuration> |
| 727 | </execution> |
| 728 | |
| 729 | <execution> |
| 730 | <id>generate-images</id> |
| 731 | <phase>install</phase> |
| 732 | <goals> |
| 733 | <goal>build</goal> |
| 734 | </goals> |
| 735 | </execution> |
| 736 | |
| 737 | <execution> |
| 738 | <id>push-images</id> |
| 739 | <phase>deploy</phase> |
| 740 | <goals> |
| 741 | <goal>push</goal> |
| 742 | </goals> |
| 743 | <configuration> |
| 744 | <image>onap/sdc-cassandra-init</image> |
| 745 | </configuration> |
| 746 | </execution> |
| 747 | </executions> |
| 748 | </plugin> |
| 749 | </plugins> |
| 750 | </build> |
| 751 | </profile> |
| 752 | </profiles> |
k.kazak | 8d52607 | 2019-05-29 14:50:05 +0200 | [diff] [blame] | 753 | </project> |