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