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