blob: ef9ff17766dabf7af39006450337960c7eb85f80 [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>
Joanna Jeremicz1affa572020-11-30 11:35:07 +010012 <version>1.8.1-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>
vasraze3e2db12020-06-11 12:57:25 +0100515 <groupId>com.github.testng-team</groupId>
516 <artifactId>testng-junit5</artifactId>
517 <version>0.0.1</version>
518 <scope>test</scope>
vasraz77097d02020-06-28 19:55:01 +0100519 <exclusions>
520 <exclusion>
521 <groupId>org.junit.platform</groupId>
522 <artifactId>junit-platform-engine</artifactId>
523 </exclusion>
524 </exclusions>
vasraze3e2db12020-06-11 12:57:25 +0100525 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200526
527 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200528 <groupId>org.assertj</groupId>
529 <artifactId>assertj-core</artifactId>
530 <scope>test</scope>
531 </dependency>
532
533 <dependency>
534 <groupId>com.google.code.bean-matchers</groupId>
535 <artifactId>bean-matchers</artifactId>
536 <version>${bean-matchers.version}</version>
537 <scope>test</scope>
538 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200539 <!-- testing end -->
540
541 <dependency>
542 <groupId>io.netty</groupId>
543 <artifactId>netty-all</artifactId>
544 </dependency>
545
546 <dependency>
547 <groupId>io.netty</groupId>
548 <artifactId>netty-handler</artifactId>
549 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200550 </dependencies>
551
552 <build>
553 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
554 <plugins>
555 <plugin>
556 <groupId>org.apache.maven.plugins</groupId>
557 <artifactId>maven-deploy-plugin</artifactId>
558 <configuration>
559 <skip>true</skip>
560 </configuration>
561 </plugin>
562
563 <plugin>
564 <groupId>org.apache.maven.plugins</groupId>
565 <artifactId>maven-assembly-plugin</artifactId>
566 <executions>
567 <execution>
568 <configuration>
569 <finalName>sdctool</finalName>
570 <appendAssemblyId>false</appendAssemblyId>
571 <descriptors>
572 <descriptor>${project.basedir}/tarball.xml</descriptor>
573 </descriptors>
574 </configuration>
575 <id>assemble-file</id>
576 <phase>verify</phase>
577 <goals>
578 <goal>single</goal>
579 </goals>
580 </execution>
581 </executions>
582 </plugin>
583 <plugin>
584 <groupId>org.apache.maven.plugins</groupId>
585 <artifactId>maven-shade-plugin</artifactId>
586 <executions>
587 <execution>
588 <phase>package</phase>
589 <goals>
590 <goal>shade</goal>
591 </goals>
592 <configuration>
593 <filters>
594 <filter>
595 <artifact>org.openecomp.sdc:*</artifact>
596 <excludes>
597 <exclude>**/elasticsearch.yml</exclude>
598 </excludes>
599 </filter>
600 <filter>
601 <artifact>*:*</artifact>
602 <excludes>
603 <exclude>META-INF/*.SF</exclude>
604 <exclude>META-INF/*.DSA</exclude>
605 <exclude>META-INF/*.RSA</exclude>
606 </excludes>
607 </filter>
608 </filters>
609 <transformers>
610 <transformer
611 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
612 </transformers>
613 </configuration>
614 </execution>
615 </executions>
616 </plugin>
617 <plugin>
618 <groupId>ru.yaal.maven</groupId>
619 <artifactId>write-text-files-maven-plugin</artifactId>
620 <configuration>
621 <charset>UTF-8</charset>
622 <files>
623 <file>
624 <path>
625 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
626 </path>
627 <lines>
andre.schmid8f967e42020-01-22 14:49:32 +0000628 <line>
629 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
ys969316a9fce2020-01-19 13:50:02 +0200630 </line>
631 </lines>
632 </file>
633 </files>
634 </configuration>
635 <executions>
636 <execution>
637 <id>write-text-files</id>
638 <phase>prepare-package</phase>
639 <goals>
640 <goal>write-text-files</goal>
641 </goals>
642 </execution>
643 </executions>
644 </plugin>
645 <plugin>
646 <groupId>org.apache.maven.plugins</groupId>
647 <artifactId>maven-resources-plugin</artifactId>
648 <executions>
649 <execution>
650 <id>copy-tosca-folder</id>
651 <!-- here the phase you need -->
652 <phase>compile</phase>
653 <goals>
654 <goal>copy-resources</goal>
655 </goals>
656 <configuration>
657 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
658 <resources>
659 <resource>
660 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
661 </directory>
662 <filtering>true</filtering>
663 </resource>
664 </resources>
665 </configuration>
666 </execution>
667 </executions>
668 </plugin>
669 <plugin>
670 <groupId>com.github.sylvainlaurent.maven</groupId>
671 <artifactId>yaml-json-validator-maven-plugin</artifactId>
672 <executions>
673 <execution>
674 <id>validate</id>
675 <phase>validate</phase>
676 <goals>
677 <goal>validate</goal>
678 </goals>
679 <configuration>
680 <validationSets>
681 <validationSet>
682 <includes>
683 <include>src/main/resources/**/*.y*ml</include>
684 <include>src/test/resources/**/*.y*ml</include>
685 </includes>
686 </validationSet>
687 <validationSet>
688 <includes>
689 <include>src/main/resources/**/*.json</include>
690 <include>src/test/resources/**/*.json</include>
691 </includes>
692 <excludes>
693 <exclude>src/test/resources/graphError.json</exclude>
694 </excludes>
695 </validationSet>
696 </validationSets>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200697 <skip>${skipYamlJsonValidator}</skip>
ys969316a9fce2020-01-19 13:50:02 +0200698 </configuration>
699 </execution>
700 </executions>
701 </plugin>
702 </plugins>
703 </build>
704 <profiles>
705 <profile>
706 <id>docker</id>
707 <activation>
708 <activeByDefault>false</activeByDefault>
709 </activation>
710 <build>
711 <plugins>
712 <plugin>
713 <groupId>org.apache.maven.plugins</groupId>
714 <artifactId>maven-resources-plugin</artifactId>
715 <executions>
716 <execution>
717 <id>copy-sdctool</id>
718 <phase>verify</phase>
719 <goals>
720 <goal>copy-resources</goal>
721 </goals>
722 <configuration>
723 <outputDirectory>
724 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
725 </outputDirectory>
726 <resources>
727 <resource>
728 <directory>${project.parent.basedir}/asdctool/target</directory>
729 <includes>
730 <include>sdctool.tar</include>
731 </includes>
732 </resource>
733 </resources>
734 </configuration>
735 </execution>
736 </executions>
737 </plugin>
738 <plugin>
739 <groupId>io.fabric8</groupId>
740 <artifactId>docker-maven-plugin</artifactId>
741 <configuration>
sebdet591810d2020-09-17 15:07:23 +0200742 <apiVersion>${docker.api.version}</apiVersion>
ys969316a9fce2020-01-19 13:50:02 +0200743 <registry>nexus3.onap.org:10001</registry>
744 <authConfig>
745 <pull>
746 <username>docker</username>
747 <password>docker</password>
748 </pull>
749 </authConfig>
750 <images>
751 <!-- Build cassandra-init image -->
752 <image>
753 <name>onap/sdc-cassandra-init</name>
754 <alias>sdc-cassandra-init</alias>
755 <build>
756 <cleanup>try</cleanup>
757 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
758 <tags>
sebdetb988cb62020-09-25 15:48:10 +0200759 <tag>latest</tag>
ys969316a9fce2020-01-19 13:50:02 +0200760 <tag>
761 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
762 </tag>
sebdetb988cb62020-09-25 15:48:10 +0200763 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}</tag>
ys969316a9fce2020-01-19 13:50:02 +0200764 </tags>
765 </build>
766 </image>
767 </images>
768 </configuration>
769 <executions>
770 <execution>
771 <id>clean-images</id>
772 <phase>pre-clean</phase>
773 <goals>
774 <goal>remove</goal>
775 </goals>
776 <configuration>
777 <removeAll>true</removeAll>
778 <image>onap/sdc-cassandra-init</image>
779 </configuration>
780 </execution>
781
782 <execution>
783 <id>generate-images</id>
784 <phase>install</phase>
785 <goals>
786 <goal>build</goal>
787 </goals>
788 </execution>
789
790 <execution>
791 <id>push-images</id>
792 <phase>deploy</phase>
793 <goals>
794 <goal>push</goal>
795 </goals>
796 <configuration>
797 <image>onap/sdc-cassandra-init</image>
798 </configuration>
799 </execution>
800 </executions>
801 </plugin>
802 </plugins>
803 </build>
804 </profile>
805 </profiles>
k.kazak8d526072019-05-29 14:50:05 +0200806</project>