blob: e6a652113c3292862ddfb4929f47de74f17e9eb6 [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>
MichaelMorris53aed702021-09-28 16:08:53 +010012 <version>1.10.0-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>
46 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +020047 </dependency>
vasrazca685bb2020-06-11 17:05:29 +010048 <dependency>
49 <groupId>com.fasterxml.jackson.core</groupId>
50 <artifactId>jackson-core</artifactId>
51 <version>${jackson.version}</version>
52 </dependency>
Tomasz Golabek5c55e232019-08-22 15:03:50 +020053
ys969316a9fce2020-01-19 13:50:02 +020054 <dependency>
55 <groupId>org.openecomp.sdc.be</groupId>
56 <artifactId>catalog-dao</artifactId>
57 <version>${project.version}</version>
vasrazca685bb2020-06-11 17:05:29 +010058 <exclusions>
59 <exclusion>
60 <groupId>com.fasterxml.jackson.core</groupId>
61 <artifactId>jackson-core</artifactId>
62 </exclusion>
63 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +020064 </dependency>
Tomasz Golabekaa18a952019-06-07 09:28:23 +020065
ys969316a9fce2020-01-19 13:50:02 +020066 <dependency>
67 <groupId>org.openecomp.sdc.be</groupId>
68 <artifactId>catalog-model</artifactId>
69 <version>${project.version}</version>
vasrazca685bb2020-06-11 17:05:29 +010070 <exclusions>
71 <exclusion>
72 <groupId>com.fasterxml.jackson.core</groupId>
73 <artifactId>jackson-core</artifactId>
74 </exclusion>
75 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +020076 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +030077
Yuli Shlosberg79e36272018-10-02 14:45:26 +030078
ys969316a9fce2020-01-19 13:50:02 +020079 <dependency>
80 <groupId>org.openecomp.sdc</groupId>
81 <artifactId>catalog-be</artifactId>
82 <version>${project.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +030083
ys969316a9fce2020-01-19 13:50:02 +020084 <!-- Comment Out in order to debug in eclipse -->
85 <classifier>classes</classifier>
Michael Lando451a3402017-02-19 10:28:42 +020086
ys969316a9fce2020-01-19 13:50:02 +020087 <exclusions>
88 <exclusion>
vasrazca685bb2020-06-11 17:05:29 +010089 <groupId>com.fasterxml.jackson.core</groupId>
90 <artifactId>jackson-core</artifactId>
91 </exclusion>
92 <exclusion>
vasraz086406a2021-02-22 09:50:07 +000093 <groupId>org.eclipse.jetty</groupId>
94 <artifactId>jetty-http</artifactId>
95 </exclusion>
96 <exclusion>
vasrazc81c95b2021-05-31 23:08:39 +010097 <groupId>org.eclipse.jetty</groupId>
98 <artifactId>jetty-servlets</artifactId>
99 </exclusion>
100 <exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200101 <groupId>org.openecomp.ecompsdkos</groupId>
102 <artifactId>epsdk-fw</artifactId>
103 </exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200104
ys969316a9fce2020-01-19 13:50:02 +0200105 <exclusion>
106 <groupId>org.onap.sdc.common</groupId>
107 <artifactId>onap-common-lib</artifactId>
108 </exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200109
ys969316a9fce2020-01-19 13:50:02 +0200110 <exclusion>
111 <groupId>com.att.nsa</groupId>
112 <artifactId>cambriaClient</artifactId>
113 </exclusion>
114 <exclusion>
115 <groupId>com.att.nsa</groupId>
116 <artifactId>dmaapClient</artifactId>
117 </exclusion>
118 <exclusion>
119 <artifactId>slf4j-log4j12</artifactId>
120 <groupId>org.slf4j</groupId>
121 </exclusion>
vasraz8dbc7322021-06-26 14:23:12 +0100122 <exclusion>
123 <groupId>org.springframework</groupId>
124 <artifactId>spring-web</artifactId>
125 </exclusion>
126 <exclusion>
127 <groupId>org.springframework</groupId>
128 <artifactId>spring-webmvc</artifactId>
129 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200130
131 </exclusions>
132
133 <scope>compile</scope>
134 </dependency>
135
136 <dependency>
137 <groupId>org.onap.portal.sdk</groupId>
138 <artifactId>epsdk-fw</artifactId>
139 <version>${ecomp.version}</version>
140 <scope>compile</scope>
141 <exclusions>
142 <exclusion>
143 <groupId>com.att.nsa</groupId>
144 <artifactId>cambriaClient</artifactId>
145 </exclusion>
146 <exclusion>
147 <groupId>com.att.nsa</groupId>
148 <artifactId>dmaapClient</artifactId>
149 </exclusion>
150 <exclusion>
151 <artifactId>slf4j-log4j12</artifactId>
152 <groupId>org.slf4j</groupId>
153 </exclusion>
sebdeta9fffd22020-10-08 13:28:36 +0200154 <exclusion>
155 <artifactId>log4j</artifactId>
156 <groupId>log4j</groupId>
157 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200158 </exclusions>
159 </dependency>
160
161
162 <!-- ASDC dependencies end -->
163 <dependency>
164 <groupId>org.eclipse.jetty</groupId>
165 <artifactId>jetty-server</artifactId>
166 <version>${jetty.version}</version>
167 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000168 <exclusions>
169 <exclusion>
170 <groupId>org.eclipse.jetty</groupId>
171 <artifactId>jetty-http</artifactId>
172 </exclusion>
173 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200174 </dependency>
175
176 <dependency>
177 <groupId>org.eclipse.jetty</groupId>
178 <artifactId>jetty-util</artifactId>
179 <version>${jetty.version}</version>
180 <scope>compile</scope>
181 </dependency>
182
183 <!-- listen to file changes -->
184 <dependency>
185 <groupId>org.apache.commons</groupId>
186 <artifactId>commons-jci-core</artifactId>
187 <version>${commons-jci-core.version}</version>
188 <scope>compile</scope>
vasrazb7ea3ef2021-05-12 13:56:51 +0100189 <exclusions>
190 <exclusion>
191 <groupId>commons-io</groupId>
192 <artifactId>commons-io</artifactId>
193 </exclusion>
194 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200195 </dependency>
196
197 <dependency>
198 <groupId>commons-cli</groupId>
199 <artifactId>commons-cli</artifactId>
200 <version>1.4</version>
201 </dependency>
202
203 <dependency>
204 <groupId>org.eclipse.jetty</groupId>
205 <artifactId>jetty-servlet</artifactId>
206 <version>${jetty.version}</version>
207 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000208 <exclusions>
209 <exclusion>
210 <groupId>org.eclipse.jetty</groupId>
211 <artifactId>jetty-server</artifactId>
212 </exclusion>
vasrazc81c95b2021-05-31 23:08:39 +0100213 <exclusion>
214 <groupId>org.eclipse.jetty</groupId>
215 <artifactId>jetty-security</artifactId>
216 </exclusion>
vasraz086406a2021-02-22 09:50:07 +0000217 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200218 </dependency>
219
220 <dependency>
221 <groupId>org.glassfish.jersey.core</groupId>
222 <artifactId>jersey-server</artifactId>
223 <version>${jersey-bom.version}</version>
224 <scope>compile</scope>
225 </dependency>
226
227 <dependency>
228 <groupId>org.glassfish.jersey.containers</groupId>
229 <artifactId>jersey-container-servlet-core</artifactId>
230 <version>${jersey-bom.version}</version>
231 <scope>compile</scope>
232 </dependency>
233
234 <dependency>
235 <groupId>org.glassfish.jersey.containers</groupId>
236 <artifactId>jersey-container-jetty-http</artifactId>
237 <version>${jersey-bom.version}</version>
238 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000239 <exclusions>
240 <exclusion>
241 <groupId>org.eclipse.jetty</groupId>
242 <artifactId>jetty-continuation</artifactId>
243 </exclusion>
244 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200245 </dependency>
246
247 <dependency>
248 <groupId>org.glassfish.jersey.media</groupId>
249 <artifactId>jersey-media-moxy</artifactId>
250 <version>${jersey-bom.version}</version>
251 <scope>compile</scope>
252 </dependency>
253
254 <dependency>
255 <groupId>org.glassfish.jersey.media</groupId>
256 <artifactId>jersey-media-multipart</artifactId>
257 <version>${jersey-bom.version}</version>
258 <scope>compile</scope>
259 </dependency>
260
261 <!-- slf4j + logback -->
262 <dependency>
263 <groupId>org.slf4j</groupId>
264 <artifactId>slf4j-api</artifactId>
265 <version>${slf4j-api.version}</version>
266 <scope>compile</scope>
267 </dependency>
268
269 <dependency>
270 <groupId>ch.qos.logback</groupId>
271 <artifactId>logback-classic</artifactId>
272 <version>${logback.version}</version>
273 <scope>compile</scope>
274 </dependency>
275
276 <dependency>
277 <groupId>ch.qos.logback</groupId>
278 <artifactId>logback-core</artifactId>
279 <version>${logback.version}</version>
280 <scope>compile</scope>
281 </dependency>
282
283 <!-- groovy -->
284 <dependency>
285 <groupId>org.codehaus.groovy</groupId>
286 <artifactId>groovy</artifactId>
287 <scope>compile</scope>
288 </dependency>
289
290 <dependency>
291 <groupId>org.apache.commons</groupId>
292 <artifactId>commons-configuration2</artifactId>
293 <version>${commons-configuration}</version>
294 </dependency>
295
296 <dependency>
297 <groupId>org.janusgraph</groupId>
298 <artifactId>janusgraph-core</artifactId>
299 <version>${janusgraph.version}</version>
300 <scope>compile</scope>
301 <exclusions>
302 <exclusion>
vasraz086406a2021-02-22 09:50:07 +0000303 <artifactId>gremlin-groovy</artifactId>
304 <groupId>org.apache.tinkerpop</groupId>
305 </exclusion>
306 <exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200307 <groupId>org.json</groupId>
308 <artifactId>json</artifactId>
309 </exclusion>
310 <exclusion>
311 <groupId>org.slf4j</groupId>
312 <artifactId>slf4j-log4j12</artifactId>
313 </exclusion>
314 <exclusion>
315 <artifactId>commons-collections</artifactId>
316 <groupId>commons-collections</groupId>
317 </exclusion>
318 <exclusion>
319 <artifactId>groovy</artifactId>
320 <groupId>org.codehaus.groovy</groupId>
321 </exclusion>
322 <exclusion>
323 <groupId>org.apache.thrift</groupId>
324 <artifactId>libthrift</artifactId>
325 </exclusion>
vasrazb7ea3ef2021-05-12 13:56:51 +0100326 <exclusion>
327 <groupId>commons-io</groupId>
328 <artifactId>commons-io</artifactId>
329 </exclusion>
vasraz66af7c52021-07-20 23:22:45 +0100330 <exclusion>
331 <groupId>commons-codec</groupId>
332 <artifactId>commons-codec</artifactId>
333 </exclusion>
vasrazb65fcbf2021-07-26 15:01:06 +0100334 <exclusion>
335 <groupId>dom4j</groupId>
336 <artifactId>dom4j</artifactId>
337 </exclusion>
vasraz987fc742021-11-29 17:42:02 +0000338 <exclusion>
339 <groupId>org.slf4j</groupId>
340 <artifactId>jcl-over-slf4j</artifactId>
341 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200342 </exclusions>
343 </dependency>
344
345 <dependency>
vasrazb65fcbf2021-07-26 15:01:06 +0100346 <groupId>org.dom4j</groupId>
347 <artifactId>dom4j</artifactId>
348 <version>${org.dom4j.version}</version>
349 </dependency>
350
351 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200352 <groupId>com.googlecode.json-simple</groupId>
353 <artifactId>json-simple</artifactId>
354 <version>${json-simple.version}</version>
355 <scope>compile</scope>
356 </dependency>
357
358 <dependency>
359 <groupId>org.janusgraph</groupId>
360 <artifactId>janusgraph-cassandra</artifactId>
361 <version>${janusgraph.version}</version>
362 <scope>compile</scope>
363 <exclusions>
364 <exclusion>
365 <groupId>org.slf4j</groupId>
366 <artifactId>slf4j-log4j12</artifactId>
367 </exclusion>
vasrazc81c95b2021-05-31 23:08:39 +0100368 <exclusion>
369 <groupId>org.apache.thrift</groupId>
370 <artifactId>libthrift</artifactId>
371 </exclusion>
372 <exclusion>
373 <groupId>org.codehaus.jackson</groupId>
374 <artifactId>jackson-mapper-asl</artifactId>
375 </exclusion>
vasraz66af7c52021-07-20 23:22:45 +0100376 <exclusion>
377 <groupId>org.hibernate</groupId>
378 <artifactId>hibernate-validator</artifactId>
379 </exclusion>
vasrazb65fcbf2021-07-26 15:01:06 +0100380 <exclusion>
381 <groupId>org.apache.cassandra</groupId>
382 <artifactId>cassandra-all</artifactId>
383 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200384 </exclusions>
385 </dependency>
386
387 <dependency>
388 <groupId>commons-logging</groupId>
389 <artifactId>commons-logging</artifactId>
390 <version>${commons-logging}</version>
391 <scope>compile</scope>
392 </dependency>
393
394 <dependency>
395 <groupId>commons-codec</groupId>
396 <artifactId>commons-codec</artifactId>
397 <version>${commons-codec}</version>
398 <scope>compile</scope>
399 </dependency>
400
401 <dependency>
402 <groupId>com.fasterxml.jackson.core</groupId>
403 <artifactId>jackson-databind</artifactId>
404 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100405 <exclusions>
406 <exclusion>
407 <groupId>com.fasterxml.jackson.core</groupId>
408 <artifactId>jackson-core</artifactId>
409 </exclusion>
410 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200411 </dependency>
412
413 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
414 <dependency>
415 <groupId>com.fasterxml.jackson.core</groupId>
416 <artifactId>jackson-annotations</artifactId>
417 <version>${jackson-annotations.version}</version>
418 </dependency>
419
420 <dependency>
421 <groupId>com.google.code.gson</groupId>
422 <artifactId>gson</artifactId>
423 <version>${gson.version}</version>
424 <scope>compile</scope>
425 </dependency>
426
427 <dependency>
428 <groupId>org.apache.httpcomponents</groupId>
429 <artifactId>httpclient</artifactId>
430 <version>${httpclient.version}</version>
431 <scope>compile</scope>
vasraz987fc742021-11-29 17:42:02 +0000432 <exclusions>
433 <exclusion>
434 <groupId>org.apache.httpcomponents</groupId>
435 <artifactId>httpcore</artifactId>
436 </exclusion>
437 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200438 </dependency>
439
440 <dependency>
441 <groupId>org.apache.httpcomponents</groupId>
442 <artifactId>httpcore</artifactId>
443 <version>${httpcore.version}</version>
444 <scope>compile</scope>
445 </dependency>
446
447 <!-- Spring 4 dependencies -->
448 <dependency>
449 <groupId>org.springframework</groupId>
450 <artifactId>spring-core</artifactId>
451 <version>${spring.version}</version>
452 <scope>compile</scope>
453 </dependency>
454
455 <dependency>
456 <groupId>org.springframework</groupId>
457 <artifactId>spring-context</artifactId>
458 <version>${spring.version}</version>
459 <scope>compile</scope>
vasraz8dbc7322021-06-26 14:23:12 +0100460 <exclusions>
461 <exclusion>
462 <groupId>org.springframework</groupId>
463 <artifactId>spring-expression</artifactId>
464 </exclusion>
465 <exclusion>
466 <groupId>org.springframework</groupId>
467 <artifactId>spring-core</artifactId>
468 </exclusion>
469 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200470 </dependency>
471
472 <dependency>
473 <groupId>org.springframework</groupId>
474 <artifactId>spring-expression</artifactId>
475 <version>${spring.version}</version>
476 <scope>compile</scope>
477 </dependency>
478
479 <dependency>
480 <groupId>org.springframework</groupId>
481 <artifactId>spring-beans</artifactId>
482 <version>${spring.version}</version>
483 <scope>compile</scope>
484 </dependency>
485
486 <dependency>
487 <groupId>org.springframework</groupId>
488 <artifactId>spring-aop</artifactId>
489 <version>${spring.version}</version>
490 <scope>compile</scope>
vasraz8dbc7322021-06-26 14:23:12 +0100491 <exclusions>
492 <exclusion>
493 <groupId>org.springframework</groupId>
494 <artifactId>spring-core</artifactId>
495 </exclusion>
496 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200497 </dependency>
498
499 <!-- Spring 4 dependencies end -->
500 <!-- JavaConfig need this library -->
501 <dependency>
502 <groupId>cglib</groupId>
503 <artifactId>cglib</artifactId>
504 <version>3.2.4</version>
505 <scope>compile</scope>
506 </dependency>
507
508 <dependency>
509 <groupId>org.yaml</groupId>
510 <artifactId>snakeyaml</artifactId>
511 <version>${snakeyaml.version}</version>
512 <scope>compile</scope>
513 </dependency>
514
515 <dependency>
516 <groupId>org.functionaljava</groupId>
517 <artifactId>functionaljava</artifactId>
518 <version>${functionaljava.version}</version>
519 <scope>compile</scope>
520 </dependency>
521
522 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200523 <groupId>com.fasterxml.jackson.dataformat</groupId>
524 <artifactId>jackson-dataformat-yaml</artifactId>
525 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100526 <exclusions>
527 <exclusion>
528 <groupId>com.fasterxml.jackson.core</groupId>
529 <artifactId>jackson-core</artifactId>
530 </exclusion>
531 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200532 </dependency>
533
534 <!-- CASSANDRA -->
535 <dependency>
536 <groupId>com.datastax.cassandra</groupId>
537 <artifactId>cassandra-driver-core</artifactId>
538 <version>${cassandra.driver.version}</version>
539 <scope>compile</scope>
540 </dependency>
541
542 <dependency>
543 <groupId>com.datastax.cassandra</groupId>
544 <artifactId>cassandra-driver-mapping</artifactId>
545 <version>${cassandra.driver.version}</version>
546 <scope>compile</scope>
547 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200548
549 <!-- CASSANDRA END -->
550
551 <!-- OPEN CSV -->
552 <dependency>
553 <groupId>com.opencsv</groupId>
554 <artifactId>opencsv</artifactId>
555 <version>4.0</version>
556 <scope>compile</scope>
557 </dependency>
558
559 <dependency>
560 <groupId>org.apache.poi</groupId>
561 <artifactId>poi</artifactId>
562 <version>${apache-poi.version}</version>
563 </dependency>
564
ys969316a9fce2020-01-19 13:50:02 +0200565 <!-- Temporary, till building the populate task which adding all components
566 to cache. We will use Serialization Utils. -->
567 <dependency>
568 <groupId>de.ruedigermoeller</groupId>
569 <artifactId>fst</artifactId>
570 <version>2.47</version>
vasrazca685bb2020-06-11 17:05:29 +0100571 <exclusions>
572 <exclusion>
573 <groupId>com.fasterxml.jackson.core</groupId>
574 <artifactId>jackson-core</artifactId>
575 </exclusion>
576 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200577 </dependency>
578
579 <!-- testing -->
580 <dependency>
581 <groupId>org.hamcrest</groupId>
582 <artifactId>hamcrest-all</artifactId>
583 <version>${hamcrest-all.version}</version>
584 <scope>test</scope>
585 </dependency>
586
587 <dependency>
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +0200588 <groupId>org.junit.jupiter</groupId>
589 <artifactId>junit-jupiter</artifactId>
590 <version>${junitJupiter.version}</version>
591 <scope>test</scope>
592 </dependency>
593
594 <dependency>
595 <groupId>org.mockito</groupId>
596 <artifactId>mockito-junit-jupiter</artifactId>
597 <version>${mockitoJupiter.version}</version>
598 <scope>test</scope>
599 </dependency>
600
601 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200602 <groupId>org.assertj</groupId>
603 <artifactId>assertj-core</artifactId>
604 <scope>test</scope>
605 </dependency>
606
607 <dependency>
608 <groupId>com.google.code.bean-matchers</groupId>
609 <artifactId>bean-matchers</artifactId>
610 <version>${bean-matchers.version}</version>
611 <scope>test</scope>
612 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200613 <!-- testing end -->
614
615 <dependency>
616 <groupId>io.netty</groupId>
617 <artifactId>netty-all</artifactId>
618 </dependency>
619
620 <dependency>
621 <groupId>io.netty</groupId>
622 <artifactId>netty-handler</artifactId>
623 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200624 </dependencies>
625
626 <build>
627 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
628 <plugins>
629 <plugin>
630 <groupId>org.apache.maven.plugins</groupId>
631 <artifactId>maven-deploy-plugin</artifactId>
632 <configuration>
633 <skip>true</skip>
634 </configuration>
635 </plugin>
636
637 <plugin>
638 <groupId>org.apache.maven.plugins</groupId>
639 <artifactId>maven-assembly-plugin</artifactId>
640 <executions>
641 <execution>
642 <configuration>
643 <finalName>sdctool</finalName>
644 <appendAssemblyId>false</appendAssemblyId>
645 <descriptors>
646 <descriptor>${project.basedir}/tarball.xml</descriptor>
647 </descriptors>
648 </configuration>
649 <id>assemble-file</id>
650 <phase>verify</phase>
651 <goals>
652 <goal>single</goal>
653 </goals>
654 </execution>
655 </executions>
656 </plugin>
657 <plugin>
658 <groupId>org.apache.maven.plugins</groupId>
659 <artifactId>maven-shade-plugin</artifactId>
660 <executions>
661 <execution>
662 <phase>package</phase>
663 <goals>
664 <goal>shade</goal>
665 </goals>
666 <configuration>
667 <filters>
668 <filter>
669 <artifact>org.openecomp.sdc:*</artifact>
670 <excludes>
671 <exclude>**/elasticsearch.yml</exclude>
672 </excludes>
673 </filter>
674 <filter>
675 <artifact>*:*</artifact>
676 <excludes>
677 <exclude>META-INF/*.SF</exclude>
678 <exclude>META-INF/*.DSA</exclude>
679 <exclude>META-INF/*.RSA</exclude>
680 </excludes>
681 </filter>
682 </filters>
683 <transformers>
684 <transformer
685 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
686 </transformers>
687 </configuration>
688 </execution>
689 </executions>
690 </plugin>
691 <plugin>
692 <groupId>ru.yaal.maven</groupId>
693 <artifactId>write-text-files-maven-plugin</artifactId>
694 <configuration>
695 <charset>UTF-8</charset>
696 <files>
697 <file>
698 <path>
699 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
700 </path>
701 <lines>
andre.schmid8f967e42020-01-22 14:49:32 +0000702 <line>
703 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
ys969316a9fce2020-01-19 13:50:02 +0200704 </line>
705 </lines>
706 </file>
707 </files>
708 </configuration>
709 <executions>
710 <execution>
711 <id>write-text-files</id>
712 <phase>prepare-package</phase>
713 <goals>
714 <goal>write-text-files</goal>
715 </goals>
716 </execution>
717 </executions>
718 </plugin>
719 <plugin>
720 <groupId>org.apache.maven.plugins</groupId>
721 <artifactId>maven-resources-plugin</artifactId>
722 <executions>
723 <execution>
724 <id>copy-tosca-folder</id>
725 <!-- here the phase you need -->
726 <phase>compile</phase>
727 <goals>
728 <goal>copy-resources</goal>
729 </goals>
730 <configuration>
731 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
732 <resources>
733 <resource>
734 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
735 </directory>
ys969316a9fce2020-01-19 13:50:02 +0200736 </resource>
737 </resources>
738 </configuration>
739 </execution>
740 </executions>
741 </plugin>
742 <plugin>
743 <groupId>com.github.sylvainlaurent.maven</groupId>
744 <artifactId>yaml-json-validator-maven-plugin</artifactId>
745 <executions>
746 <execution>
747 <id>validate</id>
748 <phase>validate</phase>
749 <goals>
750 <goal>validate</goal>
751 </goals>
752 <configuration>
753 <validationSets>
754 <validationSet>
755 <includes>
756 <include>src/main/resources/**/*.y*ml</include>
757 <include>src/test/resources/**/*.y*ml</include>
758 </includes>
759 </validationSet>
760 <validationSet>
761 <includes>
762 <include>src/main/resources/**/*.json</include>
763 <include>src/test/resources/**/*.json</include>
764 </includes>
765 <excludes>
766 <exclude>src/test/resources/graphError.json</exclude>
767 </excludes>
768 </validationSet>
769 </validationSets>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200770 <skip>${skipYamlJsonValidator}</skip>
ys969316a9fce2020-01-19 13:50:02 +0200771 </configuration>
772 </execution>
773 </executions>
774 </plugin>
775 </plugins>
776 </build>
777 <profiles>
778 <profile>
779 <id>docker</id>
780 <activation>
781 <activeByDefault>false</activeByDefault>
782 </activation>
783 <build>
784 <plugins>
785 <plugin>
786 <groupId>org.apache.maven.plugins</groupId>
andre.schmid7b60bd72021-09-28 11:24:44 +0100787 <artifactId>maven-clean-plugin</artifactId>
788 <executions>
789 <execution>
790 <id>clean.sdctool.tar</id>
791 <phase>initialize</phase>
792 <goals>
793 <goal>clean</goal>
794 </goals>
795 <configuration>
796 <filesets>
797 <fileset>
798 <directory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
799 <includes>
800 <include>sdctool.tar</include>
801 </includes>
802 </fileset>
803 </filesets>
804 </configuration>
805 </execution>
806 </executions>
807 </plugin>
808 <plugin>
809 <groupId>org.apache.maven.plugins</groupId>
ys969316a9fce2020-01-19 13:50:02 +0200810 <artifactId>maven-resources-plugin</artifactId>
811 <executions>
812 <execution>
813 <id>copy-sdctool</id>
814 <phase>verify</phase>
815 <goals>
816 <goal>copy-resources</goal>
817 </goals>
818 <configuration>
819 <outputDirectory>
820 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
821 </outputDirectory>
andre.schmid7b60bd72021-09-28 11:24:44 +0100822 <overwrite>true</overwrite>
ys969316a9fce2020-01-19 13:50:02 +0200823 <resources>
824 <resource>
825 <directory>${project.parent.basedir}/asdctool/target</directory>
826 <includes>
827 <include>sdctool.tar</include>
828 </includes>
829 </resource>
830 </resources>
831 </configuration>
832 </execution>
833 </executions>
834 </plugin>
835 <plugin>
836 <groupId>io.fabric8</groupId>
837 <artifactId>docker-maven-plugin</artifactId>
838 <configuration>
sebdetdf353be2020-09-21 22:13:05 +0200839 <verbose>${verbose}</verbose>
sebdet591810d2020-09-17 15:07:23 +0200840 <apiVersion>${docker.api.version}</apiVersion>
vasraz8b1002a2021-12-08 22:12:52 +0000841 <registry>${docker.registry}</registry>
ys969316a9fce2020-01-19 13:50:02 +0200842 <authConfig>
843 <pull>
vasraz8b1002a2021-12-08 22:12:52 +0000844 <username>${docker.username}</username>
845 <password>${docker.password}</password>
ys969316a9fce2020-01-19 13:50:02 +0200846 </pull>
847 </authConfig>
848 <images>
849 <!-- Build cassandra-init image -->
850 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000851 <name>${docker.namespace}/sdc-cassandra-init</name>
ys969316a9fce2020-01-19 13:50:02 +0200852 <alias>sdc-cassandra-init</alias>
853 <build>
854 <cleanup>try</cleanup>
855 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
856 <tags>
sebdetb988cb62020-09-25 15:48:10 +0200857 <tag>latest</tag>
ys969316a9fce2020-01-19 13:50:02 +0200858 <tag>
859 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
860 </tag>
vasraz66af7c52021-07-20 23:22:45 +0100861 <tag>
862 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
863 </tag>
ys969316a9fce2020-01-19 13:50:02 +0200864 </tags>
865 </build>
866 </image>
867 </images>
868 </configuration>
869 <executions>
870 <execution>
871 <id>clean-images</id>
872 <phase>pre-clean</phase>
873 <goals>
874 <goal>remove</goal>
875 </goals>
876 <configuration>
877 <removeAll>true</removeAll>
vasraz8b1002a2021-12-08 22:12:52 +0000878 <image>${docker.namespace}/sdc-cassandra-init</image>
ys969316a9fce2020-01-19 13:50:02 +0200879 </configuration>
880 </execution>
881
882 <execution>
883 <id>generate-images</id>
884 <phase>install</phase>
885 <goals>
886 <goal>build</goal>
887 </goals>
888 </execution>
889
890 <execution>
891 <id>push-images</id>
892 <phase>deploy</phase>
893 <goals>
894 <goal>push</goal>
895 </goals>
896 <configuration>
vasraz8b1002a2021-12-08 22:12:52 +0000897 <image>${docker.namespace}/sdc-cassandra-init</image>
ys969316a9fce2020-01-19 13:50:02 +0200898 </configuration>
899 </execution>
900 </executions>
901 </plugin>
902 </plugins>
903 </build>
904 </profile>
905 </profiles>
k.kazak8d526072019-05-29 14:50:05 +0200906</project>