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