Update vulnerable dependencies
[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.6-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                 <exclusion>
292                     <groupId>org.glassfish</groupId>
293                     <artifactId>jakarta.el</artifactId>
294                 </exclusion>
295             </exclusions>
296         </dependency>
297         <dependency>
298             <groupId>org.glassfish</groupId>
299             <artifactId>jakarta.el</artifactId>
300             <version>${jakarta.el.version}</version>
301         </dependency>
302
303         <!-- http client -->
304         <dependency>
305             <groupId>org.apache.httpcomponents</groupId>
306             <artifactId>httpclient</artifactId>
307             <version>${httpclient.version}</version>
308             <scope>compile</scope>
309             <exclusions>
310                 <exclusion>
311                     <groupId>org.apache.httpcomponents</groupId>
312                     <artifactId>httpcore</artifactId>
313                 </exclusion>
314             </exclusions>
315         </dependency>
316
317         <dependency>
318             <groupId>org.apache.httpcomponents</groupId>
319             <artifactId>httpcore</artifactId>
320             <version>${httpcore.version}</version>
321             <scope>compile</scope>
322         </dependency>
323
324         <dependency>
325             <groupId>commons-logging</groupId>
326             <artifactId>commons-logging</artifactId>
327             <version>${commons-logging}</version>
328             <scope>compile</scope>
329         </dependency>
330
331         <dependency>
332             <groupId>commons-codec</groupId>
333             <artifactId>commons-codec</artifactId>
334             <version>${commons-codec}</version>
335             <scope>compile</scope>
336         </dependency>
337         <!-- http client END -->
338
339         <dependency>
340             <groupId>javax.servlet</groupId>
341             <artifactId>javax.servlet-api</artifactId>
342             <version>${servlet-api.version}</version>
343             <scope>provided</scope>
344         </dependency>
345
346         <dependency>
347             <groupId>org.eclipse.jgit</groupId>
348             <artifactId>org.eclipse.jgit</artifactId>
349             <version>3.4.1.201406201815-r</version>
350         </dependency>
351
352         <!-- spring - used by A4C -->
353         <dependency>
354             <groupId>org.springframework</groupId>
355             <artifactId>spring-core</artifactId>
356             <version>${spring.version}</version>
357             <scope>compile</scope>
358         </dependency>
359
360         <dependency>
361             <groupId>org.springframework</groupId>
362             <artifactId>spring-context</artifactId>
363             <version>${spring.version}</version>
364             <scope>compile</scope>
365             <exclusions>
366                 <exclusion>
367                     <groupId>org.springframework</groupId>
368                     <artifactId>spring-expression</artifactId>
369                 </exclusion>
370                 <exclusion>
371                     <groupId>org.springframework</groupId>
372                     <artifactId>spring-core</artifactId>
373                 </exclusion>
374             </exclusions>
375         </dependency>
376
377         <dependency>
378             <groupId>org.springframework</groupId>
379             <artifactId>spring-web</artifactId>
380             <version>${spring.version}</version>
381             <scope>compile</scope>
382             <exclusions>
383                 <exclusion>
384                     <groupId>org.springframework</groupId>
385                     <artifactId>spring-core</artifactId>
386                 </exclusion>
387             </exclusions>
388         </dependency>
389
390         <dependency>
391             <groupId>org.springframework</groupId>
392             <artifactId>spring-webmvc</artifactId>
393             <version>${spring.version}</version>
394             <scope>compile</scope>
395             <exclusions>
396                 <exclusion>
397                     <groupId>org.springframework</groupId>
398                     <artifactId>spring-expression</artifactId>
399                 </exclusion>
400                 <exclusion>
401                     <groupId>org.springframework</groupId>
402                     <artifactId>spring-core</artifactId>
403                 </exclusion>
404                 <exclusion>
405                     <groupId>org.springframework</groupId>
406                     <artifactId>spring-web</artifactId>
407                 </exclusion>
408             </exclusions>
409         </dependency>
410
411         <dependency>
412             <groupId>org.springframework</groupId>
413             <artifactId>spring-aop</artifactId>
414             <version>${spring.version}</version>
415             <scope>compile</scope>
416             <exclusions>
417                 <exclusion>
418                     <groupId>org.springframework</groupId>
419                     <artifactId>spring-core</artifactId>
420                 </exclusion>
421             </exclusions>
422         </dependency>
423
424         <dependency>
425             <groupId>org.springframework</groupId>
426             <artifactId>spring-beans</artifactId>
427             <version>${spring.version}</version>
428             <scope>compile</scope>
429         </dependency>
430
431         <dependency>
432             <groupId>org.springframework</groupId>
433             <artifactId>spring-expression</artifactId>
434             <version>${spring.version}</version>
435             <scope>compile</scope>
436         </dependency>
437
438         <!-- Spring integration (optional) -->
439         <dependency>
440             <groupId>org.togglz</groupId>
441             <artifactId>togglz-spring-web</artifactId>
442             <version>${togglz.version}</version>
443         </dependency>
444
445         <dependency>
446             <groupId>org.codehaus.janino</groupId>
447             <artifactId>janino</artifactId>
448             <version>${janino.version}</version>
449             <scope>compile</scope>
450         </dependency>
451
452         <dependency>
453             <groupId>org.codehaus.janino</groupId>
454             <artifactId>commons-compiler</artifactId>
455             <version>${janino.version}</version>
456             <scope>compile</scope>
457         </dependency>
458
459         <dependency>
460             <groupId>com.google.guava</groupId>
461             <artifactId>guava</artifactId>
462             <version>${guava.version}</version>
463             <scope>compile</scope>
464         </dependency>
465
466         <dependency>
467             <groupId>org.janusgraph</groupId>
468             <artifactId>janusgraph-core</artifactId>
469             <version>${janusgraph.version}</version>
470             <scope>compile</scope>
471             <exclusions>
472                 <exclusion>
473                     <artifactId>gremlin-groovy</artifactId>
474                     <groupId>org.apache.tinkerpop</groupId>
475                 </exclusion>
476                 <exclusion>
477                     <groupId>org.json</groupId>
478                     <artifactId>json</artifactId>
479                 </exclusion>
480                 <exclusion>
481                     <artifactId>slf4j-log4j12</artifactId>
482                     <groupId>org.slf4j</groupId>
483                 </exclusion>
484                 <exclusion>
485                     <artifactId>commons-collections</artifactId>
486                     <groupId>commons-collections</groupId>
487                 </exclusion>
488                 <exclusion>
489                     <groupId>org.apache.thrift</groupId>
490                     <artifactId>libthrift</artifactId>
491                 </exclusion>
492                 <exclusion>
493                     <groupId>commons-io</groupId>
494                     <artifactId>commons-io</artifactId>
495                 </exclusion>
496                 <exclusion>
497                     <groupId>commons-codec</groupId>
498                     <artifactId>commons-codec</artifactId>
499                 </exclusion>
500                 <exclusion>
501                     <groupId>dom4j</groupId>
502                     <artifactId>dom4j</artifactId>
503                 </exclusion>
504                 <exclusion>
505                     <groupId>org.slf4j</groupId>
506                     <artifactId>jcl-over-slf4j</artifactId>
507                 </exclusion>
508             </exclusions>
509         </dependency>
510
511         <dependency>
512             <groupId>org.janusgraph</groupId>
513             <artifactId>janusgraph-cql</artifactId>
514             <version>${janusgraph.version}</version>
515             <scope>compile</scope>
516             <exclusions>
517                 <exclusion>
518                     <groupId>org.slf4j</groupId>
519                     <artifactId>slf4j-log4j12</artifactId>
520                 </exclusion>
521                 <exclusion>
522                     <groupId>org.json</groupId>
523                     <artifactId>json</artifactId>
524                 </exclusion>
525                 <exclusion>
526                     <artifactId>commons-collections</artifactId>
527                     <groupId>commons-collections</groupId>
528                 </exclusion>
529                 <exclusion>
530                     <artifactId>groovy</artifactId>
531                     <groupId>org.codehaus.groovy</groupId>
532                 </exclusion>
533                 <exclusion>
534                     <groupId>io.netty</groupId>
535                     <artifactId>netty-all</artifactId>
536                 </exclusion>
537             </exclusions>
538         </dependency>
539
540         <dependency>
541             <groupId>org.apache.commons</groupId>
542             <artifactId>commons-lang3</artifactId>
543             <version>${lang3.version}</version>
544             <scope>compile</scope>
545         </dependency>
546
547         <dependency>
548             <groupId>com.googlecode.json-simple</groupId>
549             <artifactId>json-simple</artifactId>
550             <version>${json-simple.version}</version>
551             <scope>compile</scope>
552
553         </dependency>
554
555         <!-- functional java -->
556         <dependency>
557             <groupId>org.functionaljava</groupId>
558             <artifactId>functionaljava</artifactId>
559             <version>${functionaljava.version}</version>
560             <scope>compile</scope>
561         </dependency>
562
563         <!-- Aspects -->
564         <dependency>
565             <groupId>com.jcabi</groupId>
566             <artifactId>jcabi-aspects</artifactId>
567             <version>${jcabi.version}</version>
568             <scope>compile</scope>
569         </dependency>
570
571         <dependency>
572             <groupId>org.aspectj</groupId>
573             <artifactId>aspectjrt</artifactId>
574             <version>${aspectjrt.version}</version>
575             <scope>compile</scope>
576         </dependency>
577
578
579         <!-- CAMBRIA CLIENT for U-EB -->
580         <dependency>
581             <groupId>com.att.nsa</groupId>
582             <artifactId>cambriaClient</artifactId>
583             <version>1.2.1-oss</version>
584             <scope>compile</scope>
585             <exclusions>
586                 <exclusion>
587                     <groupId>com.att.nsa</groupId>
588                     <artifactId>saClientLibrary</artifactId>
589                 </exclusion>
590             </exclusions>
591         </dependency>
592
593         <dependency>
594             <groupId>org.json</groupId>
595             <artifactId>json</artifactId>
596             <version>${org.json.version}</version>
597         </dependency>
598
599         <!-- CASSANDRA -->
600         <dependency>
601             <groupId>com.datastax.cassandra</groupId>
602             <artifactId>cassandra-driver-core</artifactId>
603             <version>${cassandra.driver.version}</version>
604             <scope>compile</scope>
605         </dependency>
606         <dependency>
607             <groupId>com.datastax.cassandra</groupId>
608             <artifactId>cassandra-driver-mapping</artifactId>
609             <version>${cassandra.driver.version}</version>
610             <scope>compile</scope>
611         </dependency>
612         <!-- CASSANDRA END -->
613
614         <!-- Inserted for ECOMP Portal Integration -->
615         <dependency>
616             <groupId>org.owasp.esapi</groupId>
617             <artifactId>esapi</artifactId>
618             <version>${org.owasp.esapi.version}</version>
619             <exclusions>
620                 <exclusion>
621                     <groupId>log4j</groupId>
622                     <artifactId>log4j</artifactId>
623                 </exclusion>
624                 <exclusion>
625                     <groupId>commons-io</groupId>
626                     <artifactId>commons-io</artifactId>
627                 </exclusion>
628                 <exclusion>
629                     <groupId>commons-fileupload</groupId>
630                     <artifactId>commons-fileupload</artifactId>
631                 </exclusion>
632                 <exclusion>
633                     <groupId>org.apache.xmlgraphics</groupId>
634                     <artifactId>xmlgraphics-commons</artifactId>
635                 </exclusion>
636                 <exclusion>
637                     <groupId>xml-apis</groupId>
638                     <artifactId>xml-apis-ext</artifactId>
639                 </exclusion>
640                 <exclusion>
641                     <groupId>xml-apis</groupId>
642                     <artifactId>xml-apis</artifactId>
643                 </exclusion>
644                 <exclusion>
645                     <groupId>xerces</groupId>
646                     <artifactId>xercesImpl</artifactId>
647                 </exclusion>
648                 <exclusion>
649                     <groupId>net.sourceforge.nekohtml</groupId>
650                     <artifactId>nekohtml</artifactId>
651                 </exclusion>
652             </exclusions>
653         </dependency>
654         <dependency>
655             <groupId>org.onap.portal.sdk</groupId>
656             <artifactId>epsdk-fw</artifactId>
657             <version>${ecomp.version}</version>
658             <scope>compile</scope>
659             <exclusions>
660                 <exclusion>
661                     <groupId>com.att.nsa</groupId>
662                     <artifactId>cambriaClient</artifactId>
663                 </exclusion>
664                 <exclusion>
665                     <artifactId>slf4j-log4j12</artifactId>
666                     <groupId>org.slf4j</groupId>
667                 </exclusion>
668                 <exclusion>
669                     <groupId>org.onap.aaf.authz</groupId>
670                     <artifactId>aaf-cadi-aaf</artifactId>
671                 </exclusion>
672                 <exclusion>
673                     <artifactId>aaf-cadi-core</artifactId>
674                     <groupId>org.onap.aaf.authz</groupId>
675                 </exclusion>
676                 <exclusion>
677                     <artifactId>commons-codec</artifactId>
678                     <groupId>commons-codec</groupId>
679                 </exclusion>
680                 <exclusion>
681                     <artifactId>log4j</artifactId>
682                     <groupId>log4j</groupId>
683                 </exclusion>
684             </exclusions>
685         </dependency>
686
687         <!--Jetty Proxy-->
688         <dependency>
689             <groupId>org.eclipse.jetty</groupId>
690             <artifactId>jetty-http</artifactId>
691             <version>${jetty.version}</version>
692             <scope>compile</scope>
693         </dependency>
694
695         <dependency>
696             <groupId>org.eclipse.jetty</groupId>
697             <artifactId>jetty-proxy</artifactId>
698             <version>${jetty.version}</version>
699             <scope>compile</scope>
700             <exclusions>
701                 <exclusion>
702                     <groupId>org.eclipse.jetty</groupId>
703                     <artifactId>jetty-http</artifactId>
704                 </exclusion>
705             </exclusions>
706         </dependency>
707
708         <dependency>
709             <groupId>org.eclipse.jetty</groupId>
710             <artifactId>jetty-servlets</artifactId>
711             <version>${jetty.version}</version>
712             <scope>compile</scope>
713             <exclusions>
714                 <exclusion>
715                     <groupId>org.eclipse.jetty</groupId>
716                     <artifactId>jetty-http</artifactId>
717                 </exclusion>
718                 <exclusion>
719                     <groupId>org.eclipse.jetty</groupId>
720                     <artifactId>jetty-continuation</artifactId>
721                 </exclusion>
722             </exclusions>
723         </dependency>
724         <!-- System metrics -->
725         <dependency>
726             <groupId>org.fusesource</groupId>
727             <artifactId>sigar</artifactId>
728             <version>${sigar.version}</version>
729             <scope>compile</scope>
730             <exclusions>
731                 <exclusion>
732                     <groupId>log4j</groupId>
733                     <artifactId>log4j</artifactId>
734                 </exclusion>
735             </exclusions>
736         </dependency>
737         <dependency>
738             <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
739             <artifactId>dmaapClient</artifactId>
740             <version>1.1.3</version>
741             <scope>compile</scope>
742             <exclusions>
743                 <exclusion>
744                     <groupId>com.att.aft</groupId>
745                     <artifactId>dme2</artifactId>
746                 </exclusion>
747                 <exclusion>
748                     <groupId>com.fasterxml.jackson.core</groupId>
749                     <artifactId>jackson-core</artifactId>
750                 </exclusion>
751                 <exclusion>
752                     <artifactId>log4j</artifactId>
753                     <groupId>log4j</groupId>
754                 </exclusion>
755                 <exclusion>
756                     <artifactId>apache-log4j-extras</artifactId>
757                     <groupId>log4j</groupId>
758                 </exclusion>
759                 <exclusion>
760                     <groupId>org.apache.httpcomponents</groupId>
761                     <artifactId>httpclient-cache</artifactId>
762                 </exclusion>
763             </exclusions>
764         </dependency>
765         <dependency>
766             <groupId>com.att.aft</groupId>
767             <artifactId>dme2</artifactId>
768             <version>3.1.200-oss</version>
769             <exclusions>
770                 <exclusion>
771                     <groupId>javax.jms</groupId>
772                     <artifactId>jms</artifactId>
773                 </exclusion>
774             </exclusions>
775         </dependency>
776
777         <!-- CADI -->
778         <dependency>
779             <groupId>org.onap.aaf.authz</groupId>
780             <artifactId>aaf-cadi-aaf</artifactId>
781             <version>${cadi.version}</version>
782             <exclusions>
783                 <exclusion>
784                     <groupId>com.datastax.cassandra</groupId>
785                     <artifactId>cassandra-driver-core</artifactId>
786                 </exclusion>
787                 <exclusion>
788                     <groupId>org.slf4j</groupId>
789                     <artifactId>slf4j-log4j12</artifactId>
790                 </exclusion>
791                 <exclusion>
792                     <artifactId>log4j</artifactId>
793                     <groupId>log4j</groupId>
794                 </exclusion>
795             </exclusions>
796         </dependency>
797
798         <!-- TEST -->
799         <dependency>
800             <groupId>org.assertj</groupId>
801             <artifactId>assertj-core</artifactId>
802             <scope>test</scope>
803         </dependency>
804
805         <dependency>
806             <groupId>org.glassfish.jersey.test-framework.providers</groupId>
807             <artifactId>jersey-test-framework-provider-bundle</artifactId>
808             <version>${jersey-bom.version}</version>
809             <type>pom</type>
810             <scope>test</scope>
811             <exclusions>
812                 <exclusion>
813                     <groupId>org.eclipse.jetty</groupId>
814                     <artifactId>jetty-server</artifactId>
815                 </exclusion>
816                 <exclusion>
817                     <groupId>org.eclipse.jetty</groupId>
818                     <artifactId>jetty-continuation</artifactId>
819                 </exclusion>
820             </exclusions>
821         </dependency>
822
823         <dependency>
824             <groupId>org.glassfish.jersey.core</groupId>
825             <artifactId>jersey-client</artifactId>
826             <version>${jersey-bom.version}</version>
827         </dependency>
828
829         <dependency>
830             <groupId>org.eclipse.jetty</groupId>
831             <artifactId>jetty-webapp</artifactId>
832             <version>${jetty.version}</version>
833             <scope>test</scope>
834             <exclusions>
835                 <exclusion>
836                     <groupId>org.eclipse.jetty</groupId>
837                     <artifactId>jetty-servlet</artifactId>
838                 </exclusion>
839             </exclusions>
840         </dependency>
841
842         <dependency>
843             <groupId>org.hamcrest</groupId>
844             <artifactId>hamcrest</artifactId>
845             <version>${hamcrest.version}</version>
846             <scope>test</scope>
847         </dependency>
848
849         <dependency>
850             <groupId>org.hamcrest</groupId>
851             <artifactId>hamcrest-library</artifactId>
852             <version>${hamcrest.version}</version>
853             <scope>test</scope>
854         </dependency>
855
856         <dependency>
857             <groupId>org.junit.jupiter</groupId>
858             <artifactId>junit-jupiter-api</artifactId>
859             <version>${junitJupiter.version}</version>
860             <scope>test</scope>
861         </dependency>
862
863         <dependency>
864             <groupId>org.junit.jupiter</groupId>
865             <artifactId>junit-jupiter</artifactId>
866             <version>${junitJupiter.version}</version>
867             <scope>test</scope>
868         </dependency>
869
870         <dependency>
871             <groupId>org.junit.platform</groupId>
872             <artifactId>junit-platform-commons</artifactId>
873             <version>${junit.platform.version}</version>
874             <scope>test</scope>
875         </dependency>
876         <dependency>
877             <groupId>org.junit.platform</groupId>
878             <artifactId>junit-platform-engine</artifactId>
879             <version>${junit.platform.version}</version>
880             <scope>test</scope>
881         </dependency>
882         <dependency>
883             <groupId>org.mockito</groupId>
884             <artifactId>mockito-junit-jupiter</artifactId>
885             <version>${mockitoJupiter.version}</version>
886             <scope>test</scope>
887         </dependency>
888
889         <dependency>
890             <groupId>org.springframework</groupId>
891             <artifactId>spring-test</artifactId>
892             <version>${spring.version}</version>
893             <scope>test</scope>
894         </dependency>
895
896         <dependency>
897             <groupId>org.springframework</groupId>
898             <artifactId>spring-tx</artifactId>
899             <version>${spring.version}</version>
900             <exclusions>
901                 <exclusion>
902                     <groupId>org.springframework</groupId>
903                     <artifactId>spring-core</artifactId>
904                 </exclusion>
905             </exclusions>
906         </dependency>
907
908         <dependency>
909             <groupId>io.cucumber</groupId>
910             <artifactId>cucumber-java</artifactId>
911             <version>${cucumber.version}</version>
912             <scope>test</scope>
913         </dependency>
914
915         <dependency>
916             <groupId>io.cucumber</groupId>
917             <artifactId>cucumber-junit</artifactId>
918             <version>${cucumber.version}</version>
919             <scope>test</scope>
920         </dependency>
921
922         <dependency>
923             <groupId>org.jmockit</groupId>
924             <artifactId>jmockit</artifactId>
925             <version>${jmockit.version}</version>
926             <scope>test</scope>
927         </dependency>
928
929         <dependency>
930             <groupId>com.google.code.bean-matchers</groupId>
931             <artifactId>bean-matchers</artifactId>
932             <version>0.11</version>
933             <scope>test</scope>
934         </dependency>
935
936         <dependency>
937             <groupId>org.codehaus.groovy</groupId>
938             <artifactId>groovy</artifactId>
939             <version>${groovy.version}</version>
940         </dependency>
941
942         <dependency>
943             <groupId>io.netty</groupId>
944             <artifactId>netty-handler</artifactId>
945         </dependency>
946         <dependency>
947             <groupId>org.onap.sdc.common</groupId>
948             <artifactId>onap-tosca-datatype</artifactId>
949             <version>${project.version}</version>
950             <exclusions>
951                 <exclusion>
952                     <groupId>com.fasterxml.jackson.core</groupId>
953                     <artifactId>jackson-core</artifactId>
954                 </exclusion>
955             </exclusions>
956         </dependency>
957         <dependency>
958             <groupId>org.apache.commons</groupId>
959             <artifactId>commons-collections4</artifactId>
960             <version>${commons.collections.version}</version>
961         </dependency>
962         <dependency>
963             <groupId>org.springframework.boot</groupId>
964             <artifactId>spring-boot-starter</artifactId>
965             <version>${spring.boot.version}</version>
966         </dependency>
967         <dependency>
968             <groupId>org.onap.sdc.sdc-be-common</groupId>
969             <artifactId>security-util-lib</artifactId>
970             <version>${security.util.lib.version}</version>
971             <exclusions>
972                 <exclusion>
973                     <groupId>org.springframework.boot</groupId>
974                     <artifactId>spring-boot-starter-logging</artifactId>
975                 </exclusion>
976                 <exclusion>
977                     <groupId>org.springframework.boot</groupId>
978                     <artifactId>spring-boot-starter</artifactId>
979                 </exclusion>
980             </exclusions>
981         </dependency>
982         <dependency>
983             <groupId>org.openecomp.sdc.core</groupId>
984             <artifactId>openecomp-tosca-lib</artifactId>
985             <version>${project.version}</version>
986             <exclusions>
987                 <exclusion>
988                     <groupId>com.fasterxml.jackson.core</groupId>
989                     <artifactId>jackson-core</artifactId>
990                 </exclusion>
991                 <exclusion>
992                     <groupId>org.springframework</groupId>
993                     <artifactId>spring-core</artifactId>
994                 </exclusion>
995             </exclusions>
996         </dependency>
997         <dependency>
998             <groupId>org.onap.vnfsdk.validation</groupId>
999             <artifactId>validation-pmdictionary</artifactId>
1000             <version>${onap.vnfsdk.validation.pmdictionary.version}</version>
1001             <exclusions>
1002                 <exclusion>
1003                     <groupId>org.apache.logging.log4j</groupId>
1004                     <artifactId>log4j-slf4j-impl</artifactId>
1005                 </exclusion>
1006             </exclusions>
1007         </dependency>
1008
1009         <dependency>
1010             <groupId>com.googlecode.jmapper-framework</groupId>
1011             <artifactId>jmapper-core</artifactId>
1012             <version>${jMapper.version}</version>
1013             <exclusions>
1014                 <exclusion>
1015                     <groupId>com.thoughtworks.xstream</groupId>
1016                     <artifactId>xstream</artifactId>
1017                 </exclusion>
1018             </exclusions>
1019         </dependency>
1020
1021     </dependencies>
1022
1023     <build>
1024         <finalName>catalog-be</finalName>
1025         <plugins>
1026             <plugin>
1027                 <groupId>org.apache.maven.plugins</groupId>
1028                 <artifactId>maven-surefire-plugin</artifactId>
1029                 <configuration>
1030                     <forkCount>1C</forkCount>
1031                     <reuseForks>false</reuseForks>
1032                 </configuration>
1033             </plugin>
1034             <plugin>
1035                 <!-- Download Swagger UI webjar. -->
1036                 <artifactId>maven-dependency-plugin</artifactId>
1037                 <version>${maven-dependency-plugin.version}</version>
1038                 <executions>
1039                     <execution>
1040                         <phase>prepare-package</phase>
1041                         <goals>
1042                             <goal>unpack</goal>
1043                         </goals>
1044                         <configuration>
1045                             <artifactItems>
1046                                 <artifactItem>
1047                                     <groupId>org.webjars</groupId>
1048                                     <artifactId>swagger-ui</artifactId>
1049                                     <version>${swagger-ui.version}</version>
1050                                 </artifactItem>
1051                             </artifactItems>
1052                             <outputDirectory>${project.build.directory}/swagger-ui</outputDirectory>
1053                         </configuration>
1054                     </execution>
1055                 </executions>
1056             </plugin>
1057             <plugin>
1058                 <!-- Replace the OpenAPI specification example URL with the local one. -->
1059                 <groupId>com.google.code.maven-replacer-plugin</groupId>
1060                 <artifactId>replacer</artifactId>
1061                 <version>${replacer.plugin.version}</version>
1062                 <executions>
1063                     <execution>
1064                         <phase>prepare-package</phase>
1065                         <goals>
1066                             <goal>replace</goal>
1067                         </goals>
1068                     </execution>
1069                 </executions>
1070                 <configuration>
1071                     <file>
1072                         ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}/index.html
1073                     </file>
1074                     <replacements>
1075                         <replacement>
1076                             <token>https://petstore.swagger.io/v2/swagger.json</token>
1077                             <value>/sdc/openapi.json</value>
1078                         </replacement>
1079                     </replacements>
1080                 </configuration>
1081             </plugin>
1082             <plugin>
1083                 <groupId>org.apache.maven.plugins</groupId>
1084                 <artifactId>maven-war-plugin</artifactId>
1085                 <configuration>
1086                     <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
1087                         WEB-INF/classes/elasticsearch.yml,
1088                         WEB-INF/classes/portal.properties
1089                     </packagingExcludes>
1090                     <archive>
1091                         <manifestEntries>
1092                             <SDC-Version>${ui.version}</SDC-Version>
1093                         </manifestEntries>
1094                         <manifest>
1095                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
1096                             <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
1097                         </manifest>
1098                     </archive>
1099                     <attachClasses>true</attachClasses>
1100                     <webResources combine.children="append">
1101                         <resource>
1102                             <directory>
1103                                 ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}
1104                             </directory>
1105                             <includes>
1106                                 <include>**/*.*</include>
1107                             </includes>
1108                             <targetPath>swagger-ui</targetPath>
1109                         </resource>
1110                     </webResources>
1111                 </configuration>
1112             </plugin>
1113             <plugin>
1114                 <groupId>com.github.sylvainlaurent.maven</groupId>
1115                 <artifactId>yaml-json-validator-maven-plugin</artifactId>
1116                 <executions>
1117                     <execution>
1118                         <id>validate</id>
1119                         <phase>validate</phase>
1120                         <goals>
1121                             <goal>validate</goal>
1122                         </goals>
1123                         <configuration>
1124                             <validationSets>
1125                                 <validationSet>
1126                                     <includes>
1127                                         <include>src/main/resources/**/*.y*ml</include>
1128                                         <include>src/test/resources/**/*.y*ml</include>
1129                                     </includes>
1130                                     <excludes>
1131                                         <exclude>
1132                                             src/test/resources/artifacts/pnfSoftwareInformation/**
1133                                         </exclude>
1134                                     </excludes>
1135                                 </validationSet>
1136                                 <validationSet>
1137                                     <includes>
1138                                         <include>src/main/resources/**/*.json</include>
1139                                         <include>src/test/resources/**/*.json</include>
1140                                     </includes>
1141                                 </validationSet>
1142                             </validationSets>
1143                             <skip>${skipYamlJsonValidator}</skip>
1144                         </configuration>
1145                     </execution>
1146                 </executions>
1147             </plugin>
1148             <plugin>
1149                 <groupId>com.jcabi</groupId>
1150                 <artifactId>jcabi-maven-plugin</artifactId>
1151                 <version>${jcabi.maven.plugin.version}</version>
1152                 <dependencies>
1153                     <dependency>
1154                         <groupId>org.aspectj</groupId>
1155                         <artifactId>aspectjtools</artifactId>
1156                         <version>${aspectj.version}</version>
1157                     </dependency>
1158                     <dependency>
1159                         <groupId>org.aspectj</groupId>
1160                         <artifactId>aspectjweaver</artifactId>
1161                         <version>${aspectj.version}</version>
1162                     </dependency>
1163                 </dependencies>
1164                 <executions>
1165                     <execution>
1166                         <goals>
1167                             <goal>ajc</goal>
1168                         </goals>
1169                     </execution>
1170                 </executions>
1171             </plugin>
1172             <plugin>
1173                 <groupId>org.apache.maven.plugins</groupId>
1174                 <artifactId>maven-assembly-plugin</artifactId>
1175                 <executions>
1176                     <execution>
1177                         <id>normatives</id>
1178                         <phase>prepare-package</phase>
1179                         <goals>
1180                             <goal>single</goal>
1181                         </goals>
1182                         <configuration>
1183                             <finalName>normatives</finalName>
1184                             <appendAssemblyId>false</appendAssemblyId>
1185                             <descriptors>
1186                                 <descriptor>src/main/assembly/normatives.xml</descriptor>
1187                             </descriptors>
1188                         </configuration>
1189                     </execution>
1190                 </executions>
1191             </plugin>
1192             <plugin>
1193                 <groupId>org.apache.maven.plugins</groupId>
1194                 <artifactId>maven-clean-plugin</artifactId>
1195                 <executions>
1196                     <execution>
1197                         <id>clean.sdc.backend.folder</id>
1198                         <phase>clean</phase>
1199                         <goals>
1200                             <goal>clean</goal>
1201                         </goals>
1202                         <configuration>
1203                             <filesets>
1204                                 <fileset>
1205                                     <directory>
1206                                         sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
1207                                     </directory>
1208                                     <followSymlinks>false</followSymlinks>
1209                                     <includes>
1210                                         <include>normatives.tar.gz</include>
1211                                     </includes>
1212                                 </fileset>
1213                             </filesets>
1214                         </configuration>
1215                     </execution>
1216                 </executions>
1217             </plugin>
1218             <plugin>
1219                 <groupId>io.swagger.core.v3</groupId>
1220                 <artifactId>swagger-maven-plugin</artifactId>
1221                 <version>${swagger-core-mvn-plugin.version}</version>
1222                 <executions>
1223                     <execution>
1224                         <id>sdce-2-sdce-5</id>
1225                         <phase>compile</phase>
1226                         <goals>
1227                             <goal>resolve</goal>
1228                         </goals>
1229                         <configuration>
1230                             <contextId>sdce-2-sdce-5</contextId>
1231                             <outputPath>${project.build.directory}/generated/swagger</outputPath>
1232                             <outputFileName>swagger-sdce-2-sdce-5</outputFileName>
1233                             <outputFormat>JSON</outputFormat>
1234                             <configurationFilePath>
1235                                 ${project.basedir}/src/main/resources/swagger-config/sdce-2-sdce-5.yaml
1236                             </configurationFilePath>
1237                             <skip>${swagger.skip}</skip>
1238                         </configuration>
1239                     </execution>
1240                     <execution>
1241                         <id>sdce-4</id>
1242                         <phase>compile</phase>
1243                         <goals>
1244                             <goal>resolve</goal>
1245                         </goals>
1246                         <configuration>
1247                             <contextId>sdce-4</contextId>
1248                             <outputPath>${project.build.directory}/generated/swagger</outputPath>
1249                             <outputFileName>swagger-sdce-4</outputFileName>
1250                             <outputFormat>JSON</outputFormat>
1251                             <configurationFilePath>
1252                                 ${project.basedir}/src/main/resources/swagger-config/sdce-4.yaml
1253                             </configurationFilePath>
1254                             <skip>${swagger.skip}</skip>
1255                         </configuration>
1256                     </execution>
1257                     <execution>
1258                         <id>sdce-6</id>
1259                         <phase>compile</phase>
1260                         <goals>
1261                             <goal>resolve</goal>
1262                         </goals>
1263                         <configuration>
1264                             <contextId>sdce-6</contextId>
1265                             <outputPath>${project.build.directory}/generated/swagger</outputPath>
1266                             <outputFileName>swagger-sdce-6</outputFileName>
1267                             <outputFormat>JSON</outputFormat>
1268                             <configurationFilePath>
1269                                 ${project.basedir}/src/main/resources/swagger-config/sdce-6.yaml
1270                             </configurationFilePath>
1271                             <skip>${swagger.skip}</skip>
1272                         </configuration>
1273                     </execution>
1274                     <execution>
1275                         <id>sdce-7</id>
1276                         <phase>compile</phase>
1277                         <goals>
1278                             <goal>resolve</goal>
1279                         </goals>
1280                         <configuration>
1281                             <contextId>sdce-7</contextId>
1282                             <outputPath>${project.build.directory}/generated/swagger</outputPath>
1283                             <outputFileName>swagger-sdce-7</outputFileName>
1284                             <outputFormat>JSON</outputFormat>
1285                             <configurationFilePath>
1286                                 ${project.basedir}/src/main/resources/swagger-config/sdce-7.yaml
1287                             </configurationFilePath>
1288                             <skip>${swagger.skip}</skip>
1289                         </configuration>
1290                     </execution>
1291                 </executions>
1292             </plugin>
1293         </plugins>
1294
1295         <pluginManagement>
1296             <plugins>
1297                 <!--This plugin's configuration is used to store Eclipse m2e settings
1298                     only. It has no influence on the Maven build itself. -->
1299                 <plugin>
1300                     <groupId>org.eclipse.m2e</groupId>
1301                     <artifactId>lifecycle-mapping</artifactId>
1302                     <version>1.0.0</version>
1303                     <configuration>
1304                         <lifecycleMappingMetadata>
1305                             <pluginExecutions>
1306                                 <pluginExecution>
1307                                     <pluginExecutionFilter>
1308                                         <groupId>com.googlecode.maven-download-plugin</groupId>
1309                                         <artifactId>download-maven-plugin</artifactId>
1310                                         <versionRange>[1.2.1,)</versionRange>
1311                                         <goals>
1312                                             <goal>wget</goal>
1313                                         </goals>
1314                                     </pluginExecutionFilter>
1315                                 </pluginExecution>
1316
1317                                 <pluginExecution>
1318                                     <pluginExecutionFilter>
1319                                         <groupId>com.jcabi</groupId>
1320                                         <artifactId>jcabi-maven-plugin</artifactId>
1321                                         <versionRange>[0.0,)</versionRange>
1322                                         <goals>
1323                                             <goal>ajc</goal>
1324                                         </goals>
1325                                     </pluginExecutionFilter>
1326                                     <action>
1327                                         <execute/>
1328                                     </action>
1329                                 </pluginExecution>
1330
1331                             </pluginExecutions>
1332                         </lifecycleMappingMetadata>
1333                     </configuration>
1334                 </plugin>
1335             </plugins>
1336         </pluginManagement>
1337         <!-- Swagger Plugins End -->
1338     </build>
1339
1340     <profiles>
1341         <profile>
1342             <id>docker</id>
1343             <activation>
1344                 <activeByDefault>false</activeByDefault>
1345             </activation>
1346             <build>
1347                 <plugins>
1348                     <plugin>
1349                         <groupId>org.apache.maven.plugins</groupId>
1350                         <artifactId>maven-resources-plugin</artifactId>
1351                         <executions>
1352                             <execution>
1353                                 <id>copy-normatives</id>
1354                                 <phase>package</phase>
1355                                 <goals>
1356                                     <goal>copy-resources</goal>
1357                                 </goals>
1358                                 <configuration>
1359                                     <outputDirectory>
1360                                         sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
1361                                     </outputDirectory>
1362                                     <resources>
1363                                         <resource>
1364                                             <directory>${project.build.directory}</directory>
1365                                             <includes>
1366                                                 <include>normatives.tar.gz</include>
1367                                             </includes>
1368                                         </resource>
1369                                     </resources>
1370                                 </configuration>
1371                             </execution>
1372                             <execution>
1373                                 <id>copy-sdc-be-py</id>
1374                                 <phase>verify</phase>
1375                                 <goals>
1376                                     <goal>copy-resources</goal>
1377                                 </goals>
1378                                 <configuration>
1379                                     <outputDirectory>
1380                                         sdc-backend-init/
1381                                     </outputDirectory>
1382                                     <resources>
1383                                         <resource>
1384                                             <directory>
1385                                                 ${project.parent.basedir}/catalog-be/src/main/resources/
1386                                             </directory>
1387                                             <includes>
1388                                                 <include>scripts/sdcBePy/**</include>
1389                                                 <inculde>scripts/setup.py</inculde>
1390                                             </includes>
1391                                         </resource>
1392                                     </resources>
1393                                 </configuration>
1394                             </execution>
1395                         </executions>
1396                     </plugin>
1397                     <plugin>
1398                         <groupId>io.fabric8</groupId>
1399                         <artifactId>docker-maven-plugin</artifactId>
1400                         <configuration>
1401                             <verbose>${verbose}</verbose>
1402                             <apiVersion>${docker.api.version}</apiVersion>
1403                             <registry>${docker.registry}</registry>
1404                             <authConfig>
1405                                 <pull>
1406                                     <username>${docker.username}</username>
1407                                     <password>${docker.password}</password>
1408                                 </pull>
1409                             </authConfig>
1410                             <images>
1411
1412                                 <!-- Build backend image -->
1413                                 <image>
1414                                     <name>${docker.namespace}/sdc-backend</name>
1415                                     <alias>sdc-backend</alias>
1416                                     <build>
1417                                         <cleanup>try</cleanup>
1418                                         <dockerFileDir>backend</dockerFileDir>
1419                                         <tags>
1420                                             <tag>latest</tag>
1421                                             <tag>
1422                                                 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1423                                             </tag>
1424                                             <tag>
1425                                                 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
1426                                             </tag>
1427                                         </tags>
1428                                         <assembly>
1429                                             <descriptor>backend/backend-files.xml</descriptor>
1430                                             <name>onap-sdc-backend</name>
1431                                         </assembly>
1432                                     </build>
1433                                 </image>
1434                                 <!-- Build backend-init image -->
1435                                 <image>
1436                                     <name>${docker.namespace}/sdc-backend-init</name>
1437                                     <alias>sdc-backend-init</alias>
1438                                     <build>
1439                                         <cleanup>try</cleanup>
1440                                         <dockerFileDir>${project.basedir}/sdc-backend-init
1441                                         </dockerFileDir>
1442                                         <tags>
1443                                             <tag>latest</tag>
1444                                             <tag>
1445                                                 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1446                                             </tag>
1447                                             <tag>
1448                                                 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
1449                                             </tag>
1450                                         </tags>
1451                                     </build>
1452                                 </image>
1453                             </images>
1454                         </configuration>
1455                         <executions>
1456                             <execution>
1457                                 <id>clean-images</id>
1458                                 <phase>pre-clean</phase>
1459                                 <goals>
1460                                     <goal>remove</goal>
1461                                 </goals>
1462                                 <configuration>
1463                                     <removeAll>true</removeAll>
1464                                     <image>${docker.namespace}/sdc-backend,onap/sdc-backend-init</image>
1465                                 </configuration>
1466                             </execution>
1467
1468                             <execution>
1469                                 <id>generate-images</id>
1470                                 <phase>install</phase>
1471                                 <goals>
1472                                     <goal>build</goal>
1473                                 </goals>
1474                             </execution>
1475
1476                             <execution>
1477                                 <id>push-images</id>
1478                                 <phase>deploy</phase>
1479                                 <goals>
1480                                     <goal>push</goal>
1481                                 </goals>
1482                                 <configuration>
1483                                     <image>${docker.namespace}/sdc-backend,onap/sdc-backend-init</image>
1484                                 </configuration>
1485                             </execution>
1486                         </executions>
1487                     </plugin>
1488                 </plugins>
1489             </build>
1490         </profile>
1491     </profiles>
1492 </project>