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