blob: a99b24e3a4e310381a27f2cc285fcd856e18750a [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>
MichaelMorris07cc0db2023-06-01 18:20:56 +010012 <version>1.13.0</version>
ys969316a9fce2020-01-19 13:50:02 +020013 </parent>
Michael Lando451a3402017-02-19 10:28:42 +020014
vasrazdffdf562023-05-18 16:13:52 +010015 <properties>
16 <apache-poi.version>5.2.3</apache-poi.version>
17 </properties>
18
ys969316a9fce2020-01-19 13:50:02 +020019 <dependencies>
Tomasz Golabekaa18a952019-06-07 09:28:23 +020020 <dependency>
ys969316a9fce2020-01-19 13:50:02 +020021 <groupId>com.google.guava</groupId>
22 <artifactId>guava</artifactId>
23 <version>${guava.version}</version>
24 <scope>compile</scope>
25 </dependency>
Tomasz Golabekaa18a952019-06-07 09:28:23 +020026
ys969316a9fce2020-01-19 13:50:02 +020027 <!-- ASDC dependencies -->
28 <dependency>
29 <groupId>org.openecomp.sdc.be</groupId>
30 <artifactId>common-be</artifactId>
31 <version>${project.version}</version>
32 <scope>compile</scope>
vasraz8dbc7322021-06-26 14:23:12 +010033 <exclusions>
34 <exclusion>
35 <groupId>org.springframework</groupId>
36 <artifactId>spring-core</artifactId>
37 </exclusion>
38 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +020039 </dependency>
40 <dependency>
41 <groupId>org.openecomp.sdc</groupId>
42 <artifactId>common-app-api</artifactId>
43 <version>${project.version}</version>
44 <scope>compile</scope>
vasraz987fc742021-11-29 17:42:02 +000045 <exclusions>
46 <exclusion>
47 <groupId>org.apache.httpcomponents</groupId>
48 <artifactId>httpcore</artifactId>
49 </exclusion>
vasraze4055452022-07-13 23:11:18 +010050 <exclusion>
51 <groupId>org.functionaljava</groupId>
52 <artifactId>functionaljava</artifactId>
53 </exclusion>
vasraz987fc742021-11-29 17:42:02 +000054 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +020055 </dependency>
vasrazca685bb2020-06-11 17:05:29 +010056 <dependency>
57 <groupId>com.fasterxml.jackson.core</groupId>
58 <artifactId>jackson-core</artifactId>
59 <version>${jackson.version}</version>
60 </dependency>
Tomasz Golabek5c55e232019-08-22 15:03:50 +020061
ys969316a9fce2020-01-19 13:50:02 +020062 <dependency>
63 <groupId>org.openecomp.sdc.be</groupId>
64 <artifactId>catalog-dao</artifactId>
65 <version>${project.version}</version>
vasrazca685bb2020-06-11 17:05:29 +010066 <exclusions>
67 <exclusion>
68 <groupId>com.fasterxml.jackson.core</groupId>
69 <artifactId>jackson-core</artifactId>
70 </exclusion>
71 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +020072 </dependency>
Tomasz Golabekaa18a952019-06-07 09:28:23 +020073
ys969316a9fce2020-01-19 13:50:02 +020074 <dependency>
75 <groupId>org.openecomp.sdc.be</groupId>
76 <artifactId>catalog-model</artifactId>
77 <version>${project.version}</version>
vasrazca685bb2020-06-11 17:05:29 +010078 <exclusions>
79 <exclusion>
80 <groupId>com.fasterxml.jackson.core</groupId>
81 <artifactId>jackson-core</artifactId>
82 </exclusion>
83 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +020084 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +030085
Yuli Shlosberg79e36272018-10-02 14:45:26 +030086
ys969316a9fce2020-01-19 13:50:02 +020087 <dependency>
88 <groupId>org.openecomp.sdc</groupId>
89 <artifactId>catalog-be</artifactId>
90 <version>${project.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +030091
ys969316a9fce2020-01-19 13:50:02 +020092 <!-- Comment Out in order to debug in eclipse -->
93 <classifier>classes</classifier>
Michael Lando451a3402017-02-19 10:28:42 +020094
ys969316a9fce2020-01-19 13:50:02 +020095 <exclusions>
96 <exclusion>
vasrazca685bb2020-06-11 17:05:29 +010097 <groupId>com.fasterxml.jackson.core</groupId>
98 <artifactId>jackson-core</artifactId>
99 </exclusion>
100 <exclusion>
vasraz086406a2021-02-22 09:50:07 +0000101 <groupId>org.eclipse.jetty</groupId>
102 <artifactId>jetty-http</artifactId>
103 </exclusion>
104 <exclusion>
vasrazc81c95b2021-05-31 23:08:39 +0100105 <groupId>org.eclipse.jetty</groupId>
106 <artifactId>jetty-servlets</artifactId>
107 </exclusion>
108 <exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200109 <groupId>org.openecomp.ecompsdkos</groupId>
110 <artifactId>epsdk-fw</artifactId>
111 </exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200112
ys969316a9fce2020-01-19 13:50:02 +0200113 <exclusion>
114 <groupId>org.onap.sdc.common</groupId>
115 <artifactId>onap-common-lib</artifactId>
116 </exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200117
ys969316a9fce2020-01-19 13:50:02 +0200118 <exclusion>
119 <groupId>com.att.nsa</groupId>
120 <artifactId>cambriaClient</artifactId>
121 </exclusion>
122 <exclusion>
123 <groupId>com.att.nsa</groupId>
124 <artifactId>dmaapClient</artifactId>
125 </exclusion>
126 <exclusion>
127 <artifactId>slf4j-log4j12</artifactId>
128 <groupId>org.slf4j</groupId>
129 </exclusion>
vasraz8dbc7322021-06-26 14:23:12 +0100130 <exclusion>
131 <groupId>org.springframework</groupId>
132 <artifactId>spring-web</artifactId>
133 </exclusion>
134 <exclusion>
135 <groupId>org.springframework</groupId>
136 <artifactId>spring-webmvc</artifactId>
137 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200138
139 </exclusions>
140
141 <scope>compile</scope>
142 </dependency>
143
144 <dependency>
145 <groupId>org.onap.portal.sdk</groupId>
146 <artifactId>epsdk-fw</artifactId>
147 <version>${ecomp.version}</version>
148 <scope>compile</scope>
149 <exclusions>
150 <exclusion>
151 <groupId>com.att.nsa</groupId>
152 <artifactId>cambriaClient</artifactId>
153 </exclusion>
154 <exclusion>
155 <groupId>com.att.nsa</groupId>
156 <artifactId>dmaapClient</artifactId>
157 </exclusion>
158 <exclusion>
159 <artifactId>slf4j-log4j12</artifactId>
160 <groupId>org.slf4j</groupId>
161 </exclusion>
sebdeta9fffd22020-10-08 13:28:36 +0200162 <exclusion>
163 <artifactId>log4j</artifactId>
164 <groupId>log4j</groupId>
165 </exclusion>
vasraz99ac5dc2023-03-06 15:56:57 +0000166 <exclusion>
167 <groupId>javax.servlet</groupId>
168 <artifactId>javax.servlet-api</artifactId>
169 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200170 </exclusions>
171 </dependency>
172
ys969316a9fce2020-01-19 13:50:02 +0200173 <!-- ASDC dependencies end -->
174 <dependency>
175 <groupId>org.eclipse.jetty</groupId>
176 <artifactId>jetty-server</artifactId>
177 <version>${jetty.version}</version>
178 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000179 <exclusions>
180 <exclusion>
181 <groupId>org.eclipse.jetty</groupId>
182 <artifactId>jetty-http</artifactId>
183 </exclusion>
vasraz99ac5dc2023-03-06 15:56:57 +0000184 <exclusion>
185 <groupId>javax.servlet</groupId>
186 <artifactId>javax.servlet-api</artifactId>
187 </exclusion>
vasraz086406a2021-02-22 09:50:07 +0000188 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200189 </dependency>
190
191 <dependency>
192 <groupId>org.eclipse.jetty</groupId>
193 <artifactId>jetty-util</artifactId>
194 <version>${jetty.version}</version>
195 <scope>compile</scope>
196 </dependency>
197
198 <!-- listen to file changes -->
199 <dependency>
200 <groupId>org.apache.commons</groupId>
201 <artifactId>commons-jci-core</artifactId>
202 <version>${commons-jci-core.version}</version>
203 <scope>compile</scope>
vasrazb7ea3ef2021-05-12 13:56:51 +0100204 <exclusions>
205 <exclusion>
206 <groupId>commons-io</groupId>
207 <artifactId>commons-io</artifactId>
208 </exclusion>
209 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200210 </dependency>
211
212 <dependency>
213 <groupId>commons-cli</groupId>
214 <artifactId>commons-cli</artifactId>
215 <version>1.4</version>
216 </dependency>
217
218 <dependency>
219 <groupId>org.eclipse.jetty</groupId>
220 <artifactId>jetty-servlet</artifactId>
221 <version>${jetty.version}</version>
222 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000223 <exclusions>
224 <exclusion>
225 <groupId>org.eclipse.jetty</groupId>
vasrazc81c95b2021-05-31 23:08:39 +0100226 <artifactId>jetty-security</artifactId>
227 </exclusion>
vasraz086406a2021-02-22 09:50:07 +0000228 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200229 </dependency>
230
231 <dependency>
232 <groupId>org.glassfish.jersey.core</groupId>
233 <artifactId>jersey-server</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-servlet-core</artifactId>
241 <version>${jersey-bom.version}</version>
242 <scope>compile</scope>
243 </dependency>
244
245 <dependency>
246 <groupId>org.glassfish.jersey.containers</groupId>
247 <artifactId>jersey-container-jetty-http</artifactId>
248 <version>${jersey-bom.version}</version>
249 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000250 <exclusions>
251 <exclusion>
252 <groupId>org.eclipse.jetty</groupId>
253 <artifactId>jetty-continuation</artifactId>
254 </exclusion>
255 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200256 </dependency>
257
258 <dependency>
259 <groupId>org.glassfish.jersey.media</groupId>
260 <artifactId>jersey-media-moxy</artifactId>
261 <version>${jersey-bom.version}</version>
262 <scope>compile</scope>
263 </dependency>
264
265 <dependency>
266 <groupId>org.glassfish.jersey.media</groupId>
267 <artifactId>jersey-media-multipart</artifactId>
268 <version>${jersey-bom.version}</version>
269 <scope>compile</scope>
270 </dependency>
271
vasrazdffdf562023-05-18 16:13:52 +0100272 <!-- logback -->
ys969316a9fce2020-01-19 13:50:02 +0200273 <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 <groupId>org.apache.tinkerpop</groupId>
vasraz9aef1232022-08-20 18:12:07 +0100308 <artifactId>gremlin-groovy</artifactId>
309 </exclusion>
310 <exclusion>
311 <groupId>org.apache.tinkerpop</groupId>
312 <artifactId>gremlin-core</artifactId>
vasraz086406a2021-02-22 09:50:07 +0000313 </exclusion>
314 <exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200315 <groupId>org.json</groupId>
316 <artifactId>json</artifactId>
317 </exclusion>
318 <exclusion>
319 <groupId>org.slf4j</groupId>
320 <artifactId>slf4j-log4j12</artifactId>
321 </exclusion>
322 <exclusion>
323 <artifactId>commons-collections</artifactId>
324 <groupId>commons-collections</groupId>
325 </exclusion>
326 <exclusion>
327 <artifactId>groovy</artifactId>
328 <groupId>org.codehaus.groovy</groupId>
329 </exclusion>
330 <exclusion>
331 <groupId>org.apache.thrift</groupId>
332 <artifactId>libthrift</artifactId>
333 </exclusion>
vasrazb7ea3ef2021-05-12 13:56:51 +0100334 <exclusion>
335 <groupId>commons-io</groupId>
336 <artifactId>commons-io</artifactId>
337 </exclusion>
vasraz66af7c52021-07-20 23:22:45 +0100338 <exclusion>
339 <groupId>commons-codec</groupId>
340 <artifactId>commons-codec</artifactId>
341 </exclusion>
vasrazb65fcbf2021-07-26 15:01:06 +0100342 <exclusion>
343 <groupId>dom4j</groupId>
344 <artifactId>dom4j</artifactId>
345 </exclusion>
vasraz987fc742021-11-29 17:42:02 +0000346 <exclusion>
347 <groupId>org.slf4j</groupId>
348 <artifactId>jcl-over-slf4j</artifactId>
349 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200350 </exclusions>
351 </dependency>
352
353 <dependency>
vasrazb65fcbf2021-07-26 15:01:06 +0100354 <groupId>org.dom4j</groupId>
355 <artifactId>dom4j</artifactId>
356 <version>${org.dom4j.version}</version>
357 </dependency>
358
359 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200360 <groupId>com.googlecode.json-simple</groupId>
361 <artifactId>json-simple</artifactId>
362 <version>${json-simple.version}</version>
363 <scope>compile</scope>
364 </dependency>
365
366 <dependency>
367 <groupId>org.janusgraph</groupId>
368 <artifactId>janusgraph-cassandra</artifactId>
369 <version>${janusgraph.version}</version>
370 <scope>compile</scope>
371 <exclusions>
372 <exclusion>
vasrazdffdf562023-05-18 16:13:52 +0100373 <groupId>joda-time</groupId>
374 <artifactId>joda-time</artifactId>
375 </exclusion>
376 <exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200377 <groupId>org.slf4j</groupId>
378 <artifactId>slf4j-log4j12</artifactId>
379 </exclusion>
vasrazc81c95b2021-05-31 23:08:39 +0100380 <exclusion>
381 <groupId>org.apache.thrift</groupId>
382 <artifactId>libthrift</artifactId>
383 </exclusion>
384 <exclusion>
385 <groupId>org.codehaus.jackson</groupId>
386 <artifactId>jackson-mapper-asl</artifactId>
387 </exclusion>
vasraz66af7c52021-07-20 23:22:45 +0100388 <exclusion>
389 <groupId>org.hibernate</groupId>
390 <artifactId>hibernate-validator</artifactId>
391 </exclusion>
vasrazb65fcbf2021-07-26 15:01:06 +0100392 <exclusion>
393 <groupId>org.apache.cassandra</groupId>
394 <artifactId>cassandra-all</artifactId>
395 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200396 </exclusions>
397 </dependency>
398
399 <dependency>
400 <groupId>commons-logging</groupId>
401 <artifactId>commons-logging</artifactId>
402 <version>${commons-logging}</version>
403 <scope>compile</scope>
404 </dependency>
405
406 <dependency>
407 <groupId>commons-codec</groupId>
408 <artifactId>commons-codec</artifactId>
409 <version>${commons-codec}</version>
410 <scope>compile</scope>
411 </dependency>
412
413 <dependency>
414 <groupId>com.fasterxml.jackson.core</groupId>
415 <artifactId>jackson-databind</artifactId>
416 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100417 <exclusions>
418 <exclusion>
419 <groupId>com.fasterxml.jackson.core</groupId>
420 <artifactId>jackson-core</artifactId>
421 </exclusion>
422 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200423 </dependency>
424
425 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
426 <dependency>
427 <groupId>com.fasterxml.jackson.core</groupId>
428 <artifactId>jackson-annotations</artifactId>
429 <version>${jackson-annotations.version}</version>
430 </dependency>
431
432 <dependency>
433 <groupId>com.google.code.gson</groupId>
434 <artifactId>gson</artifactId>
435 <version>${gson.version}</version>
436 <scope>compile</scope>
437 </dependency>
438
439 <dependency>
440 <groupId>org.apache.httpcomponents</groupId>
441 <artifactId>httpclient</artifactId>
442 <version>${httpclient.version}</version>
443 <scope>compile</scope>
vasraz987fc742021-11-29 17:42:02 +0000444 <exclusions>
445 <exclusion>
446 <groupId>org.apache.httpcomponents</groupId>
447 <artifactId>httpcore</artifactId>
448 </exclusion>
449 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200450 </dependency>
451
452 <dependency>
453 <groupId>org.apache.httpcomponents</groupId>
454 <artifactId>httpcore</artifactId>
455 <version>${httpcore.version}</version>
456 <scope>compile</scope>
457 </dependency>
458
459 <!-- Spring 4 dependencies -->
460 <dependency>
461 <groupId>org.springframework</groupId>
462 <artifactId>spring-core</artifactId>
463 <version>${spring.version}</version>
464 <scope>compile</scope>
465 </dependency>
466
467 <dependency>
468 <groupId>org.springframework</groupId>
469 <artifactId>spring-context</artifactId>
470 <version>${spring.version}</version>
471 <scope>compile</scope>
vasraz8dbc7322021-06-26 14:23:12 +0100472 <exclusions>
473 <exclusion>
474 <groupId>org.springframework</groupId>
475 <artifactId>spring-expression</artifactId>
476 </exclusion>
477 <exclusion>
478 <groupId>org.springframework</groupId>
479 <artifactId>spring-core</artifactId>
480 </exclusion>
481 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200482 </dependency>
483
484 <dependency>
485 <groupId>org.springframework</groupId>
486 <artifactId>spring-expression</artifactId>
487 <version>${spring.version}</version>
488 <scope>compile</scope>
489 </dependency>
490
491 <dependency>
492 <groupId>org.springframework</groupId>
493 <artifactId>spring-beans</artifactId>
494 <version>${spring.version}</version>
495 <scope>compile</scope>
496 </dependency>
497
498 <dependency>
499 <groupId>org.springframework</groupId>
500 <artifactId>spring-aop</artifactId>
501 <version>${spring.version}</version>
502 <scope>compile</scope>
vasraz8dbc7322021-06-26 14:23:12 +0100503 <exclusions>
504 <exclusion>
505 <groupId>org.springframework</groupId>
506 <artifactId>spring-core</artifactId>
507 </exclusion>
508 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200509 </dependency>
510
511 <!-- Spring 4 dependencies end -->
512 <!-- JavaConfig need this library -->
513 <dependency>
514 <groupId>cglib</groupId>
515 <artifactId>cglib</artifactId>
516 <version>3.2.4</version>
517 <scope>compile</scope>
518 </dependency>
519
520 <dependency>
521 <groupId>org.yaml</groupId>
522 <artifactId>snakeyaml</artifactId>
523 <version>${snakeyaml.version}</version>
524 <scope>compile</scope>
525 </dependency>
526
527 <dependency>
528 <groupId>org.functionaljava</groupId>
529 <artifactId>functionaljava</artifactId>
530 <version>${functionaljava.version}</version>
531 <scope>compile</scope>
532 </dependency>
533
534 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200535 <groupId>com.fasterxml.jackson.dataformat</groupId>
536 <artifactId>jackson-dataformat-yaml</artifactId>
537 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100538 <exclusions>
539 <exclusion>
540 <groupId>com.fasterxml.jackson.core</groupId>
541 <artifactId>jackson-core</artifactId>
542 </exclusion>
543 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200544 </dependency>
545
546 <!-- CASSANDRA -->
547 <dependency>
548 <groupId>com.datastax.cassandra</groupId>
549 <artifactId>cassandra-driver-core</artifactId>
550 <version>${cassandra.driver.version}</version>
551 <scope>compile</scope>
vasraz59d0b402022-08-16 10:11:06 +0100552 <exclusions>
553 <exclusion>
554 <groupId>com.github.jnr</groupId>
555 <artifactId>jnr-posix</artifactId>
556 </exclusion>
557 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200558 </dependency>
559
560 <dependency>
561 <groupId>com.datastax.cassandra</groupId>
562 <artifactId>cassandra-driver-mapping</artifactId>
563 <version>${cassandra.driver.version}</version>
564 <scope>compile</scope>
565 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200566
567 <!-- CASSANDRA END -->
568
569 <!-- OPEN CSV -->
570 <dependency>
571 <groupId>com.opencsv</groupId>
572 <artifactId>opencsv</artifactId>
573 <version>4.0</version>
574 <scope>compile</scope>
575 </dependency>
576
577 <dependency>
578 <groupId>org.apache.poi</groupId>
579 <artifactId>poi</artifactId>
580 <version>${apache-poi.version}</version>
581 </dependency>
582
ys969316a9fce2020-01-19 13:50:02 +0200583 <!-- Temporary, till building the populate task which adding all components
584 to cache. We will use Serialization Utils. -->
585 <dependency>
586 <groupId>de.ruedigermoeller</groupId>
587 <artifactId>fst</artifactId>
588 <version>2.47</version>
vasrazca685bb2020-06-11 17:05:29 +0100589 <exclusions>
590 <exclusion>
591 <groupId>com.fasterxml.jackson.core</groupId>
592 <artifactId>jackson-core</artifactId>
593 </exclusion>
594 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200595 </dependency>
596
597 <!-- testing -->
598 <dependency>
599 <groupId>org.hamcrest</groupId>
600 <artifactId>hamcrest-all</artifactId>
601 <version>${hamcrest-all.version}</version>
602 <scope>test</scope>
603 </dependency>
604
605 <dependency>
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +0200606 <groupId>org.junit.jupiter</groupId>
607 <artifactId>junit-jupiter</artifactId>
608 <version>${junitJupiter.version}</version>
609 <scope>test</scope>
610 </dependency>
611
612 <dependency>
613 <groupId>org.mockito</groupId>
614 <artifactId>mockito-junit-jupiter</artifactId>
615 <version>${mockitoJupiter.version}</version>
616 <scope>test</scope>
617 </dependency>
618
619 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200620 <groupId>org.assertj</groupId>
621 <artifactId>assertj-core</artifactId>
622 <scope>test</scope>
623 </dependency>
624
625 <dependency>
626 <groupId>com.google.code.bean-matchers</groupId>
627 <artifactId>bean-matchers</artifactId>
628 <version>${bean-matchers.version}</version>
629 <scope>test</scope>
630 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200631 <!-- testing end -->
632
633 <dependency>
634 <groupId>io.netty</groupId>
635 <artifactId>netty-all</artifactId>
636 </dependency>
637
638 <dependency>
639 <groupId>io.netty</groupId>
640 <artifactId>netty-handler</artifactId>
641 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200642 </dependencies>
643
644 <build>
645 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
646 <plugins>
647 <plugin>
648 <groupId>org.apache.maven.plugins</groupId>
649 <artifactId>maven-deploy-plugin</artifactId>
650 <configuration>
651 <skip>true</skip>
652 </configuration>
653 </plugin>
654
655 <plugin>
656 <groupId>org.apache.maven.plugins</groupId>
657 <artifactId>maven-assembly-plugin</artifactId>
vasrazdffdf562023-05-18 16:13:52 +0100658 <version>${mvn.assembly.version}</version>
ys969316a9fce2020-01-19 13:50:02 +0200659 <executions>
660 <execution>
661 <configuration>
662 <finalName>sdctool</finalName>
663 <appendAssemblyId>false</appendAssemblyId>
664 <descriptors>
665 <descriptor>${project.basedir}/tarball.xml</descriptor>
666 </descriptors>
667 </configuration>
668 <id>assemble-file</id>
669 <phase>verify</phase>
670 <goals>
671 <goal>single</goal>
672 </goals>
673 </execution>
674 </executions>
675 </plugin>
676 <plugin>
677 <groupId>org.apache.maven.plugins</groupId>
678 <artifactId>maven-shade-plugin</artifactId>
679 <executions>
680 <execution>
681 <phase>package</phase>
682 <goals>
683 <goal>shade</goal>
684 </goals>
685 <configuration>
686 <filters>
687 <filter>
688 <artifact>org.openecomp.sdc:*</artifact>
689 <excludes>
690 <exclude>**/elasticsearch.yml</exclude>
691 </excludes>
692 </filter>
693 <filter>
694 <artifact>*:*</artifact>
695 <excludes>
696 <exclude>META-INF/*.SF</exclude>
697 <exclude>META-INF/*.DSA</exclude>
698 <exclude>META-INF/*.RSA</exclude>
699 </excludes>
700 </filter>
701 </filters>
702 <transformers>
703 <transformer
704 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
705 </transformers>
706 </configuration>
707 </execution>
708 </executions>
709 </plugin>
710 <plugin>
711 <groupId>ru.yaal.maven</groupId>
712 <artifactId>write-text-files-maven-plugin</artifactId>
713 <configuration>
714 <charset>UTF-8</charset>
715 <files>
716 <file>
717 <path>
718 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
719 </path>
720 <lines>
andre.schmid8f967e42020-01-22 14:49:32 +0000721 <line>
722 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
ys969316a9fce2020-01-19 13:50:02 +0200723 </line>
724 </lines>
725 </file>
726 </files>
727 </configuration>
728 <executions>
729 <execution>
730 <id>write-text-files</id>
731 <phase>prepare-package</phase>
732 <goals>
733 <goal>write-text-files</goal>
734 </goals>
735 </execution>
736 </executions>
737 </plugin>
738 <plugin>
739 <groupId>org.apache.maven.plugins</groupId>
740 <artifactId>maven-resources-plugin</artifactId>
741 <executions>
742 <execution>
743 <id>copy-tosca-folder</id>
744 <!-- here the phase you need -->
745 <phase>compile</phase>
746 <goals>
747 <goal>copy-resources</goal>
748 </goals>
749 <configuration>
750 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
751 <resources>
752 <resource>
753 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
754 </directory>
ys969316a9fce2020-01-19 13:50:02 +0200755 </resource>
756 </resources>
757 </configuration>
758 </execution>
759 </executions>
760 </plugin>
761 <plugin>
762 <groupId>com.github.sylvainlaurent.maven</groupId>
763 <artifactId>yaml-json-validator-maven-plugin</artifactId>
764 <executions>
765 <execution>
766 <id>validate</id>
767 <phase>validate</phase>
768 <goals>
769 <goal>validate</goal>
770 </goals>
771 <configuration>
772 <validationSets>
773 <validationSet>
774 <includes>
775 <include>src/main/resources/**/*.y*ml</include>
776 <include>src/test/resources/**/*.y*ml</include>
777 </includes>
778 </validationSet>
779 <validationSet>
780 <includes>
781 <include>src/main/resources/**/*.json</include>
782 <include>src/test/resources/**/*.json</include>
783 </includes>
784 <excludes>
785 <exclude>src/test/resources/graphError.json</exclude>
786 </excludes>
787 </validationSet>
788 </validationSets>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200789 <skip>${skipYamlJsonValidator}</skip>
ys969316a9fce2020-01-19 13:50:02 +0200790 </configuration>
791 </execution>
792 </executions>
793 </plugin>
794 </plugins>
795 </build>
796 <profiles>
797 <profile>
798 <id>docker</id>
799 <activation>
800 <activeByDefault>false</activeByDefault>
801 </activation>
802 <build>
803 <plugins>
804 <plugin>
805 <groupId>org.apache.maven.plugins</groupId>
andre.schmid7b60bd72021-09-28 11:24:44 +0100806 <artifactId>maven-clean-plugin</artifactId>
807 <executions>
808 <execution>
809 <id>clean.sdctool.tar</id>
810 <phase>initialize</phase>
811 <goals>
812 <goal>clean</goal>
813 </goals>
814 <configuration>
815 <filesets>
816 <fileset>
817 <directory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
818 <includes>
819 <include>sdctool.tar</include>
820 </includes>
821 </fileset>
822 </filesets>
823 </configuration>
824 </execution>
825 </executions>
826 </plugin>
827 <plugin>
828 <groupId>org.apache.maven.plugins</groupId>
ys969316a9fce2020-01-19 13:50:02 +0200829 <artifactId>maven-resources-plugin</artifactId>
830 <executions>
831 <execution>
832 <id>copy-sdctool</id>
833 <phase>verify</phase>
834 <goals>
835 <goal>copy-resources</goal>
836 </goals>
837 <configuration>
838 <outputDirectory>
839 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
840 </outputDirectory>
andre.schmid7b60bd72021-09-28 11:24:44 +0100841 <overwrite>true</overwrite>
ys969316a9fce2020-01-19 13:50:02 +0200842 <resources>
843 <resource>
844 <directory>${project.parent.basedir}/asdctool/target</directory>
845 <includes>
846 <include>sdctool.tar</include>
847 </includes>
848 </resource>
849 </resources>
850 </configuration>
851 </execution>
852 </executions>
853 </plugin>
854 <plugin>
855 <groupId>io.fabric8</groupId>
856 <artifactId>docker-maven-plugin</artifactId>
857 <configuration>
sebdetdf353be2020-09-21 22:13:05 +0200858 <verbose>${verbose}</verbose>
sebdet591810d2020-09-17 15:07:23 +0200859 <apiVersion>${docker.api.version}</apiVersion>
vasraz8b1002a2021-12-08 22:12:52 +0000860 <registry>${docker.registry}</registry>
ys969316a9fce2020-01-19 13:50:02 +0200861 <authConfig>
862 <pull>
vasraz8b1002a2021-12-08 22:12:52 +0000863 <username>${docker.username}</username>
864 <password>${docker.password}</password>
ys969316a9fce2020-01-19 13:50:02 +0200865 </pull>
866 </authConfig>
867 <images>
868 <!-- Build cassandra-init image -->
869 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000870 <name>${docker.namespace}/sdc-cassandra-init</name>
ys969316a9fce2020-01-19 13:50:02 +0200871 <alias>sdc-cassandra-init</alias>
872 <build>
873 <cleanup>try</cleanup>
874 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
875 <tags>
sebdetb988cb62020-09-25 15:48:10 +0200876 <tag>latest</tag>
ys969316a9fce2020-01-19 13:50:02 +0200877 <tag>
878 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
879 </tag>
vasraz66af7c52021-07-20 23:22:45 +0100880 <tag>
881 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
882 </tag>
ys969316a9fce2020-01-19 13:50:02 +0200883 </tags>
884 </build>
885 </image>
886 </images>
887 </configuration>
888 <executions>
889 <execution>
890 <id>clean-images</id>
891 <phase>pre-clean</phase>
892 <goals>
893 <goal>remove</goal>
894 </goals>
895 <configuration>
896 <removeAll>true</removeAll>
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
901 <execution>
902 <id>generate-images</id>
903 <phase>install</phase>
904 <goals>
905 <goal>build</goal>
906 </goals>
907 </execution>
908
909 <execution>
910 <id>push-images</id>
911 <phase>deploy</phase>
912 <goals>
913 <goal>push</goal>
914 </goals>
915 <configuration>
vasraz8b1002a2021-12-08 22:12:52 +0000916 <image>${docker.namespace}/sdc-cassandra-init</image>
ys969316a9fce2020-01-19 13:50:02 +0200917 </configuration>
918 </execution>
919 </executions>
920 </plugin>
921 </plugins>
922 </build>
923 </profile>
924 </profiles>
k.kazak8d526072019-05-29 14:50:05 +0200925</project>