blob: 3f8956d001971d236518c67b2077405aca7791a5 [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>
ChrisC00acf3d2021-03-22 13:54:06 +010012 <version>1.9.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>
41 </dependency>
vasrazca685bb2020-06-11 17:05:29 +010042 <dependency>
43 <groupId>com.fasterxml.jackson.core</groupId>
44 <artifactId>jackson-core</artifactId>
45 <version>${jackson.version}</version>
46 </dependency>
Tomasz Golabek5c55e232019-08-22 15:03:50 +020047
ys969316a9fce2020-01-19 13:50:02 +020048 <dependency>
49 <groupId>org.openecomp.sdc.be</groupId>
50 <artifactId>catalog-dao</artifactId>
51 <version>${project.version}</version>
vasrazca685bb2020-06-11 17:05:29 +010052 <exclusions>
53 <exclusion>
54 <groupId>com.fasterxml.jackson.core</groupId>
55 <artifactId>jackson-core</artifactId>
56 </exclusion>
57 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +020058 </dependency>
Tomasz Golabekaa18a952019-06-07 09:28:23 +020059
ys969316a9fce2020-01-19 13:50:02 +020060 <dependency>
61 <groupId>org.openecomp.sdc.be</groupId>
62 <artifactId>catalog-model</artifactId>
63 <version>${project.version}</version>
vasrazca685bb2020-06-11 17:05:29 +010064 <exclusions>
65 <exclusion>
66 <groupId>com.fasterxml.jackson.core</groupId>
67 <artifactId>jackson-core</artifactId>
68 </exclusion>
69 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +020070 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +030071
Yuli Shlosberg79e36272018-10-02 14:45:26 +030072
ys969316a9fce2020-01-19 13:50:02 +020073 <dependency>
74 <groupId>org.openecomp.sdc</groupId>
75 <artifactId>catalog-be</artifactId>
76 <version>${project.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +030077
ys969316a9fce2020-01-19 13:50:02 +020078 <!-- Comment Out in order to debug in eclipse -->
79 <classifier>classes</classifier>
Michael Lando451a3402017-02-19 10:28:42 +020080
ys969316a9fce2020-01-19 13:50:02 +020081 <exclusions>
82 <exclusion>
vasrazca685bb2020-06-11 17:05:29 +010083 <groupId>com.fasterxml.jackson.core</groupId>
84 <artifactId>jackson-core</artifactId>
85 </exclusion>
86 <exclusion>
vasraz086406a2021-02-22 09:50:07 +000087 <groupId>org.eclipse.jetty</groupId>
88 <artifactId>jetty-http</artifactId>
89 </exclusion>
90 <exclusion>
vasrazc81c95b2021-05-31 23:08:39 +010091 <groupId>org.eclipse.jetty</groupId>
92 <artifactId>jetty-servlets</artifactId>
93 </exclusion>
94 <exclusion>
ys969316a9fce2020-01-19 13:50:02 +020095 <groupId>org.openecomp.ecompsdkos</groupId>
96 <artifactId>epsdk-fw</artifactId>
97 </exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +020098
ys969316a9fce2020-01-19 13:50:02 +020099 <exclusion>
100 <groupId>org.onap.sdc.common</groupId>
101 <artifactId>onap-common-lib</artifactId>
102 </exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200103
ys969316a9fce2020-01-19 13:50:02 +0200104 <exclusion>
105 <groupId>com.att.nsa</groupId>
106 <artifactId>cambriaClient</artifactId>
107 </exclusion>
108 <exclusion>
109 <groupId>com.att.nsa</groupId>
110 <artifactId>dmaapClient</artifactId>
111 </exclusion>
112 <exclusion>
113 <artifactId>slf4j-log4j12</artifactId>
114 <groupId>org.slf4j</groupId>
115 </exclusion>
vasraz8dbc7322021-06-26 14:23:12 +0100116 <exclusion>
117 <groupId>org.springframework</groupId>
118 <artifactId>spring-web</artifactId>
119 </exclusion>
120 <exclusion>
121 <groupId>org.springframework</groupId>
122 <artifactId>spring-webmvc</artifactId>
123 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200124
125 </exclusions>
126
127 <scope>compile</scope>
128 </dependency>
129
130 <dependency>
131 <groupId>org.onap.portal.sdk</groupId>
132 <artifactId>epsdk-fw</artifactId>
133 <version>${ecomp.version}</version>
134 <scope>compile</scope>
135 <exclusions>
136 <exclusion>
137 <groupId>com.att.nsa</groupId>
138 <artifactId>cambriaClient</artifactId>
139 </exclusion>
140 <exclusion>
141 <groupId>com.att.nsa</groupId>
142 <artifactId>dmaapClient</artifactId>
143 </exclusion>
144 <exclusion>
145 <artifactId>slf4j-log4j12</artifactId>
146 <groupId>org.slf4j</groupId>
147 </exclusion>
sebdeta9fffd22020-10-08 13:28:36 +0200148 <exclusion>
149 <artifactId>log4j</artifactId>
150 <groupId>log4j</groupId>
151 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200152 </exclusions>
153 </dependency>
154
155
156 <!-- ASDC dependencies end -->
157 <dependency>
158 <groupId>org.eclipse.jetty</groupId>
159 <artifactId>jetty-server</artifactId>
160 <version>${jetty.version}</version>
161 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000162 <exclusions>
163 <exclusion>
164 <groupId>org.eclipse.jetty</groupId>
165 <artifactId>jetty-http</artifactId>
166 </exclusion>
167 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200168 </dependency>
169
170 <dependency>
171 <groupId>org.eclipse.jetty</groupId>
172 <artifactId>jetty-util</artifactId>
173 <version>${jetty.version}</version>
174 <scope>compile</scope>
175 </dependency>
176
177 <!-- listen to file changes -->
178 <dependency>
179 <groupId>org.apache.commons</groupId>
180 <artifactId>commons-jci-core</artifactId>
181 <version>${commons-jci-core.version}</version>
182 <scope>compile</scope>
vasrazb7ea3ef2021-05-12 13:56:51 +0100183 <exclusions>
184 <exclusion>
185 <groupId>commons-io</groupId>
186 <artifactId>commons-io</artifactId>
187 </exclusion>
188 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200189 </dependency>
190
191 <dependency>
192 <groupId>commons-cli</groupId>
193 <artifactId>commons-cli</artifactId>
194 <version>1.4</version>
195 </dependency>
196
197 <dependency>
198 <groupId>org.eclipse.jetty</groupId>
199 <artifactId>jetty-servlet</artifactId>
200 <version>${jetty.version}</version>
201 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000202 <exclusions>
203 <exclusion>
204 <groupId>org.eclipse.jetty</groupId>
205 <artifactId>jetty-server</artifactId>
206 </exclusion>
vasrazc81c95b2021-05-31 23:08:39 +0100207 <exclusion>
208 <groupId>org.eclipse.jetty</groupId>
209 <artifactId>jetty-security</artifactId>
210 </exclusion>
vasraz086406a2021-02-22 09:50:07 +0000211 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200212 </dependency>
213
214 <dependency>
215 <groupId>org.glassfish.jersey.core</groupId>
216 <artifactId>jersey-server</artifactId>
217 <version>${jersey-bom.version}</version>
218 <scope>compile</scope>
219 </dependency>
220
221 <dependency>
222 <groupId>org.glassfish.jersey.containers</groupId>
223 <artifactId>jersey-container-servlet-core</artifactId>
224 <version>${jersey-bom.version}</version>
225 <scope>compile</scope>
226 </dependency>
227
228 <dependency>
229 <groupId>org.glassfish.jersey.containers</groupId>
230 <artifactId>jersey-container-jetty-http</artifactId>
231 <version>${jersey-bom.version}</version>
232 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000233 <exclusions>
234 <exclusion>
235 <groupId>org.eclipse.jetty</groupId>
236 <artifactId>jetty-continuation</artifactId>
237 </exclusion>
238 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200239 </dependency>
240
241 <dependency>
242 <groupId>org.glassfish.jersey.media</groupId>
243 <artifactId>jersey-media-moxy</artifactId>
244 <version>${jersey-bom.version}</version>
245 <scope>compile</scope>
246 </dependency>
247
248 <dependency>
249 <groupId>org.glassfish.jersey.media</groupId>
250 <artifactId>jersey-media-multipart</artifactId>
251 <version>${jersey-bom.version}</version>
252 <scope>compile</scope>
253 </dependency>
254
255 <!-- slf4j + logback -->
256 <dependency>
257 <groupId>org.slf4j</groupId>
258 <artifactId>slf4j-api</artifactId>
259 <version>${slf4j-api.version}</version>
260 <scope>compile</scope>
261 </dependency>
262
263 <dependency>
264 <groupId>ch.qos.logback</groupId>
265 <artifactId>logback-classic</artifactId>
266 <version>${logback.version}</version>
267 <scope>compile</scope>
268 </dependency>
269
270 <dependency>
271 <groupId>ch.qos.logback</groupId>
272 <artifactId>logback-core</artifactId>
273 <version>${logback.version}</version>
274 <scope>compile</scope>
275 </dependency>
276
277 <!-- groovy -->
278 <dependency>
279 <groupId>org.codehaus.groovy</groupId>
280 <artifactId>groovy</artifactId>
281 <scope>compile</scope>
282 </dependency>
283
284 <dependency>
285 <groupId>org.apache.commons</groupId>
286 <artifactId>commons-configuration2</artifactId>
287 <version>${commons-configuration}</version>
288 </dependency>
289
290 <dependency>
291 <groupId>org.janusgraph</groupId>
292 <artifactId>janusgraph-core</artifactId>
293 <version>${janusgraph.version}</version>
294 <scope>compile</scope>
295 <exclusions>
296 <exclusion>
vasraz086406a2021-02-22 09:50:07 +0000297 <artifactId>gremlin-groovy</artifactId>
298 <groupId>org.apache.tinkerpop</groupId>
299 </exclusion>
300 <exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200301 <groupId>org.json</groupId>
302 <artifactId>json</artifactId>
303 </exclusion>
304 <exclusion>
305 <groupId>org.slf4j</groupId>
306 <artifactId>slf4j-log4j12</artifactId>
307 </exclusion>
308 <exclusion>
309 <artifactId>commons-collections</artifactId>
310 <groupId>commons-collections</groupId>
311 </exclusion>
312 <exclusion>
313 <artifactId>groovy</artifactId>
314 <groupId>org.codehaus.groovy</groupId>
315 </exclusion>
316 <exclusion>
317 <groupId>org.apache.thrift</groupId>
318 <artifactId>libthrift</artifactId>
319 </exclusion>
vasrazb7ea3ef2021-05-12 13:56:51 +0100320 <exclusion>
321 <groupId>commons-io</groupId>
322 <artifactId>commons-io</artifactId>
323 </exclusion>
vasraz66af7c52021-07-20 23:22:45 +0100324 <exclusion>
325 <groupId>commons-codec</groupId>
326 <artifactId>commons-codec</artifactId>
327 </exclusion>
vasrazb65fcbf2021-07-26 15:01:06 +0100328 <exclusion>
329 <groupId>dom4j</groupId>
330 <artifactId>dom4j</artifactId>
331 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200332 </exclusions>
333 </dependency>
334
335 <dependency>
vasrazb65fcbf2021-07-26 15:01:06 +0100336 <groupId>org.dom4j</groupId>
337 <artifactId>dom4j</artifactId>
338 <version>${org.dom4j.version}</version>
339 </dependency>
340
341 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200342 <groupId>com.googlecode.json-simple</groupId>
343 <artifactId>json-simple</artifactId>
344 <version>${json-simple.version}</version>
345 <scope>compile</scope>
346 </dependency>
347
348 <dependency>
349 <groupId>org.janusgraph</groupId>
350 <artifactId>janusgraph-cassandra</artifactId>
351 <version>${janusgraph.version}</version>
352 <scope>compile</scope>
353 <exclusions>
354 <exclusion>
355 <groupId>org.slf4j</groupId>
356 <artifactId>slf4j-log4j12</artifactId>
357 </exclusion>
vasrazc81c95b2021-05-31 23:08:39 +0100358 <exclusion>
359 <groupId>org.apache.thrift</groupId>
360 <artifactId>libthrift</artifactId>
361 </exclusion>
362 <exclusion>
363 <groupId>org.codehaus.jackson</groupId>
364 <artifactId>jackson-mapper-asl</artifactId>
365 </exclusion>
vasraz66af7c52021-07-20 23:22:45 +0100366 <exclusion>
367 <groupId>org.hibernate</groupId>
368 <artifactId>hibernate-validator</artifactId>
369 </exclusion>
vasrazb65fcbf2021-07-26 15:01:06 +0100370 <exclusion>
371 <groupId>org.apache.cassandra</groupId>
372 <artifactId>cassandra-all</artifactId>
373 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200374 </exclusions>
375 </dependency>
376
377 <dependency>
378 <groupId>commons-logging</groupId>
379 <artifactId>commons-logging</artifactId>
380 <version>${commons-logging}</version>
381 <scope>compile</scope>
382 </dependency>
383
384 <dependency>
385 <groupId>commons-codec</groupId>
386 <artifactId>commons-codec</artifactId>
387 <version>${commons-codec}</version>
388 <scope>compile</scope>
389 </dependency>
390
391 <dependency>
392 <groupId>com.fasterxml.jackson.core</groupId>
393 <artifactId>jackson-databind</artifactId>
394 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100395 <exclusions>
396 <exclusion>
397 <groupId>com.fasterxml.jackson.core</groupId>
398 <artifactId>jackson-core</artifactId>
399 </exclusion>
400 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200401 </dependency>
402
403 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
404 <dependency>
405 <groupId>com.fasterxml.jackson.core</groupId>
406 <artifactId>jackson-annotations</artifactId>
407 <version>${jackson-annotations.version}</version>
408 </dependency>
409
410 <dependency>
411 <groupId>com.google.code.gson</groupId>
412 <artifactId>gson</artifactId>
413 <version>${gson.version}</version>
414 <scope>compile</scope>
415 </dependency>
416
417 <dependency>
418 <groupId>org.apache.httpcomponents</groupId>
419 <artifactId>httpclient</artifactId>
420 <version>${httpclient.version}</version>
421 <scope>compile</scope>
422 </dependency>
423
424 <dependency>
425 <groupId>org.apache.httpcomponents</groupId>
426 <artifactId>httpcore</artifactId>
427 <version>${httpcore.version}</version>
428 <scope>compile</scope>
429 </dependency>
430
431 <!-- Spring 4 dependencies -->
432 <dependency>
433 <groupId>org.springframework</groupId>
434 <artifactId>spring-core</artifactId>
435 <version>${spring.version}</version>
436 <scope>compile</scope>
437 </dependency>
438
439 <dependency>
440 <groupId>org.springframework</groupId>
441 <artifactId>spring-context</artifactId>
442 <version>${spring.version}</version>
443 <scope>compile</scope>
vasraz8dbc7322021-06-26 14:23:12 +0100444 <exclusions>
445 <exclusion>
446 <groupId>org.springframework</groupId>
447 <artifactId>spring-expression</artifactId>
448 </exclusion>
449 <exclusion>
450 <groupId>org.springframework</groupId>
451 <artifactId>spring-core</artifactId>
452 </exclusion>
453 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200454 </dependency>
455
456 <dependency>
457 <groupId>org.springframework</groupId>
458 <artifactId>spring-expression</artifactId>
459 <version>${spring.version}</version>
460 <scope>compile</scope>
461 </dependency>
462
463 <dependency>
464 <groupId>org.springframework</groupId>
465 <artifactId>spring-beans</artifactId>
466 <version>${spring.version}</version>
467 <scope>compile</scope>
468 </dependency>
469
470 <dependency>
471 <groupId>org.springframework</groupId>
472 <artifactId>spring-aop</artifactId>
473 <version>${spring.version}</version>
474 <scope>compile</scope>
vasraz8dbc7322021-06-26 14:23:12 +0100475 <exclusions>
476 <exclusion>
477 <groupId>org.springframework</groupId>
478 <artifactId>spring-core</artifactId>
479 </exclusion>
480 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200481 </dependency>
482
483 <!-- Spring 4 dependencies end -->
484 <!-- JavaConfig need this library -->
485 <dependency>
486 <groupId>cglib</groupId>
487 <artifactId>cglib</artifactId>
488 <version>3.2.4</version>
489 <scope>compile</scope>
490 </dependency>
491
492 <dependency>
493 <groupId>org.yaml</groupId>
494 <artifactId>snakeyaml</artifactId>
495 <version>${snakeyaml.version}</version>
496 <scope>compile</scope>
497 </dependency>
498
499 <dependency>
500 <groupId>org.functionaljava</groupId>
501 <artifactId>functionaljava</artifactId>
502 <version>${functionaljava.version}</version>
503 <scope>compile</scope>
504 </dependency>
505
506 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200507 <groupId>com.fasterxml.jackson.dataformat</groupId>
508 <artifactId>jackson-dataformat-yaml</artifactId>
509 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100510 <exclusions>
511 <exclusion>
512 <groupId>com.fasterxml.jackson.core</groupId>
513 <artifactId>jackson-core</artifactId>
514 </exclusion>
515 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200516 </dependency>
517
518 <!-- CASSANDRA -->
519 <dependency>
520 <groupId>com.datastax.cassandra</groupId>
521 <artifactId>cassandra-driver-core</artifactId>
522 <version>${cassandra.driver.version}</version>
523 <scope>compile</scope>
524 </dependency>
525
526 <dependency>
527 <groupId>com.datastax.cassandra</groupId>
528 <artifactId>cassandra-driver-mapping</artifactId>
529 <version>${cassandra.driver.version}</version>
530 <scope>compile</scope>
531 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200532
533 <!-- CASSANDRA END -->
534
535 <!-- OPEN CSV -->
536 <dependency>
537 <groupId>com.opencsv</groupId>
538 <artifactId>opencsv</artifactId>
539 <version>4.0</version>
540 <scope>compile</scope>
541 </dependency>
542
543 <dependency>
544 <groupId>org.apache.poi</groupId>
545 <artifactId>poi</artifactId>
546 <version>${apache-poi.version}</version>
547 </dependency>
548
ys969316a9fce2020-01-19 13:50:02 +0200549 <!-- Temporary, till building the populate task which adding all components
550 to cache. We will use Serialization Utils. -->
551 <dependency>
552 <groupId>de.ruedigermoeller</groupId>
553 <artifactId>fst</artifactId>
554 <version>2.47</version>
vasrazca685bb2020-06-11 17:05:29 +0100555 <exclusions>
556 <exclusion>
557 <groupId>com.fasterxml.jackson.core</groupId>
558 <artifactId>jackson-core</artifactId>
559 </exclusion>
560 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200561 </dependency>
562
563 <!-- testing -->
564 <dependency>
565 <groupId>org.hamcrest</groupId>
566 <artifactId>hamcrest-all</artifactId>
567 <version>${hamcrest-all.version}</version>
568 <scope>test</scope>
569 </dependency>
570
571 <dependency>
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +0200572 <groupId>org.junit.jupiter</groupId>
573 <artifactId>junit-jupiter</artifactId>
574 <version>${junitJupiter.version}</version>
575 <scope>test</scope>
576 </dependency>
577
578 <dependency>
579 <groupId>org.mockito</groupId>
580 <artifactId>mockito-junit-jupiter</artifactId>
581 <version>${mockitoJupiter.version}</version>
582 <scope>test</scope>
583 </dependency>
584
585 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200586 <groupId>org.assertj</groupId>
587 <artifactId>assertj-core</artifactId>
588 <scope>test</scope>
589 </dependency>
590
591 <dependency>
592 <groupId>com.google.code.bean-matchers</groupId>
593 <artifactId>bean-matchers</artifactId>
594 <version>${bean-matchers.version}</version>
595 <scope>test</scope>
596 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200597 <!-- testing end -->
598
599 <dependency>
600 <groupId>io.netty</groupId>
601 <artifactId>netty-all</artifactId>
602 </dependency>
603
604 <dependency>
605 <groupId>io.netty</groupId>
606 <artifactId>netty-handler</artifactId>
607 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200608 </dependencies>
609
610 <build>
611 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
612 <plugins>
613 <plugin>
614 <groupId>org.apache.maven.plugins</groupId>
615 <artifactId>maven-deploy-plugin</artifactId>
616 <configuration>
617 <skip>true</skip>
618 </configuration>
619 </plugin>
620
621 <plugin>
622 <groupId>org.apache.maven.plugins</groupId>
623 <artifactId>maven-assembly-plugin</artifactId>
624 <executions>
625 <execution>
626 <configuration>
627 <finalName>sdctool</finalName>
628 <appendAssemblyId>false</appendAssemblyId>
629 <descriptors>
630 <descriptor>${project.basedir}/tarball.xml</descriptor>
631 </descriptors>
632 </configuration>
633 <id>assemble-file</id>
634 <phase>verify</phase>
635 <goals>
636 <goal>single</goal>
637 </goals>
638 </execution>
639 </executions>
640 </plugin>
641 <plugin>
642 <groupId>org.apache.maven.plugins</groupId>
643 <artifactId>maven-shade-plugin</artifactId>
644 <executions>
645 <execution>
646 <phase>package</phase>
647 <goals>
648 <goal>shade</goal>
649 </goals>
650 <configuration>
651 <filters>
652 <filter>
653 <artifact>org.openecomp.sdc:*</artifact>
654 <excludes>
655 <exclude>**/elasticsearch.yml</exclude>
656 </excludes>
657 </filter>
658 <filter>
659 <artifact>*:*</artifact>
660 <excludes>
661 <exclude>META-INF/*.SF</exclude>
662 <exclude>META-INF/*.DSA</exclude>
663 <exclude>META-INF/*.RSA</exclude>
664 </excludes>
665 </filter>
666 </filters>
667 <transformers>
668 <transformer
669 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
670 </transformers>
671 </configuration>
672 </execution>
673 </executions>
674 </plugin>
675 <plugin>
676 <groupId>ru.yaal.maven</groupId>
677 <artifactId>write-text-files-maven-plugin</artifactId>
678 <configuration>
679 <charset>UTF-8</charset>
680 <files>
681 <file>
682 <path>
683 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
684 </path>
685 <lines>
andre.schmid8f967e42020-01-22 14:49:32 +0000686 <line>
687 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
ys969316a9fce2020-01-19 13:50:02 +0200688 </line>
689 </lines>
690 </file>
691 </files>
692 </configuration>
693 <executions>
694 <execution>
695 <id>write-text-files</id>
696 <phase>prepare-package</phase>
697 <goals>
698 <goal>write-text-files</goal>
699 </goals>
700 </execution>
701 </executions>
702 </plugin>
703 <plugin>
704 <groupId>org.apache.maven.plugins</groupId>
705 <artifactId>maven-resources-plugin</artifactId>
706 <executions>
707 <execution>
708 <id>copy-tosca-folder</id>
709 <!-- here the phase you need -->
710 <phase>compile</phase>
711 <goals>
712 <goal>copy-resources</goal>
713 </goals>
714 <configuration>
715 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
716 <resources>
717 <resource>
718 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
719 </directory>
720 <filtering>true</filtering>
721 </resource>
722 </resources>
723 </configuration>
724 </execution>
725 </executions>
726 </plugin>
727 <plugin>
728 <groupId>com.github.sylvainlaurent.maven</groupId>
729 <artifactId>yaml-json-validator-maven-plugin</artifactId>
730 <executions>
731 <execution>
732 <id>validate</id>
733 <phase>validate</phase>
734 <goals>
735 <goal>validate</goal>
736 </goals>
737 <configuration>
738 <validationSets>
739 <validationSet>
740 <includes>
741 <include>src/main/resources/**/*.y*ml</include>
742 <include>src/test/resources/**/*.y*ml</include>
743 </includes>
744 </validationSet>
745 <validationSet>
746 <includes>
747 <include>src/main/resources/**/*.json</include>
748 <include>src/test/resources/**/*.json</include>
749 </includes>
750 <excludes>
751 <exclude>src/test/resources/graphError.json</exclude>
752 </excludes>
753 </validationSet>
754 </validationSets>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200755 <skip>${skipYamlJsonValidator}</skip>
ys969316a9fce2020-01-19 13:50:02 +0200756 </configuration>
757 </execution>
758 </executions>
759 </plugin>
760 </plugins>
761 </build>
762 <profiles>
763 <profile>
764 <id>docker</id>
765 <activation>
766 <activeByDefault>false</activeByDefault>
767 </activation>
768 <build>
769 <plugins>
770 <plugin>
771 <groupId>org.apache.maven.plugins</groupId>
772 <artifactId>maven-resources-plugin</artifactId>
773 <executions>
774 <execution>
775 <id>copy-sdctool</id>
776 <phase>verify</phase>
777 <goals>
778 <goal>copy-resources</goal>
779 </goals>
780 <configuration>
781 <outputDirectory>
782 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
783 </outputDirectory>
784 <resources>
785 <resource>
786 <directory>${project.parent.basedir}/asdctool/target</directory>
787 <includes>
788 <include>sdctool.tar</include>
789 </includes>
790 </resource>
791 </resources>
792 </configuration>
793 </execution>
794 </executions>
795 </plugin>
796 <plugin>
797 <groupId>io.fabric8</groupId>
798 <artifactId>docker-maven-plugin</artifactId>
799 <configuration>
sebdetdf353be2020-09-21 22:13:05 +0200800 <verbose>${verbose}</verbose>
sebdet591810d2020-09-17 15:07:23 +0200801 <apiVersion>${docker.api.version}</apiVersion>
MichaelMorrise8371ec2021-01-24 13:42:59 +0000802 <registry>registry.nordix.org</registry>
ys969316a9fce2020-01-19 13:50:02 +0200803 <authConfig>
804 <pull>
805 <username>docker</username>
806 <password>docker</password>
807 </pull>
808 </authConfig>
809 <images>
810 <!-- Build cassandra-init image -->
811 <image>
MichaelMorrise8371ec2021-01-24 13:42:59 +0000812 <name>uds/sdc-cassandra-init</name>
ys969316a9fce2020-01-19 13:50:02 +0200813 <alias>sdc-cassandra-init</alias>
814 <build>
815 <cleanup>try</cleanup>
816 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
817 <tags>
sebdetb988cb62020-09-25 15:48:10 +0200818 <tag>latest</tag>
MichaelMorrise8371ec2021-01-24 13:42:59 +0000819 <tag>${uds.version}-${maven.build.timestamp}</tag>
820 <tag>${uds.docker.staging.version}-STAGING-latest</tag>
ys969316a9fce2020-01-19 13:50:02 +0200821 </tags>
822 </build>
823 </image>
824 </images>
825 </configuration>
826 <executions>
827 <execution>
828 <id>clean-images</id>
829 <phase>pre-clean</phase>
830 <goals>
831 <goal>remove</goal>
832 </goals>
833 <configuration>
834 <removeAll>true</removeAll>
MichaelMorrise8371ec2021-01-24 13:42:59 +0000835 <image>uds/sdc-cassandra-init</image>
ys969316a9fce2020-01-19 13:50:02 +0200836 </configuration>
837 </execution>
838
839 <execution>
840 <id>generate-images</id>
841 <phase>install</phase>
842 <goals>
843 <goal>build</goal>
844 </goals>
845 </execution>
846
847 <execution>
848 <id>push-images</id>
849 <phase>deploy</phase>
850 <goals>
851 <goal>push</goal>
852 </goals>
853 <configuration>
MichaelMorrise8371ec2021-01-24 13:42:59 +0000854 <image>uds/sdc-cassandra-init</image>
ys969316a9fce2020-01-19 13:50:02 +0200855 </configuration>
856 </execution>
857 </executions>
858 </plugin>
859 </plugins>
860 </build>
861 </profile>
862 </profiles>
k.kazak8d526072019-05-29 14:50:05 +0200863</project>