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