blob: 34f958f334dbac8cc2c41d589e1894f9e0cfe23f [file] [log] [blame]
ys969316a9fce2020-01-19 13:50:02 +02001<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 Lando451a3402017-02-19 10:28:42 +02005
ys969316a9fce2020-01-19 13:50:02 +02006 <artifactId>asdctool</artifactId>
7 <packaging>jar</packaging>
Michael Lando451a3402017-02-19 10:28:42 +02008
ys969316a9fce2020-01-19 13:50:02 +02009 <parent>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
andre.schmid6f9721e2022-06-24 17:20:08 +010012 <version>1.11.6-SNAPSHOT</version>
ys969316a9fce2020-01-19 13:50:02 +020013 </parent>
Michael Lando451a3402017-02-19 10:28:42 +020014
ys969316a9fce2020-01-19 13:50:02 +020015 <dependencies>
Tomasz Golabekaa18a952019-06-07 09:28:23 +020016 <dependency>
ys969316a9fce2020-01-19 13:50:02 +020017 <groupId>com.google.guava</groupId>
18 <artifactId>guava</artifactId>
19 <version>${guava.version}</version>
20 <scope>compile</scope>
21 </dependency>
Tomasz Golabekaa18a952019-06-07 09:28:23 +020022
ys969316a9fce2020-01-19 13:50:02 +020023 <!-- ASDC dependencies -->
24 <dependency>
25 <groupId>org.openecomp.sdc.be</groupId>
26 <artifactId>common-be</artifactId>
27 <version>${project.version}</version>
28 <scope>compile</scope>
vasraz8dbc7322021-06-26 14:23:12 +010029 <exclusions>
30 <exclusion>
31 <groupId>org.springframework</groupId>
32 <artifactId>spring-core</artifactId>
33 </exclusion>
34 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +020035 </dependency>
36 <dependency>
37 <groupId>org.openecomp.sdc</groupId>
38 <artifactId>common-app-api</artifactId>
39 <version>${project.version}</version>
40 <scope>compile</scope>
vasraz987fc742021-11-29 17:42:02 +000041 <exclusions>
42 <exclusion>
43 <groupId>org.apache.httpcomponents</groupId>
44 <artifactId>httpcore</artifactId>
45 </exclusion>
vasraze4055452022-07-13 23:11:18 +010046 <exclusion>
47 <groupId>org.functionaljava</groupId>
48 <artifactId>functionaljava</artifactId>
49 </exclusion>
vasraz987fc742021-11-29 17:42:02 +000050 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +020051 </dependency>
vasrazca685bb2020-06-11 17:05:29 +010052 <dependency>
53 <groupId>com.fasterxml.jackson.core</groupId>
54 <artifactId>jackson-core</artifactId>
55 <version>${jackson.version}</version>
56 </dependency>
Tomasz Golabek5c55e232019-08-22 15:03:50 +020057
ys969316a9fce2020-01-19 13:50:02 +020058 <dependency>
59 <groupId>org.openecomp.sdc.be</groupId>
60 <artifactId>catalog-dao</artifactId>
61 <version>${project.version}</version>
vasrazca685bb2020-06-11 17:05:29 +010062 <exclusions>
63 <exclusion>
64 <groupId>com.fasterxml.jackson.core</groupId>
65 <artifactId>jackson-core</artifactId>
66 </exclusion>
67 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +020068 </dependency>
Tomasz Golabekaa18a952019-06-07 09:28:23 +020069
ys969316a9fce2020-01-19 13:50:02 +020070 <dependency>
71 <groupId>org.openecomp.sdc.be</groupId>
72 <artifactId>catalog-model</artifactId>
73 <version>${project.version}</version>
vasrazca685bb2020-06-11 17:05:29 +010074 <exclusions>
75 <exclusion>
76 <groupId>com.fasterxml.jackson.core</groupId>
77 <artifactId>jackson-core</artifactId>
78 </exclusion>
79 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +020080 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +030081
Yuli Shlosberg79e36272018-10-02 14:45:26 +030082
ys969316a9fce2020-01-19 13:50:02 +020083 <dependency>
84 <groupId>org.openecomp.sdc</groupId>
85 <artifactId>catalog-be</artifactId>
86 <version>${project.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +030087
ys969316a9fce2020-01-19 13:50:02 +020088 <!-- Comment Out in order to debug in eclipse -->
89 <classifier>classes</classifier>
Michael Lando451a3402017-02-19 10:28:42 +020090
ys969316a9fce2020-01-19 13:50:02 +020091 <exclusions>
92 <exclusion>
vasrazca685bb2020-06-11 17:05:29 +010093 <groupId>com.fasterxml.jackson.core</groupId>
94 <artifactId>jackson-core</artifactId>
95 </exclusion>
96 <exclusion>
vasraz086406a2021-02-22 09:50:07 +000097 <groupId>org.eclipse.jetty</groupId>
98 <artifactId>jetty-http</artifactId>
99 </exclusion>
100 <exclusion>
vasrazc81c95b2021-05-31 23:08:39 +0100101 <groupId>org.eclipse.jetty</groupId>
102 <artifactId>jetty-servlets</artifactId>
103 </exclusion>
104 <exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200105 <groupId>org.openecomp.ecompsdkos</groupId>
106 <artifactId>epsdk-fw</artifactId>
107 </exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200108
ys969316a9fce2020-01-19 13:50:02 +0200109 <exclusion>
110 <groupId>org.onap.sdc.common</groupId>
111 <artifactId>onap-common-lib</artifactId>
112 </exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200113
ys969316a9fce2020-01-19 13:50:02 +0200114 <exclusion>
115 <groupId>com.att.nsa</groupId>
116 <artifactId>cambriaClient</artifactId>
117 </exclusion>
118 <exclusion>
119 <groupId>com.att.nsa</groupId>
120 <artifactId>dmaapClient</artifactId>
121 </exclusion>
122 <exclusion>
123 <artifactId>slf4j-log4j12</artifactId>
124 <groupId>org.slf4j</groupId>
125 </exclusion>
vasraz8dbc7322021-06-26 14:23:12 +0100126 <exclusion>
127 <groupId>org.springframework</groupId>
128 <artifactId>spring-web</artifactId>
129 </exclusion>
130 <exclusion>
131 <groupId>org.springframework</groupId>
132 <artifactId>spring-webmvc</artifactId>
133 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200134
135 </exclusions>
136
137 <scope>compile</scope>
138 </dependency>
139
140 <dependency>
141 <groupId>org.onap.portal.sdk</groupId>
142 <artifactId>epsdk-fw</artifactId>
143 <version>${ecomp.version}</version>
144 <scope>compile</scope>
145 <exclusions>
146 <exclusion>
147 <groupId>com.att.nsa</groupId>
148 <artifactId>cambriaClient</artifactId>
149 </exclusion>
150 <exclusion>
151 <groupId>com.att.nsa</groupId>
152 <artifactId>dmaapClient</artifactId>
153 </exclusion>
154 <exclusion>
155 <artifactId>slf4j-log4j12</artifactId>
156 <groupId>org.slf4j</groupId>
157 </exclusion>
sebdeta9fffd22020-10-08 13:28:36 +0200158 <exclusion>
159 <artifactId>log4j</artifactId>
160 <groupId>log4j</groupId>
161 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200162 </exclusions>
163 </dependency>
164
165
166 <!-- ASDC dependencies end -->
167 <dependency>
168 <groupId>org.eclipse.jetty</groupId>
169 <artifactId>jetty-server</artifactId>
170 <version>${jetty.version}</version>
171 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000172 <exclusions>
173 <exclusion>
174 <groupId>org.eclipse.jetty</groupId>
175 <artifactId>jetty-http</artifactId>
176 </exclusion>
177 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200178 </dependency>
179
180 <dependency>
181 <groupId>org.eclipse.jetty</groupId>
182 <artifactId>jetty-util</artifactId>
183 <version>${jetty.version}</version>
184 <scope>compile</scope>
185 </dependency>
186
187 <!-- listen to file changes -->
188 <dependency>
189 <groupId>org.apache.commons</groupId>
190 <artifactId>commons-jci-core</artifactId>
191 <version>${commons-jci-core.version}</version>
192 <scope>compile</scope>
vasrazb7ea3ef2021-05-12 13:56:51 +0100193 <exclusions>
194 <exclusion>
195 <groupId>commons-io</groupId>
196 <artifactId>commons-io</artifactId>
197 </exclusion>
198 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200199 </dependency>
200
201 <dependency>
202 <groupId>commons-cli</groupId>
203 <artifactId>commons-cli</artifactId>
204 <version>1.4</version>
205 </dependency>
206
207 <dependency>
208 <groupId>org.eclipse.jetty</groupId>
209 <artifactId>jetty-servlet</artifactId>
210 <version>${jetty.version}</version>
211 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000212 <exclusions>
213 <exclusion>
214 <groupId>org.eclipse.jetty</groupId>
215 <artifactId>jetty-server</artifactId>
216 </exclusion>
vasrazc81c95b2021-05-31 23:08:39 +0100217 <exclusion>
218 <groupId>org.eclipse.jetty</groupId>
219 <artifactId>jetty-security</artifactId>
220 </exclusion>
vasraz086406a2021-02-22 09:50:07 +0000221 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200222 </dependency>
223
224 <dependency>
225 <groupId>org.glassfish.jersey.core</groupId>
226 <artifactId>jersey-server</artifactId>
227 <version>${jersey-bom.version}</version>
228 <scope>compile</scope>
229 </dependency>
230
231 <dependency>
232 <groupId>org.glassfish.jersey.containers</groupId>
233 <artifactId>jersey-container-servlet-core</artifactId>
234 <version>${jersey-bom.version}</version>
235 <scope>compile</scope>
236 </dependency>
237
238 <dependency>
239 <groupId>org.glassfish.jersey.containers</groupId>
240 <artifactId>jersey-container-jetty-http</artifactId>
241 <version>${jersey-bom.version}</version>
242 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000243 <exclusions>
244 <exclusion>
245 <groupId>org.eclipse.jetty</groupId>
246 <artifactId>jetty-continuation</artifactId>
247 </exclusion>
248 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200249 </dependency>
250
251 <dependency>
252 <groupId>org.glassfish.jersey.media</groupId>
253 <artifactId>jersey-media-moxy</artifactId>
254 <version>${jersey-bom.version}</version>
255 <scope>compile</scope>
256 </dependency>
257
258 <dependency>
259 <groupId>org.glassfish.jersey.media</groupId>
260 <artifactId>jersey-media-multipart</artifactId>
261 <version>${jersey-bom.version}</version>
262 <scope>compile</scope>
263 </dependency>
264
265 <!-- slf4j + logback -->
266 <dependency>
267 <groupId>org.slf4j</groupId>
268 <artifactId>slf4j-api</artifactId>
269 <version>${slf4j-api.version}</version>
270 <scope>compile</scope>
271 </dependency>
272
273 <dependency>
274 <groupId>ch.qos.logback</groupId>
275 <artifactId>logback-classic</artifactId>
276 <version>${logback.version}</version>
277 <scope>compile</scope>
278 </dependency>
279
280 <dependency>
281 <groupId>ch.qos.logback</groupId>
282 <artifactId>logback-core</artifactId>
283 <version>${logback.version}</version>
284 <scope>compile</scope>
285 </dependency>
286
287 <!-- groovy -->
288 <dependency>
289 <groupId>org.codehaus.groovy</groupId>
290 <artifactId>groovy</artifactId>
291 <scope>compile</scope>
292 </dependency>
293
294 <dependency>
295 <groupId>org.apache.commons</groupId>
296 <artifactId>commons-configuration2</artifactId>
297 <version>${commons-configuration}</version>
298 </dependency>
299
300 <dependency>
301 <groupId>org.janusgraph</groupId>
302 <artifactId>janusgraph-core</artifactId>
303 <version>${janusgraph.version}</version>
304 <scope>compile</scope>
305 <exclusions>
306 <exclusion>
vasraz086406a2021-02-22 09:50:07 +0000307 <artifactId>gremlin-groovy</artifactId>
308 <groupId>org.apache.tinkerpop</groupId>
309 </exclusion>
310 <exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200311 <groupId>org.json</groupId>
312 <artifactId>json</artifactId>
313 </exclusion>
314 <exclusion>
315 <groupId>org.slf4j</groupId>
316 <artifactId>slf4j-log4j12</artifactId>
317 </exclusion>
318 <exclusion>
319 <artifactId>commons-collections</artifactId>
320 <groupId>commons-collections</groupId>
321 </exclusion>
322 <exclusion>
323 <artifactId>groovy</artifactId>
324 <groupId>org.codehaus.groovy</groupId>
325 </exclusion>
326 <exclusion>
327 <groupId>org.apache.thrift</groupId>
328 <artifactId>libthrift</artifactId>
329 </exclusion>
vasrazb7ea3ef2021-05-12 13:56:51 +0100330 <exclusion>
331 <groupId>commons-io</groupId>
332 <artifactId>commons-io</artifactId>
333 </exclusion>
vasraz66af7c52021-07-20 23:22:45 +0100334 <exclusion>
335 <groupId>commons-codec</groupId>
336 <artifactId>commons-codec</artifactId>
337 </exclusion>
vasrazb65fcbf2021-07-26 15:01:06 +0100338 <exclusion>
339 <groupId>dom4j</groupId>
340 <artifactId>dom4j</artifactId>
341 </exclusion>
vasraz987fc742021-11-29 17:42:02 +0000342 <exclusion>
343 <groupId>org.slf4j</groupId>
344 <artifactId>jcl-over-slf4j</artifactId>
345 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200346 </exclusions>
347 </dependency>
348
349 <dependency>
vasrazb65fcbf2021-07-26 15:01:06 +0100350 <groupId>org.dom4j</groupId>
351 <artifactId>dom4j</artifactId>
352 <version>${org.dom4j.version}</version>
353 </dependency>
354
355 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200356 <groupId>com.googlecode.json-simple</groupId>
357 <artifactId>json-simple</artifactId>
358 <version>${json-simple.version}</version>
359 <scope>compile</scope>
360 </dependency>
361
362 <dependency>
363 <groupId>org.janusgraph</groupId>
364 <artifactId>janusgraph-cassandra</artifactId>
365 <version>${janusgraph.version}</version>
366 <scope>compile</scope>
367 <exclusions>
368 <exclusion>
369 <groupId>org.slf4j</groupId>
370 <artifactId>slf4j-log4j12</artifactId>
371 </exclusion>
vasrazc81c95b2021-05-31 23:08:39 +0100372 <exclusion>
373 <groupId>org.apache.thrift</groupId>
374 <artifactId>libthrift</artifactId>
375 </exclusion>
376 <exclusion>
377 <groupId>org.codehaus.jackson</groupId>
378 <artifactId>jackson-mapper-asl</artifactId>
379 </exclusion>
vasraz66af7c52021-07-20 23:22:45 +0100380 <exclusion>
381 <groupId>org.hibernate</groupId>
382 <artifactId>hibernate-validator</artifactId>
383 </exclusion>
vasrazb65fcbf2021-07-26 15:01:06 +0100384 <exclusion>
385 <groupId>org.apache.cassandra</groupId>
386 <artifactId>cassandra-all</artifactId>
387 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200388 </exclusions>
389 </dependency>
390
391 <dependency>
392 <groupId>commons-logging</groupId>
393 <artifactId>commons-logging</artifactId>
394 <version>${commons-logging}</version>
395 <scope>compile</scope>
396 </dependency>
397
398 <dependency>
399 <groupId>commons-codec</groupId>
400 <artifactId>commons-codec</artifactId>
401 <version>${commons-codec}</version>
402 <scope>compile</scope>
403 </dependency>
404
405 <dependency>
406 <groupId>com.fasterxml.jackson.core</groupId>
407 <artifactId>jackson-databind</artifactId>
408 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100409 <exclusions>
410 <exclusion>
411 <groupId>com.fasterxml.jackson.core</groupId>
412 <artifactId>jackson-core</artifactId>
413 </exclusion>
414 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200415 </dependency>
416
417 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
418 <dependency>
419 <groupId>com.fasterxml.jackson.core</groupId>
420 <artifactId>jackson-annotations</artifactId>
421 <version>${jackson-annotations.version}</version>
422 </dependency>
423
424 <dependency>
425 <groupId>com.google.code.gson</groupId>
426 <artifactId>gson</artifactId>
427 <version>${gson.version}</version>
428 <scope>compile</scope>
429 </dependency>
430
431 <dependency>
432 <groupId>org.apache.httpcomponents</groupId>
433 <artifactId>httpclient</artifactId>
434 <version>${httpclient.version}</version>
435 <scope>compile</scope>
vasraz987fc742021-11-29 17:42:02 +0000436 <exclusions>
437 <exclusion>
438 <groupId>org.apache.httpcomponents</groupId>
439 <artifactId>httpcore</artifactId>
440 </exclusion>
441 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200442 </dependency>
443
444 <dependency>
445 <groupId>org.apache.httpcomponents</groupId>
446 <artifactId>httpcore</artifactId>
447 <version>${httpcore.version}</version>
448 <scope>compile</scope>
449 </dependency>
450
451 <!-- Spring 4 dependencies -->
452 <dependency>
453 <groupId>org.springframework</groupId>
454 <artifactId>spring-core</artifactId>
455 <version>${spring.version}</version>
456 <scope>compile</scope>
457 </dependency>
458
459 <dependency>
460 <groupId>org.springframework</groupId>
461 <artifactId>spring-context</artifactId>
462 <version>${spring.version}</version>
463 <scope>compile</scope>
vasraz8dbc7322021-06-26 14:23:12 +0100464 <exclusions>
465 <exclusion>
466 <groupId>org.springframework</groupId>
467 <artifactId>spring-expression</artifactId>
468 </exclusion>
469 <exclusion>
470 <groupId>org.springframework</groupId>
471 <artifactId>spring-core</artifactId>
472 </exclusion>
473 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200474 </dependency>
475
476 <dependency>
477 <groupId>org.springframework</groupId>
478 <artifactId>spring-expression</artifactId>
479 <version>${spring.version}</version>
480 <scope>compile</scope>
481 </dependency>
482
483 <dependency>
484 <groupId>org.springframework</groupId>
485 <artifactId>spring-beans</artifactId>
486 <version>${spring.version}</version>
487 <scope>compile</scope>
488 </dependency>
489
490 <dependency>
491 <groupId>org.springframework</groupId>
492 <artifactId>spring-aop</artifactId>
493 <version>${spring.version}</version>
494 <scope>compile</scope>
vasraz8dbc7322021-06-26 14:23:12 +0100495 <exclusions>
496 <exclusion>
497 <groupId>org.springframework</groupId>
498 <artifactId>spring-core</artifactId>
499 </exclusion>
500 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200501 </dependency>
502
503 <!-- Spring 4 dependencies end -->
504 <!-- JavaConfig need this library -->
505 <dependency>
506 <groupId>cglib</groupId>
507 <artifactId>cglib</artifactId>
508 <version>3.2.4</version>
509 <scope>compile</scope>
510 </dependency>
511
512 <dependency>
513 <groupId>org.yaml</groupId>
514 <artifactId>snakeyaml</artifactId>
515 <version>${snakeyaml.version}</version>
516 <scope>compile</scope>
517 </dependency>
518
519 <dependency>
520 <groupId>org.functionaljava</groupId>
521 <artifactId>functionaljava</artifactId>
522 <version>${functionaljava.version}</version>
523 <scope>compile</scope>
524 </dependency>
525
526 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200527 <groupId>com.fasterxml.jackson.dataformat</groupId>
528 <artifactId>jackson-dataformat-yaml</artifactId>
529 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100530 <exclusions>
531 <exclusion>
532 <groupId>com.fasterxml.jackson.core</groupId>
533 <artifactId>jackson-core</artifactId>
534 </exclusion>
535 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200536 </dependency>
537
538 <!-- CASSANDRA -->
539 <dependency>
540 <groupId>com.datastax.cassandra</groupId>
541 <artifactId>cassandra-driver-core</artifactId>
542 <version>${cassandra.driver.version}</version>
543 <scope>compile</scope>
544 </dependency>
545
546 <dependency>
547 <groupId>com.datastax.cassandra</groupId>
548 <artifactId>cassandra-driver-mapping</artifactId>
549 <version>${cassandra.driver.version}</version>
550 <scope>compile</scope>
551 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200552
553 <!-- CASSANDRA END -->
554
555 <!-- OPEN CSV -->
556 <dependency>
557 <groupId>com.opencsv</groupId>
558 <artifactId>opencsv</artifactId>
559 <version>4.0</version>
560 <scope>compile</scope>
561 </dependency>
562
563 <dependency>
564 <groupId>org.apache.poi</groupId>
565 <artifactId>poi</artifactId>
566 <version>${apache-poi.version}</version>
567 </dependency>
568
ys969316a9fce2020-01-19 13:50:02 +0200569 <!-- Temporary, till building the populate task which adding all components
570 to cache. We will use Serialization Utils. -->
571 <dependency>
572 <groupId>de.ruedigermoeller</groupId>
573 <artifactId>fst</artifactId>
574 <version>2.47</version>
vasrazca685bb2020-06-11 17:05:29 +0100575 <exclusions>
576 <exclusion>
577 <groupId>com.fasterxml.jackson.core</groupId>
578 <artifactId>jackson-core</artifactId>
579 </exclusion>
580 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200581 </dependency>
582
583 <!-- testing -->
584 <dependency>
585 <groupId>org.hamcrest</groupId>
586 <artifactId>hamcrest-all</artifactId>
587 <version>${hamcrest-all.version}</version>
588 <scope>test</scope>
589 </dependency>
590
591 <dependency>
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +0200592 <groupId>org.junit.jupiter</groupId>
593 <artifactId>junit-jupiter</artifactId>
594 <version>${junitJupiter.version}</version>
595 <scope>test</scope>
596 </dependency>
597
598 <dependency>
599 <groupId>org.mockito</groupId>
600 <artifactId>mockito-junit-jupiter</artifactId>
601 <version>${mockitoJupiter.version}</version>
602 <scope>test</scope>
603 </dependency>
604
605 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200606 <groupId>org.assertj</groupId>
607 <artifactId>assertj-core</artifactId>
608 <scope>test</scope>
609 </dependency>
610
611 <dependency>
612 <groupId>com.google.code.bean-matchers</groupId>
613 <artifactId>bean-matchers</artifactId>
614 <version>${bean-matchers.version}</version>
615 <scope>test</scope>
616 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200617 <!-- testing end -->
618
619 <dependency>
620 <groupId>io.netty</groupId>
621 <artifactId>netty-all</artifactId>
622 </dependency>
623
624 <dependency>
625 <groupId>io.netty</groupId>
626 <artifactId>netty-handler</artifactId>
627 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200628 </dependencies>
629
630 <build>
631 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
632 <plugins>
633 <plugin>
634 <groupId>org.apache.maven.plugins</groupId>
635 <artifactId>maven-deploy-plugin</artifactId>
636 <configuration>
637 <skip>true</skip>
638 </configuration>
639 </plugin>
640
641 <plugin>
642 <groupId>org.apache.maven.plugins</groupId>
643 <artifactId>maven-assembly-plugin</artifactId>
644 <executions>
645 <execution>
646 <configuration>
647 <finalName>sdctool</finalName>
648 <appendAssemblyId>false</appendAssemblyId>
649 <descriptors>
650 <descriptor>${project.basedir}/tarball.xml</descriptor>
651 </descriptors>
652 </configuration>
653 <id>assemble-file</id>
654 <phase>verify</phase>
655 <goals>
656 <goal>single</goal>
657 </goals>
658 </execution>
659 </executions>
660 </plugin>
661 <plugin>
662 <groupId>org.apache.maven.plugins</groupId>
663 <artifactId>maven-shade-plugin</artifactId>
664 <executions>
665 <execution>
666 <phase>package</phase>
667 <goals>
668 <goal>shade</goal>
669 </goals>
670 <configuration>
671 <filters>
672 <filter>
673 <artifact>org.openecomp.sdc:*</artifact>
674 <excludes>
675 <exclude>**/elasticsearch.yml</exclude>
676 </excludes>
677 </filter>
678 <filter>
679 <artifact>*:*</artifact>
680 <excludes>
681 <exclude>META-INF/*.SF</exclude>
682 <exclude>META-INF/*.DSA</exclude>
683 <exclude>META-INF/*.RSA</exclude>
684 </excludes>
685 </filter>
686 </filters>
687 <transformers>
688 <transformer
689 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
690 </transformers>
691 </configuration>
692 </execution>
693 </executions>
694 </plugin>
695 <plugin>
696 <groupId>ru.yaal.maven</groupId>
697 <artifactId>write-text-files-maven-plugin</artifactId>
698 <configuration>
699 <charset>UTF-8</charset>
700 <files>
701 <file>
702 <path>
703 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
704 </path>
705 <lines>
andre.schmid8f967e42020-01-22 14:49:32 +0000706 <line>
707 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
ys969316a9fce2020-01-19 13:50:02 +0200708 </line>
709 </lines>
710 </file>
711 </files>
712 </configuration>
713 <executions>
714 <execution>
715 <id>write-text-files</id>
716 <phase>prepare-package</phase>
717 <goals>
718 <goal>write-text-files</goal>
719 </goals>
720 </execution>
721 </executions>
722 </plugin>
723 <plugin>
724 <groupId>org.apache.maven.plugins</groupId>
725 <artifactId>maven-resources-plugin</artifactId>
726 <executions>
727 <execution>
728 <id>copy-tosca-folder</id>
729 <!-- here the phase you need -->
730 <phase>compile</phase>
731 <goals>
732 <goal>copy-resources</goal>
733 </goals>
734 <configuration>
735 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
736 <resources>
737 <resource>
738 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
739 </directory>
ys969316a9fce2020-01-19 13:50:02 +0200740 </resource>
741 </resources>
742 </configuration>
743 </execution>
744 </executions>
745 </plugin>
746 <plugin>
747 <groupId>com.github.sylvainlaurent.maven</groupId>
748 <artifactId>yaml-json-validator-maven-plugin</artifactId>
749 <executions>
750 <execution>
751 <id>validate</id>
752 <phase>validate</phase>
753 <goals>
754 <goal>validate</goal>
755 </goals>
756 <configuration>
757 <validationSets>
758 <validationSet>
759 <includes>
760 <include>src/main/resources/**/*.y*ml</include>
761 <include>src/test/resources/**/*.y*ml</include>
762 </includes>
763 </validationSet>
764 <validationSet>
765 <includes>
766 <include>src/main/resources/**/*.json</include>
767 <include>src/test/resources/**/*.json</include>
768 </includes>
769 <excludes>
770 <exclude>src/test/resources/graphError.json</exclude>
771 </excludes>
772 </validationSet>
773 </validationSets>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200774 <skip>${skipYamlJsonValidator}</skip>
ys969316a9fce2020-01-19 13:50:02 +0200775 </configuration>
776 </execution>
777 </executions>
778 </plugin>
779 </plugins>
780 </build>
781 <profiles>
782 <profile>
783 <id>docker</id>
784 <activation>
785 <activeByDefault>false</activeByDefault>
786 </activation>
787 <build>
788 <plugins>
789 <plugin>
790 <groupId>org.apache.maven.plugins</groupId>
andre.schmid7b60bd72021-09-28 11:24:44 +0100791 <artifactId>maven-clean-plugin</artifactId>
792 <executions>
793 <execution>
794 <id>clean.sdctool.tar</id>
795 <phase>initialize</phase>
796 <goals>
797 <goal>clean</goal>
798 </goals>
799 <configuration>
800 <filesets>
801 <fileset>
802 <directory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
803 <includes>
804 <include>sdctool.tar</include>
805 </includes>
806 </fileset>
807 </filesets>
808 </configuration>
809 </execution>
810 </executions>
811 </plugin>
812 <plugin>
813 <groupId>org.apache.maven.plugins</groupId>
ys969316a9fce2020-01-19 13:50:02 +0200814 <artifactId>maven-resources-plugin</artifactId>
815 <executions>
816 <execution>
817 <id>copy-sdctool</id>
818 <phase>verify</phase>
819 <goals>
820 <goal>copy-resources</goal>
821 </goals>
822 <configuration>
823 <outputDirectory>
824 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
825 </outputDirectory>
andre.schmid7b60bd72021-09-28 11:24:44 +0100826 <overwrite>true</overwrite>
ys969316a9fce2020-01-19 13:50:02 +0200827 <resources>
828 <resource>
829 <directory>${project.parent.basedir}/asdctool/target</directory>
830 <includes>
831 <include>sdctool.tar</include>
832 </includes>
833 </resource>
834 </resources>
835 </configuration>
836 </execution>
837 </executions>
838 </plugin>
839 <plugin>
840 <groupId>io.fabric8</groupId>
841 <artifactId>docker-maven-plugin</artifactId>
842 <configuration>
sebdetdf353be2020-09-21 22:13:05 +0200843 <verbose>${verbose}</verbose>
sebdet591810d2020-09-17 15:07:23 +0200844 <apiVersion>${docker.api.version}</apiVersion>
vasraz8b1002a2021-12-08 22:12:52 +0000845 <registry>${docker.registry}</registry>
ys969316a9fce2020-01-19 13:50:02 +0200846 <authConfig>
847 <pull>
vasraz8b1002a2021-12-08 22:12:52 +0000848 <username>${docker.username}</username>
849 <password>${docker.password}</password>
ys969316a9fce2020-01-19 13:50:02 +0200850 </pull>
851 </authConfig>
852 <images>
853 <!-- Build cassandra-init image -->
854 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000855 <name>${docker.namespace}/sdc-cassandra-init</name>
ys969316a9fce2020-01-19 13:50:02 +0200856 <alias>sdc-cassandra-init</alias>
857 <build>
858 <cleanup>try</cleanup>
859 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
860 <tags>
sebdetb988cb62020-09-25 15:48:10 +0200861 <tag>latest</tag>
ys969316a9fce2020-01-19 13:50:02 +0200862 <tag>
863 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
864 </tag>
vasraz66af7c52021-07-20 23:22:45 +0100865 <tag>
866 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
867 </tag>
ys969316a9fce2020-01-19 13:50:02 +0200868 </tags>
869 </build>
870 </image>
871 </images>
872 </configuration>
873 <executions>
874 <execution>
875 <id>clean-images</id>
876 <phase>pre-clean</phase>
877 <goals>
878 <goal>remove</goal>
879 </goals>
880 <configuration>
881 <removeAll>true</removeAll>
vasraz8b1002a2021-12-08 22:12:52 +0000882 <image>${docker.namespace}/sdc-cassandra-init</image>
ys969316a9fce2020-01-19 13:50:02 +0200883 </configuration>
884 </execution>
885
886 <execution>
887 <id>generate-images</id>
888 <phase>install</phase>
889 <goals>
890 <goal>build</goal>
891 </goals>
892 </execution>
893
894 <execution>
895 <id>push-images</id>
896 <phase>deploy</phase>
897 <goals>
898 <goal>push</goal>
899 </goals>
900 <configuration>
vasraz8b1002a2021-12-08 22:12:52 +0000901 <image>${docker.namespace}/sdc-cassandra-init</image>
ys969316a9fce2020-01-19 13:50:02 +0200902 </configuration>
903 </execution>
904 </executions>
905 </plugin>
906 </plugins>
907 </build>
908 </profile>
909 </profiles>
k.kazak8d526072019-05-29 14:50:05 +0200910</project>