blob: 700d9dc9b35628c55ee7dd32bd9162d71f3a40d6 [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>
29 </dependency>
30 <dependency>
31 <groupId>org.openecomp.sdc</groupId>
32 <artifactId>common-app-api</artifactId>
33 <version>${project.version}</version>
34 <scope>compile</scope>
35 </dependency>
vasrazca685bb2020-06-11 17:05:29 +010036 <dependency>
37 <groupId>com.fasterxml.jackson.core</groupId>
38 <artifactId>jackson-core</artifactId>
39 <version>${jackson.version}</version>
40 </dependency>
Tomasz Golabek5c55e232019-08-22 15:03:50 +020041
ys969316a9fce2020-01-19 13:50:02 +020042 <dependency>
43 <groupId>org.openecomp.sdc.be</groupId>
44 <artifactId>catalog-dao</artifactId>
45 <version>${project.version}</version>
vasrazca685bb2020-06-11 17:05:29 +010046 <exclusions>
47 <exclusion>
48 <groupId>com.fasterxml.jackson.core</groupId>
49 <artifactId>jackson-core</artifactId>
50 </exclusion>
51 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +020052 </dependency>
Tomasz Golabekaa18a952019-06-07 09:28:23 +020053
ys969316a9fce2020-01-19 13:50:02 +020054 <dependency>
55 <groupId>org.openecomp.sdc.be</groupId>
56 <artifactId>catalog-model</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>
Yuli Shlosberg79e36272018-10-02 14:45:26 +030065
Yuli Shlosberg79e36272018-10-02 14:45:26 +030066
ys969316a9fce2020-01-19 13:50:02 +020067 <dependency>
68 <groupId>org.openecomp.sdc</groupId>
69 <artifactId>catalog-be</artifactId>
70 <version>${project.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +030071
ys969316a9fce2020-01-19 13:50:02 +020072 <!-- Comment Out in order to debug in eclipse -->
73 <classifier>classes</classifier>
Michael Lando451a3402017-02-19 10:28:42 +020074
ys969316a9fce2020-01-19 13:50:02 +020075 <exclusions>
76 <exclusion>
vasrazca685bb2020-06-11 17:05:29 +010077 <groupId>com.fasterxml.jackson.core</groupId>
78 <artifactId>jackson-core</artifactId>
79 </exclusion>
80 <exclusion>
vasraz086406a2021-02-22 09:50:07 +000081 <groupId>org.eclipse.jetty</groupId>
82 <artifactId>jetty-http</artifactId>
83 </exclusion>
84 <exclusion>
ys969316a9fce2020-01-19 13:50:02 +020085 <groupId>org.openecomp.ecompsdkos</groupId>
86 <artifactId>epsdk-fw</artifactId>
87 </exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +020088
ys969316a9fce2020-01-19 13:50:02 +020089 <exclusion>
90 <groupId>org.onap.sdc.common</groupId>
91 <artifactId>onap-common-lib</artifactId>
92 </exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +020093
ys969316a9fce2020-01-19 13:50:02 +020094 <exclusion>
95 <groupId>com.att.nsa</groupId>
96 <artifactId>cambriaClient</artifactId>
97 </exclusion>
98 <exclusion>
99 <groupId>com.att.nsa</groupId>
100 <artifactId>dmaapClient</artifactId>
101 </exclusion>
102 <exclusion>
103 <artifactId>slf4j-log4j12</artifactId>
104 <groupId>org.slf4j</groupId>
105 </exclusion>
106
107 </exclusions>
108
109 <scope>compile</scope>
110 </dependency>
111
112 <dependency>
113 <groupId>org.onap.portal.sdk</groupId>
114 <artifactId>epsdk-fw</artifactId>
115 <version>${ecomp.version}</version>
116 <scope>compile</scope>
117 <exclusions>
118 <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>
sebdeta9fffd22020-10-08 13:28:36 +0200130 <exclusion>
131 <artifactId>log4j</artifactId>
132 <groupId>log4j</groupId>
133 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200134 </exclusions>
135 </dependency>
136
137
138 <!-- ASDC dependencies end -->
139 <dependency>
140 <groupId>org.eclipse.jetty</groupId>
141 <artifactId>jetty-server</artifactId>
142 <version>${jetty.version}</version>
143 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000144 <exclusions>
145 <exclusion>
146 <groupId>org.eclipse.jetty</groupId>
147 <artifactId>jetty-http</artifactId>
148 </exclusion>
149 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200150 </dependency>
151
152 <dependency>
153 <groupId>org.eclipse.jetty</groupId>
154 <artifactId>jetty-util</artifactId>
155 <version>${jetty.version}</version>
156 <scope>compile</scope>
157 </dependency>
158
159 <!-- listen to file changes -->
160 <dependency>
161 <groupId>org.apache.commons</groupId>
162 <artifactId>commons-jci-core</artifactId>
163 <version>${commons-jci-core.version}</version>
164 <scope>compile</scope>
vasrazb7ea3ef2021-05-12 13:56:51 +0100165 <exclusions>
166 <exclusion>
167 <groupId>commons-io</groupId>
168 <artifactId>commons-io</artifactId>
169 </exclusion>
170 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200171 </dependency>
172
173 <dependency>
174 <groupId>commons-cli</groupId>
175 <artifactId>commons-cli</artifactId>
176 <version>1.4</version>
177 </dependency>
178
179 <dependency>
180 <groupId>org.eclipse.jetty</groupId>
181 <artifactId>jetty-servlet</artifactId>
182 <version>${jetty.version}</version>
183 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000184 <exclusions>
185 <exclusion>
186 <groupId>org.eclipse.jetty</groupId>
187 <artifactId>jetty-server</artifactId>
188 </exclusion>
189 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200190 </dependency>
191
192 <dependency>
193 <groupId>org.glassfish.jersey.core</groupId>
194 <artifactId>jersey-server</artifactId>
195 <version>${jersey-bom.version}</version>
196 <scope>compile</scope>
197 </dependency>
198
199 <dependency>
200 <groupId>org.glassfish.jersey.containers</groupId>
201 <artifactId>jersey-container-servlet-core</artifactId>
202 <version>${jersey-bom.version}</version>
203 <scope>compile</scope>
204 </dependency>
205
206 <dependency>
207 <groupId>org.glassfish.jersey.containers</groupId>
208 <artifactId>jersey-container-jetty-http</artifactId>
209 <version>${jersey-bom.version}</version>
210 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000211 <exclusions>
212 <exclusion>
213 <groupId>org.eclipse.jetty</groupId>
214 <artifactId>jetty-continuation</artifactId>
215 </exclusion>
216 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200217 </dependency>
218
219 <dependency>
220 <groupId>org.glassfish.jersey.media</groupId>
221 <artifactId>jersey-media-moxy</artifactId>
222 <version>${jersey-bom.version}</version>
223 <scope>compile</scope>
224 </dependency>
225
226 <dependency>
227 <groupId>org.glassfish.jersey.media</groupId>
228 <artifactId>jersey-media-multipart</artifactId>
229 <version>${jersey-bom.version}</version>
230 <scope>compile</scope>
231 </dependency>
232
233 <!-- slf4j + logback -->
234 <dependency>
235 <groupId>org.slf4j</groupId>
236 <artifactId>slf4j-api</artifactId>
237 <version>${slf4j-api.version}</version>
238 <scope>compile</scope>
239 </dependency>
240
241 <dependency>
242 <groupId>ch.qos.logback</groupId>
243 <artifactId>logback-classic</artifactId>
244 <version>${logback.version}</version>
245 <scope>compile</scope>
246 </dependency>
247
248 <dependency>
249 <groupId>ch.qos.logback</groupId>
250 <artifactId>logback-core</artifactId>
251 <version>${logback.version}</version>
252 <scope>compile</scope>
253 </dependency>
254
255 <!-- groovy -->
256 <dependency>
257 <groupId>org.codehaus.groovy</groupId>
258 <artifactId>groovy</artifactId>
259 <scope>compile</scope>
260 </dependency>
261
262 <dependency>
263 <groupId>org.apache.commons</groupId>
264 <artifactId>commons-configuration2</artifactId>
265 <version>${commons-configuration}</version>
266 </dependency>
267
268 <dependency>
269 <groupId>org.janusgraph</groupId>
270 <artifactId>janusgraph-core</artifactId>
271 <version>${janusgraph.version}</version>
272 <scope>compile</scope>
273 <exclusions>
274 <exclusion>
vasraz086406a2021-02-22 09:50:07 +0000275 <artifactId>gremlin-groovy</artifactId>
276 <groupId>org.apache.tinkerpop</groupId>
277 </exclusion>
278 <exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200279 <groupId>org.json</groupId>
280 <artifactId>json</artifactId>
281 </exclusion>
282 <exclusion>
283 <groupId>org.slf4j</groupId>
284 <artifactId>slf4j-log4j12</artifactId>
285 </exclusion>
286 <exclusion>
287 <artifactId>commons-collections</artifactId>
288 <groupId>commons-collections</groupId>
289 </exclusion>
290 <exclusion>
291 <artifactId>groovy</artifactId>
292 <groupId>org.codehaus.groovy</groupId>
293 </exclusion>
294 <exclusion>
295 <groupId>org.apache.thrift</groupId>
296 <artifactId>libthrift</artifactId>
297 </exclusion>
vasrazb7ea3ef2021-05-12 13:56:51 +0100298 <exclusion>
299 <groupId>commons-io</groupId>
300 <artifactId>commons-io</artifactId>
301 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200302 </exclusions>
303 </dependency>
304
305 <dependency>
306 <groupId>com.googlecode.json-simple</groupId>
307 <artifactId>json-simple</artifactId>
308 <version>${json-simple.version}</version>
309 <scope>compile</scope>
310 </dependency>
311
312 <dependency>
313 <groupId>org.janusgraph</groupId>
314 <artifactId>janusgraph-cassandra</artifactId>
315 <version>${janusgraph.version}</version>
316 <scope>compile</scope>
317 <exclusions>
318 <exclusion>
319 <groupId>org.slf4j</groupId>
320 <artifactId>slf4j-log4j12</artifactId>
321 </exclusion>
322 </exclusions>
323 </dependency>
324
325 <dependency>
326 <groupId>commons-logging</groupId>
327 <artifactId>commons-logging</artifactId>
328 <version>${commons-logging}</version>
329 <scope>compile</scope>
330 </dependency>
331
332 <dependency>
333 <groupId>commons-codec</groupId>
334 <artifactId>commons-codec</artifactId>
335 <version>${commons-codec}</version>
336 <scope>compile</scope>
337 </dependency>
338
339 <dependency>
340 <groupId>com.fasterxml.jackson.core</groupId>
341 <artifactId>jackson-databind</artifactId>
342 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100343 <exclusions>
344 <exclusion>
345 <groupId>com.fasterxml.jackson.core</groupId>
346 <artifactId>jackson-core</artifactId>
347 </exclusion>
348 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200349 </dependency>
350
351 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
352 <dependency>
353 <groupId>com.fasterxml.jackson.core</groupId>
354 <artifactId>jackson-annotations</artifactId>
355 <version>${jackson-annotations.version}</version>
356 </dependency>
357
358 <dependency>
359 <groupId>com.google.code.gson</groupId>
360 <artifactId>gson</artifactId>
361 <version>${gson.version}</version>
362 <scope>compile</scope>
363 </dependency>
364
365 <dependency>
366 <groupId>org.apache.httpcomponents</groupId>
367 <artifactId>httpclient</artifactId>
368 <version>${httpclient.version}</version>
369 <scope>compile</scope>
370 </dependency>
371
372 <dependency>
373 <groupId>org.apache.httpcomponents</groupId>
374 <artifactId>httpcore</artifactId>
375 <version>${httpcore.version}</version>
376 <scope>compile</scope>
377 </dependency>
378
379 <!-- Spring 4 dependencies -->
380 <dependency>
381 <groupId>org.springframework</groupId>
382 <artifactId>spring-core</artifactId>
383 <version>${spring.version}</version>
384 <scope>compile</scope>
385 </dependency>
386
387 <dependency>
388 <groupId>org.springframework</groupId>
389 <artifactId>spring-context</artifactId>
390 <version>${spring.version}</version>
391 <scope>compile</scope>
392 </dependency>
393
394 <dependency>
395 <groupId>org.springframework</groupId>
396 <artifactId>spring-expression</artifactId>
397 <version>${spring.version}</version>
398 <scope>compile</scope>
399 </dependency>
400
401 <dependency>
402 <groupId>org.springframework</groupId>
403 <artifactId>spring-beans</artifactId>
404 <version>${spring.version}</version>
405 <scope>compile</scope>
406 </dependency>
407
408 <dependency>
409 <groupId>org.springframework</groupId>
410 <artifactId>spring-aop</artifactId>
411 <version>${spring.version}</version>
412 <scope>compile</scope>
413 </dependency>
414
415 <!-- Spring 4 dependencies end -->
416 <!-- JavaConfig need this library -->
417 <dependency>
418 <groupId>cglib</groupId>
419 <artifactId>cglib</artifactId>
420 <version>3.2.4</version>
421 <scope>compile</scope>
422 </dependency>
423
424 <dependency>
425 <groupId>org.yaml</groupId>
426 <artifactId>snakeyaml</artifactId>
427 <version>${snakeyaml.version}</version>
428 <scope>compile</scope>
429 </dependency>
430
431 <dependency>
432 <groupId>org.functionaljava</groupId>
433 <artifactId>functionaljava</artifactId>
434 <version>${functionaljava.version}</version>
435 <scope>compile</scope>
436 </dependency>
437
438 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200439 <groupId>com.fasterxml.jackson.dataformat</groupId>
440 <artifactId>jackson-dataformat-yaml</artifactId>
441 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100442 <exclusions>
443 <exclusion>
444 <groupId>com.fasterxml.jackson.core</groupId>
445 <artifactId>jackson-core</artifactId>
446 </exclusion>
447 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200448 </dependency>
449
450 <!-- CASSANDRA -->
451 <dependency>
452 <groupId>com.datastax.cassandra</groupId>
453 <artifactId>cassandra-driver-core</artifactId>
454 <version>${cassandra.driver.version}</version>
455 <scope>compile</scope>
456 </dependency>
457
458 <dependency>
459 <groupId>com.datastax.cassandra</groupId>
460 <artifactId>cassandra-driver-mapping</artifactId>
461 <version>${cassandra.driver.version}</version>
462 <scope>compile</scope>
463 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200464
465 <!-- CASSANDRA END -->
466
467 <!-- OPEN CSV -->
468 <dependency>
469 <groupId>com.opencsv</groupId>
470 <artifactId>opencsv</artifactId>
471 <version>4.0</version>
472 <scope>compile</scope>
473 </dependency>
474
475 <dependency>
476 <groupId>org.apache.poi</groupId>
477 <artifactId>poi</artifactId>
478 <version>${apache-poi.version}</version>
479 </dependency>
480
481 <dependency>
482 <groupId>org.jdom</groupId>
483 <artifactId>jdom</artifactId>
484 <version>2.0.2</version>
485 <scope>compile</scope>
486 </dependency>
487
488 <!-- Temporary, till building the populate task which adding all components
489 to cache. We will use Serialization Utils. -->
490 <dependency>
491 <groupId>de.ruedigermoeller</groupId>
492 <artifactId>fst</artifactId>
493 <version>2.47</version>
vasrazca685bb2020-06-11 17:05:29 +0100494 <exclusions>
495 <exclusion>
496 <groupId>com.fasterxml.jackson.core</groupId>
497 <artifactId>jackson-core</artifactId>
498 </exclusion>
499 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200500 </dependency>
501
502 <!-- testing -->
503 <dependency>
504 <groupId>org.hamcrest</groupId>
505 <artifactId>hamcrest-all</artifactId>
506 <version>${hamcrest-all.version}</version>
507 <scope>test</scope>
508 </dependency>
509
510 <dependency>
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +0200511 <groupId>org.junit.jupiter</groupId>
512 <artifactId>junit-jupiter</artifactId>
513 <version>${junitJupiter.version}</version>
514 <scope>test</scope>
515 </dependency>
516
517 <dependency>
518 <groupId>org.mockito</groupId>
519 <artifactId>mockito-junit-jupiter</artifactId>
520 <version>${mockitoJupiter.version}</version>
521 <scope>test</scope>
522 </dependency>
523
524 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200525 <groupId>org.assertj</groupId>
526 <artifactId>assertj-core</artifactId>
527 <scope>test</scope>
528 </dependency>
529
530 <dependency>
531 <groupId>com.google.code.bean-matchers</groupId>
532 <artifactId>bean-matchers</artifactId>
533 <version>${bean-matchers.version}</version>
534 <scope>test</scope>
535 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200536 <!-- testing end -->
537
538 <dependency>
539 <groupId>io.netty</groupId>
540 <artifactId>netty-all</artifactId>
541 </dependency>
542
543 <dependency>
544 <groupId>io.netty</groupId>
545 <artifactId>netty-handler</artifactId>
546 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200547 </dependencies>
548
549 <build>
550 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
551 <plugins>
552 <plugin>
553 <groupId>org.apache.maven.plugins</groupId>
554 <artifactId>maven-deploy-plugin</artifactId>
555 <configuration>
556 <skip>true</skip>
557 </configuration>
558 </plugin>
559
560 <plugin>
561 <groupId>org.apache.maven.plugins</groupId>
562 <artifactId>maven-assembly-plugin</artifactId>
563 <executions>
564 <execution>
565 <configuration>
566 <finalName>sdctool</finalName>
567 <appendAssemblyId>false</appendAssemblyId>
568 <descriptors>
569 <descriptor>${project.basedir}/tarball.xml</descriptor>
570 </descriptors>
571 </configuration>
572 <id>assemble-file</id>
573 <phase>verify</phase>
574 <goals>
575 <goal>single</goal>
576 </goals>
577 </execution>
578 </executions>
579 </plugin>
580 <plugin>
581 <groupId>org.apache.maven.plugins</groupId>
582 <artifactId>maven-shade-plugin</artifactId>
583 <executions>
584 <execution>
585 <phase>package</phase>
586 <goals>
587 <goal>shade</goal>
588 </goals>
589 <configuration>
590 <filters>
591 <filter>
592 <artifact>org.openecomp.sdc:*</artifact>
593 <excludes>
594 <exclude>**/elasticsearch.yml</exclude>
595 </excludes>
596 </filter>
597 <filter>
598 <artifact>*:*</artifact>
599 <excludes>
600 <exclude>META-INF/*.SF</exclude>
601 <exclude>META-INF/*.DSA</exclude>
602 <exclude>META-INF/*.RSA</exclude>
603 </excludes>
604 </filter>
605 </filters>
606 <transformers>
607 <transformer
608 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
609 </transformers>
610 </configuration>
611 </execution>
612 </executions>
613 </plugin>
614 <plugin>
615 <groupId>ru.yaal.maven</groupId>
616 <artifactId>write-text-files-maven-plugin</artifactId>
617 <configuration>
618 <charset>UTF-8</charset>
619 <files>
620 <file>
621 <path>
622 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
623 </path>
624 <lines>
andre.schmid8f967e42020-01-22 14:49:32 +0000625 <line>
626 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
ys969316a9fce2020-01-19 13:50:02 +0200627 </line>
628 </lines>
629 </file>
630 </files>
631 </configuration>
632 <executions>
633 <execution>
634 <id>write-text-files</id>
635 <phase>prepare-package</phase>
636 <goals>
637 <goal>write-text-files</goal>
638 </goals>
639 </execution>
640 </executions>
641 </plugin>
642 <plugin>
643 <groupId>org.apache.maven.plugins</groupId>
644 <artifactId>maven-resources-plugin</artifactId>
645 <executions>
646 <execution>
647 <id>copy-tosca-folder</id>
648 <!-- here the phase you need -->
649 <phase>compile</phase>
650 <goals>
651 <goal>copy-resources</goal>
652 </goals>
653 <configuration>
654 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
655 <resources>
656 <resource>
657 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
658 </directory>
659 <filtering>true</filtering>
660 </resource>
661 </resources>
662 </configuration>
663 </execution>
664 </executions>
665 </plugin>
666 <plugin>
667 <groupId>com.github.sylvainlaurent.maven</groupId>
668 <artifactId>yaml-json-validator-maven-plugin</artifactId>
669 <executions>
670 <execution>
671 <id>validate</id>
672 <phase>validate</phase>
673 <goals>
674 <goal>validate</goal>
675 </goals>
676 <configuration>
677 <validationSets>
678 <validationSet>
679 <includes>
680 <include>src/main/resources/**/*.y*ml</include>
681 <include>src/test/resources/**/*.y*ml</include>
682 </includes>
683 </validationSet>
684 <validationSet>
685 <includes>
686 <include>src/main/resources/**/*.json</include>
687 <include>src/test/resources/**/*.json</include>
688 </includes>
689 <excludes>
690 <exclude>src/test/resources/graphError.json</exclude>
691 </excludes>
692 </validationSet>
693 </validationSets>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200694 <skip>${skipYamlJsonValidator}</skip>
ys969316a9fce2020-01-19 13:50:02 +0200695 </configuration>
696 </execution>
697 </executions>
698 </plugin>
699 </plugins>
700 </build>
701 <profiles>
702 <profile>
703 <id>docker</id>
704 <activation>
705 <activeByDefault>false</activeByDefault>
706 </activation>
707 <build>
708 <plugins>
709 <plugin>
710 <groupId>org.apache.maven.plugins</groupId>
711 <artifactId>maven-resources-plugin</artifactId>
712 <executions>
713 <execution>
714 <id>copy-sdctool</id>
715 <phase>verify</phase>
716 <goals>
717 <goal>copy-resources</goal>
718 </goals>
719 <configuration>
720 <outputDirectory>
721 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
722 </outputDirectory>
723 <resources>
724 <resource>
725 <directory>${project.parent.basedir}/asdctool/target</directory>
726 <includes>
727 <include>sdctool.tar</include>
728 </includes>
729 </resource>
730 </resources>
731 </configuration>
732 </execution>
733 </executions>
734 </plugin>
735 <plugin>
736 <groupId>io.fabric8</groupId>
737 <artifactId>docker-maven-plugin</artifactId>
738 <configuration>
sebdetdf353be2020-09-21 22:13:05 +0200739 <verbose>${verbose}</verbose>
sebdet591810d2020-09-17 15:07:23 +0200740 <apiVersion>${docker.api.version}</apiVersion>
ys969316a9fce2020-01-19 13:50:02 +0200741 <registry>nexus3.onap.org:10001</registry>
742 <authConfig>
743 <pull>
744 <username>docker</username>
745 <password>docker</password>
746 </pull>
747 </authConfig>
748 <images>
749 <!-- Build cassandra-init image -->
750 <image>
751 <name>onap/sdc-cassandra-init</name>
752 <alias>sdc-cassandra-init</alias>
753 <build>
754 <cleanup>try</cleanup>
755 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
756 <tags>
sebdetb988cb62020-09-25 15:48:10 +0200757 <tag>latest</tag>
ys969316a9fce2020-01-19 13:50:02 +0200758 <tag>
759 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
760 </tag>
sebdetb988cb62020-09-25 15:48:10 +0200761 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}</tag>
ys969316a9fce2020-01-19 13:50:02 +0200762 </tags>
763 </build>
764 </image>
765 </images>
766 </configuration>
767 <executions>
768 <execution>
769 <id>clean-images</id>
770 <phase>pre-clean</phase>
771 <goals>
772 <goal>remove</goal>
773 </goals>
774 <configuration>
775 <removeAll>true</removeAll>
776 <image>onap/sdc-cassandra-init</image>
777 </configuration>
778 </execution>
779
780 <execution>
781 <id>generate-images</id>
782 <phase>install</phase>
783 <goals>
784 <goal>build</goal>
785 </goals>
786 </execution>
787
788 <execution>
789 <id>push-images</id>
790 <phase>deploy</phase>
791 <goals>
792 <goal>push</goal>
793 </goals>
794 <configuration>
795 <image>onap/sdc-cassandra-init</image>
796 </configuration>
797 </execution>
798 </executions>
799 </plugin>
800 </plugins>
801 </build>
802 </profile>
803 </profiles>
k.kazak8d526072019-05-29 14:50:05 +0200804</project>