blob: 7161f89ca014b55d5f39a105441149bbfebd501e [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>
165 </dependency>
166
167 <dependency>
168 <groupId>commons-cli</groupId>
169 <artifactId>commons-cli</artifactId>
170 <version>1.4</version>
171 </dependency>
172
173 <dependency>
174 <groupId>org.eclipse.jetty</groupId>
175 <artifactId>jetty-servlet</artifactId>
176 <version>${jetty.version}</version>
177 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000178 <exclusions>
179 <exclusion>
180 <groupId>org.eclipse.jetty</groupId>
181 <artifactId>jetty-server</artifactId>
182 </exclusion>
183 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200184 </dependency>
185
186 <dependency>
187 <groupId>org.glassfish.jersey.core</groupId>
188 <artifactId>jersey-server</artifactId>
189 <version>${jersey-bom.version}</version>
190 <scope>compile</scope>
191 </dependency>
192
193 <dependency>
194 <groupId>org.glassfish.jersey.containers</groupId>
195 <artifactId>jersey-container-servlet-core</artifactId>
196 <version>${jersey-bom.version}</version>
197 <scope>compile</scope>
198 </dependency>
199
200 <dependency>
201 <groupId>org.glassfish.jersey.containers</groupId>
202 <artifactId>jersey-container-jetty-http</artifactId>
203 <version>${jersey-bom.version}</version>
204 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000205 <exclusions>
206 <exclusion>
207 <groupId>org.eclipse.jetty</groupId>
208 <artifactId>jetty-continuation</artifactId>
209 </exclusion>
210 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200211 </dependency>
212
213 <dependency>
214 <groupId>org.glassfish.jersey.media</groupId>
215 <artifactId>jersey-media-moxy</artifactId>
216 <version>${jersey-bom.version}</version>
217 <scope>compile</scope>
218 </dependency>
219
220 <dependency>
221 <groupId>org.glassfish.jersey.media</groupId>
222 <artifactId>jersey-media-multipart</artifactId>
223 <version>${jersey-bom.version}</version>
224 <scope>compile</scope>
225 </dependency>
226
227 <!-- slf4j + logback -->
228 <dependency>
229 <groupId>org.slf4j</groupId>
230 <artifactId>slf4j-api</artifactId>
231 <version>${slf4j-api.version}</version>
232 <scope>compile</scope>
233 </dependency>
234
235 <dependency>
236 <groupId>ch.qos.logback</groupId>
237 <artifactId>logback-classic</artifactId>
238 <version>${logback.version}</version>
239 <scope>compile</scope>
240 </dependency>
241
242 <dependency>
243 <groupId>ch.qos.logback</groupId>
244 <artifactId>logback-core</artifactId>
245 <version>${logback.version}</version>
246 <scope>compile</scope>
247 </dependency>
248
249 <!-- groovy -->
250 <dependency>
251 <groupId>org.codehaus.groovy</groupId>
252 <artifactId>groovy</artifactId>
253 <scope>compile</scope>
254 </dependency>
255
256 <dependency>
257 <groupId>org.apache.commons</groupId>
258 <artifactId>commons-configuration2</artifactId>
259 <version>${commons-configuration}</version>
260 </dependency>
261
262 <dependency>
263 <groupId>org.janusgraph</groupId>
264 <artifactId>janusgraph-core</artifactId>
265 <version>${janusgraph.version}</version>
266 <scope>compile</scope>
267 <exclusions>
268 <exclusion>
vasraz086406a2021-02-22 09:50:07 +0000269 <artifactId>gremlin-groovy</artifactId>
270 <groupId>org.apache.tinkerpop</groupId>
271 </exclusion>
272 <exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200273 <groupId>org.json</groupId>
274 <artifactId>json</artifactId>
275 </exclusion>
276 <exclusion>
277 <groupId>org.slf4j</groupId>
278 <artifactId>slf4j-log4j12</artifactId>
279 </exclusion>
280 <exclusion>
281 <artifactId>commons-collections</artifactId>
282 <groupId>commons-collections</groupId>
283 </exclusion>
284 <exclusion>
285 <artifactId>groovy</artifactId>
286 <groupId>org.codehaus.groovy</groupId>
287 </exclusion>
288 <exclusion>
289 <groupId>org.apache.thrift</groupId>
290 <artifactId>libthrift</artifactId>
291 </exclusion>
292 </exclusions>
293 </dependency>
294
295 <dependency>
296 <groupId>com.googlecode.json-simple</groupId>
297 <artifactId>json-simple</artifactId>
298 <version>${json-simple.version}</version>
299 <scope>compile</scope>
300 </dependency>
301
302 <dependency>
303 <groupId>org.janusgraph</groupId>
304 <artifactId>janusgraph-cassandra</artifactId>
305 <version>${janusgraph.version}</version>
306 <scope>compile</scope>
307 <exclusions>
308 <exclusion>
309 <groupId>org.slf4j</groupId>
310 <artifactId>slf4j-log4j12</artifactId>
311 </exclusion>
312 </exclusions>
313 </dependency>
314
315 <dependency>
316 <groupId>commons-logging</groupId>
317 <artifactId>commons-logging</artifactId>
318 <version>${commons-logging}</version>
319 <scope>compile</scope>
320 </dependency>
321
322 <dependency>
323 <groupId>commons-codec</groupId>
324 <artifactId>commons-codec</artifactId>
325 <version>${commons-codec}</version>
326 <scope>compile</scope>
327 </dependency>
328
329 <dependency>
330 <groupId>com.fasterxml.jackson.core</groupId>
331 <artifactId>jackson-databind</artifactId>
332 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100333 <exclusions>
334 <exclusion>
335 <groupId>com.fasterxml.jackson.core</groupId>
336 <artifactId>jackson-core</artifactId>
337 </exclusion>
338 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200339 </dependency>
340
341 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
342 <dependency>
343 <groupId>com.fasterxml.jackson.core</groupId>
344 <artifactId>jackson-annotations</artifactId>
345 <version>${jackson-annotations.version}</version>
346 </dependency>
347
348 <dependency>
349 <groupId>com.google.code.gson</groupId>
350 <artifactId>gson</artifactId>
351 <version>${gson.version}</version>
352 <scope>compile</scope>
353 </dependency>
354
355 <dependency>
356 <groupId>org.apache.httpcomponents</groupId>
357 <artifactId>httpclient</artifactId>
358 <version>${httpclient.version}</version>
359 <scope>compile</scope>
360 </dependency>
361
362 <dependency>
363 <groupId>org.apache.httpcomponents</groupId>
364 <artifactId>httpcore</artifactId>
365 <version>${httpcore.version}</version>
366 <scope>compile</scope>
367 </dependency>
368
369 <!-- Spring 4 dependencies -->
370 <dependency>
371 <groupId>org.springframework</groupId>
372 <artifactId>spring-core</artifactId>
373 <version>${spring.version}</version>
374 <scope>compile</scope>
375 </dependency>
376
377 <dependency>
378 <groupId>org.springframework</groupId>
379 <artifactId>spring-context</artifactId>
380 <version>${spring.version}</version>
381 <scope>compile</scope>
382 </dependency>
383
384 <dependency>
385 <groupId>org.springframework</groupId>
386 <artifactId>spring-expression</artifactId>
387 <version>${spring.version}</version>
388 <scope>compile</scope>
389 </dependency>
390
391 <dependency>
392 <groupId>org.springframework</groupId>
393 <artifactId>spring-beans</artifactId>
394 <version>${spring.version}</version>
395 <scope>compile</scope>
396 </dependency>
397
398 <dependency>
399 <groupId>org.springframework</groupId>
400 <artifactId>spring-aop</artifactId>
401 <version>${spring.version}</version>
402 <scope>compile</scope>
403 </dependency>
404
405 <!-- Spring 4 dependencies end -->
406 <!-- JavaConfig need this library -->
407 <dependency>
408 <groupId>cglib</groupId>
409 <artifactId>cglib</artifactId>
410 <version>3.2.4</version>
411 <scope>compile</scope>
412 </dependency>
413
414 <dependency>
415 <groupId>org.yaml</groupId>
416 <artifactId>snakeyaml</artifactId>
417 <version>${snakeyaml.version}</version>
418 <scope>compile</scope>
419 </dependency>
420
421 <dependency>
422 <groupId>org.functionaljava</groupId>
423 <artifactId>functionaljava</artifactId>
424 <version>${functionaljava.version}</version>
425 <scope>compile</scope>
426 </dependency>
427
428 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200429 <groupId>com.fasterxml.jackson.dataformat</groupId>
430 <artifactId>jackson-dataformat-yaml</artifactId>
431 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100432 <exclusions>
433 <exclusion>
434 <groupId>com.fasterxml.jackson.core</groupId>
435 <artifactId>jackson-core</artifactId>
436 </exclusion>
437 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200438 </dependency>
439
440 <!-- CASSANDRA -->
441 <dependency>
442 <groupId>com.datastax.cassandra</groupId>
443 <artifactId>cassandra-driver-core</artifactId>
444 <version>${cassandra.driver.version}</version>
445 <scope>compile</scope>
446 </dependency>
447
448 <dependency>
449 <groupId>com.datastax.cassandra</groupId>
450 <artifactId>cassandra-driver-mapping</artifactId>
451 <version>${cassandra.driver.version}</version>
452 <scope>compile</scope>
453 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200454
455 <!-- CASSANDRA END -->
456
457 <!-- OPEN CSV -->
458 <dependency>
459 <groupId>com.opencsv</groupId>
460 <artifactId>opencsv</artifactId>
461 <version>4.0</version>
462 <scope>compile</scope>
463 </dependency>
464
465 <dependency>
466 <groupId>org.apache.poi</groupId>
467 <artifactId>poi</artifactId>
468 <version>${apache-poi.version}</version>
469 </dependency>
470
471 <dependency>
472 <groupId>org.jdom</groupId>
473 <artifactId>jdom</artifactId>
474 <version>2.0.2</version>
475 <scope>compile</scope>
476 </dependency>
477
478 <!-- Temporary, till building the populate task which adding all components
479 to cache. We will use Serialization Utils. -->
480 <dependency>
481 <groupId>de.ruedigermoeller</groupId>
482 <artifactId>fst</artifactId>
483 <version>2.47</version>
vasrazca685bb2020-06-11 17:05:29 +0100484 <exclusions>
485 <exclusion>
486 <groupId>com.fasterxml.jackson.core</groupId>
487 <artifactId>jackson-core</artifactId>
488 </exclusion>
489 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200490 </dependency>
491
492 <!-- testing -->
493 <dependency>
494 <groupId>org.hamcrest</groupId>
495 <artifactId>hamcrest-all</artifactId>
496 <version>${hamcrest-all.version}</version>
497 <scope>test</scope>
498 </dependency>
499
500 <dependency>
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +0200501 <groupId>org.junit.jupiter</groupId>
502 <artifactId>junit-jupiter</artifactId>
503 <version>${junitJupiter.version}</version>
504 <scope>test</scope>
505 </dependency>
506
507 <dependency>
508 <groupId>org.mockito</groupId>
509 <artifactId>mockito-junit-jupiter</artifactId>
510 <version>${mockitoJupiter.version}</version>
511 <scope>test</scope>
512 </dependency>
513
514 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200515 <groupId>org.assertj</groupId>
516 <artifactId>assertj-core</artifactId>
517 <scope>test</scope>
518 </dependency>
519
520 <dependency>
521 <groupId>com.google.code.bean-matchers</groupId>
522 <artifactId>bean-matchers</artifactId>
523 <version>${bean-matchers.version}</version>
524 <scope>test</scope>
525 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200526 <!-- testing end -->
527
528 <dependency>
529 <groupId>io.netty</groupId>
530 <artifactId>netty-all</artifactId>
531 </dependency>
532
533 <dependency>
534 <groupId>io.netty</groupId>
535 <artifactId>netty-handler</artifactId>
536 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200537 </dependencies>
538
539 <build>
540 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
541 <plugins>
542 <plugin>
543 <groupId>org.apache.maven.plugins</groupId>
544 <artifactId>maven-deploy-plugin</artifactId>
545 <configuration>
546 <skip>true</skip>
547 </configuration>
548 </plugin>
549
550 <plugin>
551 <groupId>org.apache.maven.plugins</groupId>
552 <artifactId>maven-assembly-plugin</artifactId>
553 <executions>
554 <execution>
555 <configuration>
556 <finalName>sdctool</finalName>
557 <appendAssemblyId>false</appendAssemblyId>
558 <descriptors>
559 <descriptor>${project.basedir}/tarball.xml</descriptor>
560 </descriptors>
561 </configuration>
562 <id>assemble-file</id>
563 <phase>verify</phase>
564 <goals>
565 <goal>single</goal>
566 </goals>
567 </execution>
568 </executions>
569 </plugin>
570 <plugin>
571 <groupId>org.apache.maven.plugins</groupId>
572 <artifactId>maven-shade-plugin</artifactId>
573 <executions>
574 <execution>
575 <phase>package</phase>
576 <goals>
577 <goal>shade</goal>
578 </goals>
579 <configuration>
580 <filters>
581 <filter>
582 <artifact>org.openecomp.sdc:*</artifact>
583 <excludes>
584 <exclude>**/elasticsearch.yml</exclude>
585 </excludes>
586 </filter>
587 <filter>
588 <artifact>*:*</artifact>
589 <excludes>
590 <exclude>META-INF/*.SF</exclude>
591 <exclude>META-INF/*.DSA</exclude>
592 <exclude>META-INF/*.RSA</exclude>
593 </excludes>
594 </filter>
595 </filters>
596 <transformers>
597 <transformer
598 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
599 </transformers>
600 </configuration>
601 </execution>
602 </executions>
603 </plugin>
604 <plugin>
605 <groupId>ru.yaal.maven</groupId>
606 <artifactId>write-text-files-maven-plugin</artifactId>
607 <configuration>
608 <charset>UTF-8</charset>
609 <files>
610 <file>
611 <path>
612 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
613 </path>
614 <lines>
andre.schmid8f967e42020-01-22 14:49:32 +0000615 <line>
616 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
ys969316a9fce2020-01-19 13:50:02 +0200617 </line>
618 </lines>
619 </file>
620 </files>
621 </configuration>
622 <executions>
623 <execution>
624 <id>write-text-files</id>
625 <phase>prepare-package</phase>
626 <goals>
627 <goal>write-text-files</goal>
628 </goals>
629 </execution>
630 </executions>
631 </plugin>
632 <plugin>
633 <groupId>org.apache.maven.plugins</groupId>
634 <artifactId>maven-resources-plugin</artifactId>
635 <executions>
636 <execution>
637 <id>copy-tosca-folder</id>
638 <!-- here the phase you need -->
639 <phase>compile</phase>
640 <goals>
641 <goal>copy-resources</goal>
642 </goals>
643 <configuration>
644 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
645 <resources>
646 <resource>
647 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
648 </directory>
649 <filtering>true</filtering>
650 </resource>
651 </resources>
652 </configuration>
653 </execution>
654 </executions>
655 </plugin>
656 <plugin>
657 <groupId>com.github.sylvainlaurent.maven</groupId>
658 <artifactId>yaml-json-validator-maven-plugin</artifactId>
659 <executions>
660 <execution>
661 <id>validate</id>
662 <phase>validate</phase>
663 <goals>
664 <goal>validate</goal>
665 </goals>
666 <configuration>
667 <validationSets>
668 <validationSet>
669 <includes>
670 <include>src/main/resources/**/*.y*ml</include>
671 <include>src/test/resources/**/*.y*ml</include>
672 </includes>
673 </validationSet>
674 <validationSet>
675 <includes>
676 <include>src/main/resources/**/*.json</include>
677 <include>src/test/resources/**/*.json</include>
678 </includes>
679 <excludes>
680 <exclude>src/test/resources/graphError.json</exclude>
681 </excludes>
682 </validationSet>
683 </validationSets>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200684 <skip>${skipYamlJsonValidator}</skip>
ys969316a9fce2020-01-19 13:50:02 +0200685 </configuration>
686 </execution>
687 </executions>
688 </plugin>
689 </plugins>
690 </build>
691 <profiles>
692 <profile>
693 <id>docker</id>
694 <activation>
695 <activeByDefault>false</activeByDefault>
696 </activation>
697 <build>
698 <plugins>
699 <plugin>
700 <groupId>org.apache.maven.plugins</groupId>
701 <artifactId>maven-resources-plugin</artifactId>
702 <executions>
703 <execution>
704 <id>copy-sdctool</id>
705 <phase>verify</phase>
706 <goals>
707 <goal>copy-resources</goal>
708 </goals>
709 <configuration>
710 <outputDirectory>
711 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
712 </outputDirectory>
713 <resources>
714 <resource>
715 <directory>${project.parent.basedir}/asdctool/target</directory>
716 <includes>
717 <include>sdctool.tar</include>
718 </includes>
719 </resource>
720 </resources>
721 </configuration>
722 </execution>
723 </executions>
724 </plugin>
725 <plugin>
726 <groupId>io.fabric8</groupId>
727 <artifactId>docker-maven-plugin</artifactId>
728 <configuration>
sebdetdf353be2020-09-21 22:13:05 +0200729 <verbose>${verbose}</verbose>
sebdet591810d2020-09-17 15:07:23 +0200730 <apiVersion>${docker.api.version}</apiVersion>
ys969316a9fce2020-01-19 13:50:02 +0200731 <registry>nexus3.onap.org:10001</registry>
732 <authConfig>
733 <pull>
734 <username>docker</username>
735 <password>docker</password>
736 </pull>
737 </authConfig>
738 <images>
739 <!-- Build cassandra-init image -->
740 <image>
741 <name>onap/sdc-cassandra-init</name>
742 <alias>sdc-cassandra-init</alias>
743 <build>
744 <cleanup>try</cleanup>
745 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
746 <tags>
sebdetb988cb62020-09-25 15:48:10 +0200747 <tag>latest</tag>
ys969316a9fce2020-01-19 13:50:02 +0200748 <tag>
749 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
750 </tag>
sebdetb988cb62020-09-25 15:48:10 +0200751 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}</tag>
ys969316a9fce2020-01-19 13:50:02 +0200752 </tags>
753 </build>
754 </image>
755 </images>
756 </configuration>
757 <executions>
758 <execution>
759 <id>clean-images</id>
760 <phase>pre-clean</phase>
761 <goals>
762 <goal>remove</goal>
763 </goals>
764 <configuration>
765 <removeAll>true</removeAll>
766 <image>onap/sdc-cassandra-init</image>
767 </configuration>
768 </execution>
769
770 <execution>
771 <id>generate-images</id>
772 <phase>install</phase>
773 <goals>
774 <goal>build</goal>
775 </goals>
776 </execution>
777
778 <execution>
779 <id>push-images</id>
780 <phase>deploy</phase>
781 <goals>
782 <goal>push</goal>
783 </goals>
784 <configuration>
785 <image>onap/sdc-cassandra-init</image>
786 </configuration>
787 </execution>
788 </executions>
789 </plugin>
790 </plugins>
791 </build>
792 </profile>
793 </profiles>
k.kazak8d526072019-05-29 14:50:05 +0200794</project>