Step version to 1.11.4-SNAPSHOT
[sdc.git] / catalog-be / 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>catalog-be</artifactId>
7     <packaging>war</packaging>
8
9     <parent>
10         <groupId>org.openecomp.sdc</groupId>
11         <artifactId>sdc-main</artifactId>
12         <version>1.11.4-SNAPSHOT</version>
13     </parent>
14
15     <properties>
16         <java-hamcrest.version>2.0.0.0</java-hamcrest.version>
17         <swagger.version>${swagger-core-mvn-plugin.version}</swagger.version>
18         <swagger-ui.version>3.25.0</swagger-ui.version>
19         <maven-dependency-plugin.version>3.2.0</maven-dependency-plugin.version>
20         <replacer.plugin.version>1.5.3</replacer.plugin.version>
21         <ui.version>${project.version}</ui.version>
22     </properties>
23
24     <dependencies>
25         <dependency>
26             <groupId>org.openecomp.sdc</groupId>
27             <artifactId>togglz-rest-services</artifactId>
28             <version>${project.version}</version>
29             <exclusions>
30                 <exclusion>
31                     <groupId>com.fasterxml.woodstox</groupId>
32                     <artifactId>woodstox-core</artifactId>
33                 </exclusion>
34             </exclusions>
35         </dependency>
36
37         <!--JSON and YAML Parsing-->
38         <dependency>
39             <groupId>com.fasterxml.jackson.core</groupId>
40             <artifactId>jackson-core</artifactId>
41             <version>${jackson.version}</version>
42         </dependency>
43         <dependency>
44             <groupId>com.fasterxml.jackson.dataformat</groupId>
45             <artifactId>jackson-dataformat-yaml</artifactId>
46             <version>${jackson.version}</version>
47             <exclusions>
48                 <exclusion>
49                     <groupId>com.fasterxml.jackson.core</groupId>
50                     <artifactId>jackson-core</artifactId>
51                 </exclusion>
52             </exclusions>
53         </dependency>
54
55         <dependency>
56             <groupId>com.fasterxml.jackson.core</groupId>
57             <artifactId>jackson-databind</artifactId>
58             <version>${jackson.version}</version>
59             <exclusions>
60                 <exclusion>
61                     <groupId>com.fasterxml.jackson.core</groupId>
62                     <artifactId>jackson-core</artifactId>
63                 </exclusion>
64             </exclusions>
65         </dependency>
66
67         <dependency>
68             <groupId>org.onap.sdc.common</groupId>
69             <artifactId>onap-generic-artifact-browser-service</artifactId>
70             <version>${project.version}</version>
71             <scope>compile</scope>
72         </dependency>
73
74         <!-- Swagger Dependencies Start -->
75         <dependency>
76             <groupId>io.swagger.core.v3</groupId>
77             <artifactId>swagger-jaxrs2</artifactId>
78             <version>${swagger.version}</version>
79             <exclusions>
80                 <exclusion>
81                     <groupId>com.fasterxml.jackson.core</groupId>
82                     <artifactId>jackson-core</artifactId>
83                 </exclusion>
84                 <exclusion>
85                     <groupId>io.github.classgraph</groupId>
86                     <artifactId>classgraph</artifactId>
87                 </exclusion>
88             </exclusions>
89         </dependency>
90         <dependency>
91             <groupId>io.swagger.core.v3</groupId>
92             <artifactId>swagger-annotations</artifactId>
93             <version>${swagger.version}</version>
94         </dependency>
95         <!-- Swagger Dependencies End -->
96
97         <dependency>
98             <groupId>org.hibernate.validator</groupId>
99             <artifactId>hibernate-validator</artifactId>
100             <version>${hibernate.validator.version}</version>
101         </dependency>
102
103         <dependency>
104             <groupId>org.openecomp.sdc</groupId>
105             <artifactId>common-app-api</artifactId>
106             <version>${project.version}</version>
107             <exclusions>
108                 <exclusion>
109                     <groupId>com.fasterxml.jackson.core</groupId>
110                     <artifactId>jackson-core</artifactId>
111                 </exclusion>
112                 <exclusion>
113                     <groupId>org.apache.httpcomponents</groupId>
114                     <artifactId>httpcore</artifactId>
115                 </exclusion>
116             </exclusions>
117         </dependency>
118
119         <dependency>
120             <groupId>javax.ws.rs</groupId>
121             <artifactId>javax.ws.rs-api</artifactId>
122             <version>${ws.rs.version}</version>
123         </dependency>
124
125         <dependency>
126             <groupId>org.openecomp.sdc.be</groupId>
127             <artifactId>common-be</artifactId>
128             <version>${project.version}</version>
129             <scope>compile</scope>
130             <exclusions>
131                 <exclusion>
132                     <groupId>org.springframework</groupId>
133                     <artifactId>spring-core</artifactId>
134                 </exclusion>
135             </exclusions>
136         </dependency>
137         <dependency>
138             <groupId>org.openecomp.sdc.be</groupId>
139             <artifactId>common-be-tests-utils</artifactId>
140             <version>${project.version}</version>
141             <scope>test</scope>
142             <exclusions>
143                 <exclusion>
144                     <groupId>org.springframework</groupId>
145                     <artifactId>spring-core</artifactId>
146                 </exclusion>
147             </exclusions>
148         </dependency>
149         <dependency>
150             <groupId>org.openecomp.sdc.be</groupId>
151             <artifactId>catalog-dao</artifactId>
152             <version>${project.version}</version>
153             <exclusions>
154                 <exclusion>
155                     <groupId>com.fasterxml.jackson.core</groupId>
156                     <artifactId>jackson-core</artifactId>
157                 </exclusion>
158             </exclusions>
159         </dependency>
160
161         <dependency>
162             <groupId>org.openecomp.sdc.be</groupId>
163             <artifactId>catalog-model</artifactId>
164             <version>${project.version}</version>
165             <exclusions>
166                 <exclusion>
167                     <groupId>com.fasterxml.jackson.core</groupId>
168                     <artifactId>jackson-core</artifactId>
169                 </exclusion>
170             </exclusions>
171         </dependency>
172
173       <dependency>
174           <groupId>io.micrometer</groupId>
175           <artifactId>micrometer-registry-prometheus</artifactId>
176           <version>${micrometer.version}</version>
177       </dependency>
178
179         <dependency>
180             <groupId>ch.qos.logback</groupId>
181             <artifactId>logback-classic</artifactId>
182             <version>${logback.version}</version>
183             <scope>compile</scope>
184         </dependency>
185
186         <!-- Snake Yaml -->
187         <dependency>
188             <groupId>org.yaml</groupId>
189             <artifactId>snakeyaml</artifactId>
190             <version>${snakeyaml.version}</version>
191             <scope>compile</scope>
192         </dependency>
193
194         <!-- File changes listener -->
195         <dependency>
196             <groupId>org.apache.commons</groupId>
197             <artifactId>commons-jci-core</artifactId>
198             <version>${commons-jci-core.version}</version>
199             <scope>compile</scope>
200             <exclusions>
201                 <exclusion>
202                     <groupId>commons-io</groupId>
203                     <artifactId>commons-io</artifactId>
204                 </exclusion>
205             </exclusions>
206         </dependency>
207
208         <!-- Gson -->
209         <dependency>
210             <groupId>com.google.code.gson</groupId>
211             <artifactId>gson</artifactId>
212             <version>${gson.version}</version>
213             <scope>compile</scope>
214         </dependency>
215
216         <!-- jersey -->
217         <dependency>
218             <groupId>org.glassfish.jersey.media</groupId>
219             <artifactId>jersey-media-json-jackson</artifactId>
220             <version>${jersey-bom.version}</version>
221             <exclusions>
222                 <exclusion>
223                     <groupId>com.fasterxml.jackson.core</groupId>
224                     <artifactId>jackson-core</artifactId>
225                 </exclusion>
226             </exclusions>
227         </dependency>
228
229         <dependency>
230             <groupId>org.glassfish.jersey.containers</groupId>
231             <artifactId>jersey-container-servlet-core</artifactId>
232             <version>${jersey-bom.version}</version>
233             <scope>compile</scope>
234         </dependency>
235
236         <dependency>
237             <groupId>org.glassfish.jersey.media</groupId>
238             <artifactId>jersey-media-multipart</artifactId>
239             <version>${jersey-bom.version}</version>
240             <scope>compile</scope>
241         </dependency>
242         <dependency>
243             <groupId>org.glassfish.jersey.ext</groupId>
244             <artifactId>jersey-spring4</artifactId>
245             <version>${jersey-bom.version}</version>
246             <exclusions>
247                 <exclusion>
248                     <groupId>org.springframework</groupId>
249                     <artifactId>spring-web</artifactId>
250                 </exclusion>
251                 <exclusion>
252                     <groupId>org.springframework</groupId>
253                     <artifactId>spring-beans</artifactId>
254                 </exclusion>
255                 <exclusion>
256                     <groupId>org.springframework</groupId>
257                     <artifactId>spring-core</artifactId>
258                 </exclusion>
259                 <exclusion>
260                     <groupId>org.springframework</groupId>
261                     <artifactId>spring-aop</artifactId>
262                 </exclusion>
263                 <!-- Transitive dependency of spring-bridge -->
264                 <exclusion>
265                     <groupId>org.springframework</groupId>
266                     <artifactId>spring-context</artifactId>
267                 </exclusion>
268                 <exclusion>
269                     <groupId>org.hibernate</groupId>
270                     <artifactId>hibernate-validator</artifactId>
271                 </exclusion>
272             </exclusions>
273
274         </dependency>
275
276         <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler
277             currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency-->
278         <dependency>
279             <groupId>org.glassfish.hk2.external</groupId>
280             <artifactId>asm-all-repackaged</artifactId>
281         </dependency>
282
283         <dependency>
284             <groupId>org.glassfish.jersey.ext</groupId>
285             <artifactId>jersey-bean-validation</artifactId>
286             <exclusions>
287                 <exclusion>
288                     <groupId>org.hibernate</groupId>
289                     <artifactId>hibernate-validator</artifactId>
290                 </exclusion>
291             </exclusions>
292         </dependency>
293
294         <!-- http client -->
295         <dependency>
296             <groupId>org.apache.httpcomponents</groupId>
297             <artifactId>httpclient</artifactId>
298             <version>${httpclient.version}</version>
299             <scope>compile</scope>
300             <exclusions>
301                 <exclusion>
302                     <groupId>org.apache.httpcomponents</groupId>
303                     <artifactId>httpcore</artifactId>
304                 </exclusion>
305             </exclusions>
306         </dependency>
307
308         <dependency>
309             <groupId>org.apache.httpcomponents</groupId>
310             <artifactId>httpcore</artifactId>
311             <version>${httpcore.version}</version>
312             <scope>compile</scope>
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         <!-- http client END -->
329
330         <dependency>
331             <groupId>javax.servlet</groupId>
332             <artifactId>javax.servlet-api</artifactId>
333             <version>${servlet-api.version}</version>
334             <scope>provided</scope>
335         </dependency>
336
337         <dependency>
338             <groupId>org.eclipse.jgit</groupId>
339             <artifactId>org.eclipse.jgit</artifactId>
340             <version>3.4.1.201406201815-r</version>
341         </dependency>
342
343         <!-- spring - used by A4C -->
344         <dependency>
345             <groupId>org.springframework</groupId>
346             <artifactId>spring-core</artifactId>
347             <version>${spring.version}</version>
348             <scope>compile</scope>
349         </dependency>
350
351         <dependency>
352             <groupId>org.springframework</groupId>
353             <artifactId>spring-context</artifactId>
354             <version>${spring.version}</version>
355             <scope>compile</scope>
356             <exclusions>
357                 <exclusion>
358                     <groupId>org.springframework</groupId>
359                     <artifactId>spring-expression</artifactId>
360                 </exclusion>
361                 <exclusion>
362                     <groupId>org.springframework</groupId>
363                     <artifactId>spring-core</artifactId>
364                 </exclusion>
365             </exclusions>
366         </dependency>
367
368         <dependency>
369             <groupId>org.springframework</groupId>
370             <artifactId>spring-web</artifactId>
371             <version>${spring.version}</version>
372             <scope>compile</scope>
373             <exclusions>
374                 <exclusion>
375                     <groupId>org.springframework</groupId>
376                     <artifactId>spring-core</artifactId>
377                 </exclusion>
378             </exclusions>
379         </dependency>
380
381         <dependency>
382             <groupId>org.springframework</groupId>
383             <artifactId>spring-webmvc</artifactId>
384             <version>${spring.version}</version>
385             <scope>compile</scope>
386             <exclusions>
387                 <exclusion>
388                     <groupId>org.springframework</groupId>
389                     <artifactId>spring-expression</artifactId>
390                 </exclusion>
391                 <exclusion>
392                     <groupId>org.springframework</groupId>
393                     <artifactId>spring-core</artifactId>
394                 </exclusion>
395                 <exclusion>
396                     <groupId>org.springframework</groupId>
397                     <artifactId>spring-web</artifactId>
398                 </exclusion>
399             </exclusions>
400         </dependency>
401
402         <dependency>
403             <groupId>org.springframework</groupId>
404             <artifactId>spring-aop</artifactId>
405             <version>${spring.version}</version>
406             <scope>compile</scope>
407             <exclusions>
408                 <exclusion>
409                     <groupId>org.springframework</groupId>
410                     <artifactId>spring-core</artifactId>
411                 </exclusion>
412             </exclusions>
413         </dependency>
414
415         <dependency>
416             <groupId>org.springframework</groupId>
417             <artifactId>spring-beans</artifactId>
418             <version>${spring.version}</version>
419             <scope>compile</scope>
420         </dependency>
421
422         <dependency>
423             <groupId>org.springframework</groupId>
424             <artifactId>spring-expression</artifactId>
425             <version>${spring.version}</version>
426             <scope>compile</scope>
427         </dependency>
428
429         <!-- Spring integration (optional) -->
430         <dependency>
431             <groupId>org.togglz</groupId>
432             <artifactId>togglz-spring-web</artifactId>
433             <version>${togglz.version}</version>
434         </dependency>
435
436         <dependency>
437             <groupId>org.codehaus.janino</groupId>
438             <artifactId>janino</artifactId>
439             <version>${janino.version}</version>
440             <scope>compile</scope>
441         </dependency>
442
443         <dependency>
444             <groupId>org.codehaus.janino</groupId>
445             <artifactId>commons-compiler</artifactId>
446             <version>${janino.version}</version>
447             <scope>compile</scope>
448         </dependency>
449
450         <dependency>
451             <groupId>com.google.guava</groupId>
452             <artifactId>guava</artifactId>
453             <version>${guava.version}</version>
454             <scope>compile</scope>
455         </dependency>
456
457         <dependency>
458             <groupId>org.janusgraph</groupId>
459             <artifactId>janusgraph-core</artifactId>
460             <version>${janusgraph.version}</version>
461             <scope>compile</scope>
462             <exclusions>
463                 <exclusion>
464                     <artifactId>gremlin-groovy</artifactId>
465                     <groupId>org.apache.tinkerpop</groupId>
466                 </exclusion>
467                 <exclusion>
468                     <groupId>org.json</groupId>
469                     <artifactId>json</artifactId>
470                 </exclusion>
471                 <exclusion>
472                     <artifactId>slf4j-log4j12</artifactId>
473                     <groupId>org.slf4j</groupId>
474                 </exclusion>
475                 <exclusion>
476                     <artifactId>commons-collections</artifactId>
477                     <groupId>commons-collections</groupId>
478                 </exclusion>
479                 <exclusion>
480                     <groupId>org.apache.thrift</groupId>
481                     <artifactId>libthrift</artifactId>
482                 </exclusion>
483                 <exclusion>
484                     <groupId>commons-io</groupId>
485                     <artifactId>commons-io</artifactId>
486                 </exclusion>
487                 <exclusion>
488                     <groupId>commons-codec</groupId>
489                     <artifactId>commons-codec</artifactId>
490                 </exclusion>
491                 <exclusion>
492                     <groupId>dom4j</groupId>
493                     <artifactId>dom4j</artifactId>
494                 </exclusion>
495                 <exclusion>
496                     <groupId>org.slf4j</groupId>
497                     <artifactId>jcl-over-slf4j</artifactId>
498                 </exclusion>
499             </exclusions>
500         </dependency>
501
502         <dependency>
503             <groupId>org.janusgraph</groupId>
504             <artifactId>janusgraph-cql</artifactId>
505             <version>${janusgraph.version}</version>
506             <scope>compile</scope>
507             <exclusions>
508                 <exclusion>
509                     <groupId>org.slf4j</groupId>
510                     <artifactId>slf4j-log4j12</artifactId>
511                 </exclusion>
512                 <exclusion>
513                     <groupId>org.json</groupId>
514                     <artifactId>json</artifactId>
515                 </exclusion>
516                 <exclusion>
517                     <artifactId>commons-collections</artifactId>
518                     <groupId>commons-collections</groupId>
519                 </exclusion>
520                 <exclusion>
521                     <artifactId>groovy</artifactId>
522                     <groupId>org.codehaus.groovy</groupId>
523                 </exclusion>
524                 <exclusion>
525                     <groupId>io.netty</groupId>
526                     <artifactId>netty-all</artifactId>
527                 </exclusion>
528             </exclusions>
529         </dependency>
530
531         <dependency>
532             <groupId>org.apache.commons</groupId>
533             <artifactId>commons-lang3</artifactId>
534             <version>${lang3.version}</version>
535             <scope>compile</scope>
536         </dependency>
537
538         <dependency>
539             <groupId>com.googlecode.json-simple</groupId>
540             <artifactId>json-simple</artifactId>
541             <version>${json-simple.version}</version>
542             <scope>compile</scope>
543
544         </dependency>
545
546         <!-- functional java -->
547         <dependency>
548             <groupId>org.functionaljava</groupId>
549             <artifactId>functionaljava</artifactId>
550             <version>${functionaljava.version}</version>
551             <scope>compile</scope>
552         </dependency>
553
554         <!-- Aspects -->
555         <dependency>
556             <groupId>com.jcabi</groupId>
557             <artifactId>jcabi-aspects</artifactId>
558             <version>${jcabi.version}</version>
559             <scope>compile</scope>
560         </dependency>
561
562         <dependency>
563             <groupId>org.aspectj</groupId>
564             <artifactId>aspectjrt</artifactId>
565             <version>${aspectjrt.version}</version>
566             <scope>compile</scope>
567         </dependency>
568
569
570         <!-- CAMBRIA CLIENT for U-EB -->
571         <dependency>
572             <groupId>com.att.nsa</groupId>
573             <artifactId>cambriaClient</artifactId>
574             <version>1.2.1-oss</version>
575             <scope>compile</scope>
576             <exclusions>
577                 <exclusion>
578                     <groupId>com.att.nsa</groupId>
579                     <artifactId>saClientLibrary</artifactId>
580                 </exclusion>
581             </exclusions>
582         </dependency>
583
584         <dependency>
585             <groupId>org.json</groupId>
586             <artifactId>json</artifactId>
587             <version>20131018</version>
588             <scope>compile</scope>
589         </dependency>
590
591         <!-- CASSANDRA -->
592         <dependency>
593             <groupId>com.datastax.cassandra</groupId>
594             <artifactId>cassandra-driver-core</artifactId>
595             <version>${cassandra.driver.version}</version>
596             <scope>compile</scope>
597         </dependency>
598         <dependency>
599             <groupId>com.datastax.cassandra</groupId>
600             <artifactId>cassandra-driver-mapping</artifactId>
601             <version>${cassandra.driver.version}</version>
602             <scope>compile</scope>
603         </dependency>
604         <!-- CASSANDRA END -->
605
606         <!-- Inserted for ECOMP Portal Integration -->
607         <dependency>
608             <groupId>org.owasp.esapi</groupId>
609             <artifactId>esapi</artifactId>
610             <version>${org.owasp.esapi.version}</version>
611             <exclusions>
612                 <exclusion>
613                     <groupId>log4j</groupId>
614                     <artifactId>log4j</artifactId>
615                 </exclusion>
616                 <exclusion>
617                     <groupId>commons-io</groupId>
618                     <artifactId>commons-io</artifactId>
619                 </exclusion>
620                 <exclusion>
621                     <groupId>commons-fileupload</groupId>
622                     <artifactId>commons-fileupload</artifactId>
623                 </exclusion>
624                 <exclusion>
625                     <groupId>org.apache.xmlgraphics</groupId>
626                     <artifactId>xmlgraphics-commons</artifactId>
627                 </exclusion>
628                 <exclusion>
629                     <groupId>xml-apis</groupId>
630                     <artifactId>xml-apis-ext</artifactId>
631                 </exclusion>
632                 <exclusion>
633                     <groupId>xml-apis</groupId>
634                     <artifactId>xml-apis</artifactId>
635                 </exclusion>
636                 <exclusion>
637                     <groupId>xerces</groupId>
638                     <artifactId>xercesImpl</artifactId>
639                 </exclusion>
640                 <exclusion>
641                     <groupId>net.sourceforge.nekohtml</groupId>
642                     <artifactId>nekohtml</artifactId>
643                 </exclusion>
644             </exclusions>
645         </dependency>
646         <dependency>
647             <groupId>org.onap.portal.sdk</groupId>
648             <artifactId>epsdk-fw</artifactId>
649             <version>${ecomp.version}</version>
650             <scope>compile</scope>
651             <exclusions>
652                 <exclusion>
653                     <groupId>com.att.nsa</groupId>
654                     <artifactId>cambriaClient</artifactId>
655                 </exclusion>
656                 <exclusion>
657                     <artifactId>slf4j-log4j12</artifactId>
658                     <groupId>org.slf4j</groupId>
659                 </exclusion>
660                 <exclusion>
661                     <groupId>org.onap.aaf.authz</groupId>
662                     <artifactId>aaf-cadi-aaf</artifactId>
663                 </exclusion>
664                 <exclusion>
665                     <artifactId>aaf-cadi-core</artifactId>
666                     <groupId>org.onap.aaf.authz</groupId>
667                 </exclusion>
668                 <exclusion>
669                     <artifactId>commons-codec</artifactId>
670                     <groupId>commons-codec</groupId>
671                 </exclusion>
672                 <exclusion>
673                     <artifactId>log4j</artifactId>
674                     <groupId>log4j</groupId>
675                 </exclusion>
676             </exclusions>
677         </dependency>
678
679         <!--Jetty Proxy-->
680         <dependency>
681             <groupId>org.eclipse.jetty</groupId>
682             <artifactId>jetty-http</artifactId>
683             <version>${jetty.version}</version>
684             <scope>compile</scope>
685         </dependency>
686
687         <dependency>
688             <groupId>org.eclipse.jetty</groupId>
689             <artifactId>jetty-proxy</artifactId>
690             <version>${jetty.version}</version>
691             <scope>compile</scope>
692             <exclusions>
693                 <exclusion>
694                     <groupId>org.eclipse.jetty</groupId>
695                     <artifactId>jetty-http</artifactId>
696                 </exclusion>
697             </exclusions>
698         </dependency>
699
700         <dependency>
701             <groupId>org.eclipse.jetty</groupId>
702             <artifactId>jetty-servlets</artifactId>
703             <version>${jetty.version}</version>
704             <scope>compile</scope>
705             <exclusions>
706                 <exclusion>
707                     <groupId>org.eclipse.jetty</groupId>
708                     <artifactId>jetty-http</artifactId>
709                 </exclusion>
710                 <exclusion>
711                     <groupId>org.eclipse.jetty</groupId>
712                     <artifactId>jetty-continuation</artifactId>
713                 </exclusion>
714             </exclusions>
715         </dependency>
716         <!-- System metrics -->
717         <dependency>
718             <groupId>org.fusesource</groupId>
719             <artifactId>sigar</artifactId>
720             <version>${sigar.version}</version>
721             <scope>compile</scope>
722             <exclusions>
723                 <exclusion>
724                     <groupId>log4j</groupId>
725                     <artifactId>log4j</artifactId>
726                 </exclusion>
727             </exclusions>
728         </dependency>
729         <dependency>
730             <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
731             <artifactId>dmaapClient</artifactId>
732             <version>1.1.3</version>
733             <scope>compile</scope>
734             <exclusions>
735                 <exclusion>
736                     <groupId>com.att.aft</groupId>
737                     <artifactId>dme2</artifactId>
738                 </exclusion>
739                 <exclusion>
740                     <groupId>com.fasterxml.jackson.core</groupId>
741                     <artifactId>jackson-core</artifactId>
742                 </exclusion>
743                 <exclusion>
744                     <artifactId>log4j</artifactId>
745                     <groupId>log4j</groupId>
746                 </exclusion>
747                 <exclusion>
748                     <artifactId>apache-log4j-extras</artifactId>
749                     <groupId>log4j</groupId>
750                 </exclusion>
751                 <exclusion>
752                     <groupId>org.apache.httpcomponents</groupId>
753                     <artifactId>httpclient-cache</artifactId>
754                 </exclusion>
755             </exclusions>
756         </dependency>
757         <dependency>
758             <groupId>com.att.aft</groupId>
759             <artifactId>dme2</artifactId>
760             <version>3.1.200-oss</version>
761             <exclusions>
762                 <exclusion>
763                     <groupId>javax.jms</groupId>
764                     <artifactId>jms</artifactId>
765                 </exclusion>
766             </exclusions>
767         </dependency>
768
769         <!-- CADI -->
770         <dependency>
771             <groupId>org.onap.aaf.authz</groupId>
772             <artifactId>aaf-cadi-aaf</artifactId>
773             <version>${cadi.version}</version>
774             <exclusions>
775                 <exclusion>
776                     <groupId>com.datastax.cassandra</groupId>
777                     <artifactId>cassandra-driver-core</artifactId>
778                 </exclusion>
779                 <exclusion>
780                     <groupId>org.slf4j</groupId>
781                     <artifactId>slf4j-log4j12</artifactId>
782                 </exclusion>
783                 <exclusion>
784                     <artifactId>log4j</artifactId>
785                     <groupId>log4j</groupId>
786                 </exclusion>
787             </exclusions>
788         </dependency>
789
790         <!-- TEST -->
791         <dependency>
792             <groupId>org.assertj</groupId>
793             <artifactId>assertj-core</artifactId>
794             <scope>test</scope>
795         </dependency>
796
797         <dependency>
798             <groupId>org.glassfish.jersey.test-framework.providers</groupId>
799             <artifactId>jersey-test-framework-provider-bundle</artifactId>
800             <version>${jersey-bom.version}</version>
801             <type>pom</type>
802             <scope>test</scope>
803             <exclusions>
804                 <exclusion>
805                     <groupId>org.eclipse.jetty</groupId>
806                     <artifactId>jetty-server</artifactId>
807                 </exclusion>
808                 <exclusion>
809                     <groupId>org.eclipse.jetty</groupId>
810                     <artifactId>jetty-continuation</artifactId>
811                 </exclusion>
812             </exclusions>
813         </dependency>
814
815         <dependency>
816             <groupId>org.glassfish.jersey.core</groupId>
817             <artifactId>jersey-client</artifactId>
818             <version>${jersey-bom.version}</version>
819         </dependency>
820
821         <dependency>
822             <groupId>org.eclipse.jetty</groupId>
823             <artifactId>jetty-webapp</artifactId>
824             <version>${jetty.version}</version>
825             <scope>test</scope>
826             <exclusions>
827                 <exclusion>
828                     <groupId>org.eclipse.jetty</groupId>
829                     <artifactId>jetty-servlet</artifactId>
830                 </exclusion>
831             </exclusions>
832         </dependency>
833
834         <dependency>
835             <groupId>org.hamcrest</groupId>
836             <artifactId>hamcrest</artifactId>
837             <version>${hamcrest.version}</version>
838             <scope>test</scope>
839         </dependency>
840
841         <dependency>
842             <groupId>org.hamcrest</groupId>
843             <artifactId>hamcrest-library</artifactId>
844             <version>${hamcrest.version}</version>
845             <scope>test</scope>
846         </dependency>
847
848         <dependency>
849             <groupId>org.junit.jupiter</groupId>
850             <artifactId>junit-jupiter-api</artifactId>
851             <version>${junitJupiter.version}</version>
852             <scope>test</scope>
853         </dependency>
854
855         <dependency>
856             <groupId>org.junit.jupiter</groupId>
857             <artifactId>junit-jupiter</artifactId>
858             <version>${junitJupiter.version}</version>
859             <scope>test</scope>
860         </dependency>
861
862         <dependency>
863             <groupId>org.junit.platform</groupId>
864             <artifactId>junit-platform-commons</artifactId>
865             <version>${junit.platform.version}</version>
866             <scope>test</scope>
867         </dependency>
868         <dependency>
869             <groupId>org.junit.platform</groupId>
870             <artifactId>junit-platform-engine</artifactId>
871             <version>${junit.platform.version}</version>
872             <scope>test</scope>
873         </dependency>
874         <dependency>
875             <groupId>org.mockito</groupId>
876             <artifactId>mockito-junit-jupiter</artifactId>
877             <version>${mockitoJupiter.version}</version>
878             <scope>test</scope>
879         </dependency>
880
881         <dependency>
882             <groupId>org.springframework</groupId>
883             <artifactId>spring-test</artifactId>
884             <version>${spring.version}</version>
885             <scope>test</scope>
886         </dependency>
887
888         <dependency>
889             <groupId>org.springframework</groupId>
890             <artifactId>spring-tx</artifactId>
891             <version>${spring.version}</version>
892             <exclusions>
893                 <exclusion>
894                     <groupId>org.springframework</groupId>
895                     <artifactId>spring-core</artifactId>
896                 </exclusion>
897             </exclusions>
898         </dependency>
899
900         <dependency>
901             <groupId>io.cucumber</groupId>
902             <artifactId>cucumber-java</artifactId>
903             <version>${cucumber.version}</version>
904             <scope>test</scope>
905         </dependency>
906
907         <dependency>
908             <groupId>io.cucumber</groupId>
909             <artifactId>cucumber-junit</artifactId>
910             <version>${cucumber.version}</version>
911             <scope>test</scope>
912         </dependency>
913
914         <dependency>
915             <groupId>org.jmockit</groupId>
916             <artifactId>jmockit</artifactId>
917             <version>${jmockit.version}</version>
918             <scope>test</scope>
919         </dependency>
920
921         <dependency>
922             <groupId>com.google.code.bean-matchers</groupId>
923             <artifactId>bean-matchers</artifactId>
924             <version>0.11</version>
925             <scope>test</scope>
926         </dependency>
927
928         <dependency>
929             <groupId>org.codehaus.groovy</groupId>
930             <artifactId>groovy</artifactId>
931             <version>${groovy.version}</version>
932         </dependency>
933
934         <dependency>
935             <groupId>io.netty</groupId>
936             <artifactId>netty-handler</artifactId>
937         </dependency>
938         <dependency>
939             <groupId>org.onap.sdc.common</groupId>
940             <artifactId>onap-tosca-datatype</artifactId>
941             <version>${project.version}</version>
942             <exclusions>
943                 <exclusion>
944                     <groupId>com.fasterxml.jackson.core</groupId>
945                     <artifactId>jackson-core</artifactId>
946                 </exclusion>
947             </exclusions>
948         </dependency>
949         <dependency>
950             <groupId>org.apache.commons</groupId>
951             <artifactId>commons-collections4</artifactId>
952             <version>${commons.collections.version}</version>
953         </dependency>
954         <dependency>
955             <groupId>org.onap.sdc.sdc-be-common</groupId>
956             <artifactId>security-util-lib</artifactId>
957             <version>${security.util.lib.version}</version>
958             <exclusions>
959                 <exclusion>
960                     <groupId>org.springframework.boot</groupId>
961                     <artifactId>spring-boot-starter-logging</artifactId>
962                 </exclusion>
963             </exclusions>
964         </dependency>
965         <dependency>
966             <groupId>org.openecomp.sdc.core</groupId>
967             <artifactId>openecomp-tosca-lib</artifactId>
968             <version>${project.version}</version>
969             <exclusions>
970                 <exclusion>
971                     <groupId>com.fasterxml.jackson.core</groupId>
972                     <artifactId>jackson-core</artifactId>
973                 </exclusion>
974                 <exclusion>
975                     <groupId>org.springframework</groupId>
976                     <artifactId>spring-core</artifactId>
977                 </exclusion>
978             </exclusions>
979         </dependency>
980         <dependency>
981             <groupId>org.onap.vnfsdk.validation</groupId>
982             <artifactId>validation-pmdictionary</artifactId>
983             <version>${onap.vnfsdk.validation.pmdictionary.version}</version>
984             <exclusions>
985                 <exclusion>
986                     <groupId>org.apache.logging.log4j</groupId>
987                     <artifactId>log4j-slf4j-impl</artifactId>
988                 </exclusion>
989             </exclusions>
990         </dependency>
991
992         <dependency>
993             <groupId>com.googlecode.jmapper-framework</groupId>
994             <artifactId>jmapper-core</artifactId>
995             <version>${jMapper.version}</version>
996             <exclusions>
997                 <exclusion>
998                     <groupId>com.thoughtworks.xstream</groupId>
999                     <artifactId>xstream</artifactId>
1000                 </exclusion>
1001             </exclusions>
1002         </dependency>
1003
1004     </dependencies>
1005
1006     <build>
1007         <finalName>catalog-be</finalName>
1008         <plugins>
1009             <plugin>
1010                 <groupId>org.apache.maven.plugins</groupId>
1011                 <artifactId>maven-surefire-plugin</artifactId>
1012                 <configuration>
1013                     <forkCount>1C</forkCount>
1014                     <reuseForks>false</reuseForks>
1015                 </configuration>
1016             </plugin>
1017             <plugin>
1018                 <!-- Download Swagger UI webjar. -->
1019                 <artifactId>maven-dependency-plugin</artifactId>
1020                 <version>${maven-dependency-plugin.version}</version>
1021                 <executions>
1022                     <execution>
1023                         <phase>prepare-package</phase>
1024                         <goals>
1025                             <goal>unpack</goal>
1026                         </goals>
1027                         <configuration>
1028                             <artifactItems>
1029                                 <artifactItem>
1030                                     <groupId>org.webjars</groupId>
1031                                     <artifactId>swagger-ui</artifactId>
1032                                     <version>${swagger-ui.version}</version>
1033                                 </artifactItem>
1034                             </artifactItems>
1035                             <outputDirectory>${project.build.directory}/swagger-ui</outputDirectory>
1036                         </configuration>
1037                     </execution>
1038                 </executions>
1039             </plugin>
1040             <plugin>
1041                 <!-- Replace the OpenAPI specification example URL with the local one. -->
1042                 <groupId>com.google.code.maven-replacer-plugin</groupId>
1043                 <artifactId>replacer</artifactId>
1044                 <version>${replacer.plugin.version}</version>
1045                 <executions>
1046                     <execution>
1047                         <phase>prepare-package</phase>
1048                         <goals>
1049                             <goal>replace</goal>
1050                         </goals>
1051                     </execution>
1052                 </executions>
1053                 <configuration>
1054                     <file>
1055                         ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}/index.html
1056                     </file>
1057                     <replacements>
1058                         <replacement>
1059                             <token>https://petstore.swagger.io/v2/swagger.json</token>
1060                             <value>/sdc/openapi.json</value>
1061                         </replacement>
1062                     </replacements>
1063                 </configuration>
1064             </plugin>
1065             <plugin>
1066                 <groupId>org.apache.maven.plugins</groupId>
1067                 <artifactId>maven-war-plugin</artifactId>
1068                 <configuration>
1069                     <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
1070                         WEB-INF/classes/elasticsearch.yml,
1071                         WEB-INF/classes/portal.properties
1072                     </packagingExcludes>
1073                     <archive>
1074                         <manifestEntries>
1075                             <SDC-Version>${ui.version}</SDC-Version>
1076                         </manifestEntries>
1077                         <manifest>
1078                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
1079                             <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
1080                         </manifest>
1081                     </archive>
1082                     <attachClasses>true</attachClasses>
1083                     <webResources combine.children="append">
1084                         <resource>
1085                             <directory>
1086                                 ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}
1087                             </directory>
1088                             <includes>
1089                                 <include>**/*.*</include>
1090                             </includes>
1091                             <targetPath>swagger-ui</targetPath>
1092                         </resource>
1093                     </webResources>
1094                 </configuration>
1095             </plugin>
1096             <plugin>
1097                 <groupId>com.github.sylvainlaurent.maven</groupId>
1098                 <artifactId>yaml-json-validator-maven-plugin</artifactId>
1099                 <executions>
1100                     <execution>
1101                         <id>validate</id>
1102                         <phase>validate</phase>
1103                         <goals>
1104                             <goal>validate</goal>
1105                         </goals>
1106                         <configuration>
1107                             <validationSets>
1108                                 <validationSet>
1109                                     <includes>
1110                                         <include>src/main/resources/**/*.y*ml</include>
1111                                         <include>src/test/resources/**/*.y*ml</include>
1112                                     </includes>
1113                                     <excludes>
1114                                         <exclude>
1115                                             src/test/resources/artifacts/pnfSoftwareInformation/**
1116                                         </exclude>
1117                                     </excludes>
1118                                 </validationSet>
1119                                 <validationSet>
1120                                     <includes>
1121                                         <include>src/main/resources/**/*.json</include>
1122                                         <include>src/test/resources/**/*.json</include>
1123                                     </includes>
1124                                 </validationSet>
1125                             </validationSets>
1126                             <skip>${skipYamlJsonValidator}</skip>
1127                         </configuration>
1128                     </execution>
1129                 </executions>
1130             </plugin>
1131             <plugin>
1132                 <groupId>com.jcabi</groupId>
1133                 <artifactId>jcabi-maven-plugin</artifactId>
1134                 <version>${jcabi.maven.plugin.version}</version>
1135                 <dependencies>
1136                     <dependency>
1137                         <groupId>org.aspectj</groupId>
1138                         <artifactId>aspectjtools</artifactId>
1139                         <version>${aspectj.version}</version>
1140                     </dependency>
1141                     <dependency>
1142                         <groupId>org.aspectj</groupId>
1143                         <artifactId>aspectjweaver</artifactId>
1144                         <version>${aspectj.version}</version>
1145                     </dependency>
1146                 </dependencies>
1147                 <executions>
1148                     <execution>
1149                         <goals>
1150                             <goal>ajc</goal>
1151                         </goals>
1152                     </execution>
1153                 </executions>
1154             </plugin>
1155             <plugin>
1156                 <groupId>org.apache.maven.plugins</groupId>
1157                 <artifactId>maven-assembly-plugin</artifactId>
1158                 <executions>
1159                     <execution>
1160                         <id>normatives</id>
1161                         <phase>prepare-package</phase>
1162                         <goals>
1163                             <goal>single</goal>
1164                         </goals>
1165                         <configuration>
1166                             <finalName>normatives</finalName>
1167                             <appendAssemblyId>false</appendAssemblyId>
1168                             <descriptors>
1169                                 <descriptor>src/main/assembly/normatives.xml</descriptor>
1170                             </descriptors>
1171                         </configuration>
1172                     </execution>
1173                 </executions>
1174             </plugin>
1175             <plugin>
1176                 <groupId>org.apache.maven.plugins</groupId>
1177                 <artifactId>maven-clean-plugin</artifactId>
1178                 <executions>
1179                     <execution>
1180                         <id>clean.sdc.backend.folder</id>
1181                         <phase>clean</phase>
1182                         <goals>
1183                             <goal>clean</goal>
1184                         </goals>
1185                         <configuration>
1186                             <filesets>
1187                                 <fileset>
1188                                     <directory>
1189                                         sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
1190                                     </directory>
1191                                     <followSymlinks>false</followSymlinks>
1192                                     <includes>
1193                                         <include>normatives.tar.gz</include>
1194                                     </includes>
1195                                 </fileset>
1196                             </filesets>
1197                         </configuration>
1198                     </execution>
1199                 </executions>
1200             </plugin>
1201             <plugin>
1202                 <groupId>io.swagger.core.v3</groupId>
1203                 <artifactId>swagger-maven-plugin</artifactId>
1204                 <version>${swagger-core-mvn-plugin.version}</version>
1205                 <executions>
1206                     <execution>
1207                         <id>sdce-2-sdce-5</id>
1208                         <phase>compile</phase>
1209                         <goals>
1210                             <goal>resolve</goal>
1211                         </goals>
1212                         <configuration>
1213                             <contextId>sdce-2-sdce-5</contextId>
1214                             <outputPath>${project.build.directory}/generated/swagger</outputPath>
1215                             <outputFileName>swagger-sdce-2-sdce-5</outputFileName>
1216                             <outputFormat>JSON</outputFormat>
1217                             <configurationFilePath>
1218                                 ${project.basedir}/src/main/resources/swagger-config/sdce-2-sdce-5.yaml
1219                             </configurationFilePath>
1220                             <skip>${swagger.skip}</skip>
1221                         </configuration>
1222                     </execution>
1223                     <execution>
1224                         <id>sdce-4</id>
1225                         <phase>compile</phase>
1226                         <goals>
1227                             <goal>resolve</goal>
1228                         </goals>
1229                         <configuration>
1230                             <contextId>sdce-4</contextId>
1231                             <outputPath>${project.build.directory}/generated/swagger</outputPath>
1232                             <outputFileName>swagger-sdce-4</outputFileName>
1233                             <outputFormat>JSON</outputFormat>
1234                             <configurationFilePath>
1235                                 ${project.basedir}/src/main/resources/swagger-config/sdce-4.yaml
1236                             </configurationFilePath>
1237                             <skip>${swagger.skip}</skip>
1238                         </configuration>
1239                     </execution>
1240                     <execution>
1241                         <id>sdce-6</id>
1242                         <phase>compile</phase>
1243                         <goals>
1244                             <goal>resolve</goal>
1245                         </goals>
1246                         <configuration>
1247                             <contextId>sdce-6</contextId>
1248                             <outputPath>${project.build.directory}/generated/swagger</outputPath>
1249                             <outputFileName>swagger-sdce-6</outputFileName>
1250                             <outputFormat>JSON</outputFormat>
1251                             <configurationFilePath>
1252                                 ${project.basedir}/src/main/resources/swagger-config/sdce-6.yaml
1253                             </configurationFilePath>
1254                             <skip>${swagger.skip}</skip>
1255                         </configuration>
1256                     </execution>
1257                     <execution>
1258                         <id>sdce-7</id>
1259                         <phase>compile</phase>
1260                         <goals>
1261                             <goal>resolve</goal>
1262                         </goals>
1263                         <configuration>
1264                             <contextId>sdce-7</contextId>
1265                             <outputPath>${project.build.directory}/generated/swagger</outputPath>
1266                             <outputFileName>swagger-sdce-7</outputFileName>
1267                             <outputFormat>JSON</outputFormat>
1268                             <configurationFilePath>
1269                                 ${project.basedir}/src/main/resources/swagger-config/sdce-7.yaml
1270                             </configurationFilePath>
1271                             <skip>${swagger.skip}</skip>
1272                         </configuration>
1273                     </execution>
1274                 </executions>
1275             </plugin>
1276         </plugins>
1277
1278         <pluginManagement>
1279             <plugins>
1280                 <!--This plugin's configuration is used to store Eclipse m2e settings
1281                     only. It has no influence on the Maven build itself. -->
1282                 <plugin>
1283                     <groupId>org.eclipse.m2e</groupId>
1284                     <artifactId>lifecycle-mapping</artifactId>
1285                     <version>1.0.0</version>
1286                     <configuration>
1287                         <lifecycleMappingMetadata>
1288                             <pluginExecutions>
1289                                 <pluginExecution>
1290                                     <pluginExecutionFilter>
1291                                         <groupId>com.googlecode.maven-download-plugin</groupId>
1292                                         <artifactId>download-maven-plugin</artifactId>
1293                                         <versionRange>[1.2.1,)</versionRange>
1294                                         <goals>
1295                                             <goal>wget</goal>
1296                                         </goals>
1297                                     </pluginExecutionFilter>
1298                                 </pluginExecution>
1299
1300                                 <pluginExecution>
1301                                     <pluginExecutionFilter>
1302                                         <groupId>com.jcabi</groupId>
1303                                         <artifactId>jcabi-maven-plugin</artifactId>
1304                                         <versionRange>[0.0,)</versionRange>
1305                                         <goals>
1306                                             <goal>ajc</goal>
1307                                         </goals>
1308                                     </pluginExecutionFilter>
1309                                     <action>
1310                                         <execute/>
1311                                     </action>
1312                                 </pluginExecution>
1313
1314                             </pluginExecutions>
1315                         </lifecycleMappingMetadata>
1316                     </configuration>
1317                 </plugin>
1318             </plugins>
1319         </pluginManagement>
1320         <!-- Swagger Plugins End -->
1321     </build>
1322
1323     <profiles>
1324         <profile>
1325             <id>docker</id>
1326             <activation>
1327                 <activeByDefault>false</activeByDefault>
1328             </activation>
1329             <build>
1330                 <plugins>
1331                     <plugin>
1332                         <groupId>org.apache.maven.plugins</groupId>
1333                         <artifactId>maven-resources-plugin</artifactId>
1334                         <executions>
1335                             <execution>
1336                                 <id>copy-normatives</id>
1337                                 <phase>package</phase>
1338                                 <goals>
1339                                     <goal>copy-resources</goal>
1340                                 </goals>
1341                                 <configuration>
1342                                     <outputDirectory>
1343                                         sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
1344                                     </outputDirectory>
1345                                     <resources>
1346                                         <resource>
1347                                             <directory>${project.build.directory}</directory>
1348                                             <includes>
1349                                                 <include>normatives.tar.gz</include>
1350                                             </includes>
1351                                         </resource>
1352                                     </resources>
1353                                 </configuration>
1354                             </execution>
1355                             <execution>
1356                                 <id>copy-sdc-be-py</id>
1357                                 <phase>verify</phase>
1358                                 <goals>
1359                                     <goal>copy-resources</goal>
1360                                 </goals>
1361                                 <configuration>
1362                                     <outputDirectory>
1363                                         sdc-backend-init/
1364                                     </outputDirectory>
1365                                     <resources>
1366                                         <resource>
1367                                             <directory>
1368                                                 ${project.parent.basedir}/catalog-be/src/main/resources/
1369                                             </directory>
1370                                             <includes>
1371                                                 <include>scripts/sdcBePy/**</include>
1372                                                 <inculde>scripts/setup.py</inculde>
1373                                             </includes>
1374                                         </resource>
1375                                     </resources>
1376                                 </configuration>
1377                             </execution>
1378                         </executions>
1379                     </plugin>
1380                     <plugin>
1381                         <groupId>io.fabric8</groupId>
1382                         <artifactId>docker-maven-plugin</artifactId>
1383                         <configuration>
1384                             <verbose>${verbose}</verbose>
1385                             <apiVersion>${docker.api.version}</apiVersion>
1386                             <registry>${docker.registry}</registry>
1387                             <authConfig>
1388                                 <pull>
1389                                     <username>${docker.username}</username>
1390                                     <password>${docker.password}</password>
1391                                 </pull>
1392                             </authConfig>
1393                             <images>
1394
1395                                 <!-- Build backend image -->
1396                                 <image>
1397                                     <name>${docker.namespace}/sdc-backend</name>
1398                                     <alias>sdc-backend</alias>
1399                                     <build>
1400                                         <cleanup>try</cleanup>
1401                                         <dockerFileDir>backend</dockerFileDir>
1402                                         <tags>
1403                                             <tag>latest</tag>
1404                                             <tag>
1405                                                 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1406                                             </tag>
1407                                             <tag>
1408                                                 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
1409                                             </tag>
1410                                         </tags>
1411                                         <assembly>
1412                                             <descriptor>backend/backend-files.xml</descriptor>
1413                                             <name>onap-sdc-backend</name>
1414                                         </assembly>
1415                                     </build>
1416                                 </image>
1417                                 <!-- Build backend-init image -->
1418                                 <image>
1419                                     <name>${docker.namespace}/sdc-backend-init</name>
1420                                     <alias>sdc-backend-init</alias>
1421                                     <build>
1422                                         <cleanup>try</cleanup>
1423                                         <dockerFileDir>${project.basedir}/sdc-backend-init
1424                                         </dockerFileDir>
1425                                         <tags>
1426                                             <tag>latest</tag>
1427                                             <tag>
1428                                                 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1429                                             </tag>
1430                                             <tag>
1431                                                 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
1432                                             </tag>
1433                                         </tags>
1434                                     </build>
1435                                 </image>
1436                             </images>
1437                         </configuration>
1438                         <executions>
1439                             <execution>
1440                                 <id>clean-images</id>
1441                                 <phase>pre-clean</phase>
1442                                 <goals>
1443                                     <goal>remove</goal>
1444                                 </goals>
1445                                 <configuration>
1446                                     <removeAll>true</removeAll>
1447                                     <image>${docker.namespace}/sdc-backend,onap/sdc-backend-init</image>
1448                                 </configuration>
1449                             </execution>
1450
1451                             <execution>
1452                                 <id>generate-images</id>
1453                                 <phase>install</phase>
1454                                 <goals>
1455                                     <goal>build</goal>
1456                                 </goals>
1457                             </execution>
1458
1459                             <execution>
1460                                 <id>push-images</id>
1461                                 <phase>deploy</phase>
1462                                 <goals>
1463                                     <goal>push</goal>
1464                                 </goals>
1465                                 <configuration>
1466                                     <image>${docker.namespace}/sdc-backend,onap/sdc-backend-init</image>
1467                                 </configuration>
1468                             </execution>
1469                         </executions>
1470                     </plugin>
1471                 </plugins>
1472             </build>
1473         </profile>
1474     </profiles>
1475 </project>