Remove outdated dependency commons-logging:commons-logging
[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.2-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         <dependency>
594             <groupId>com.googlecode.json-simple</groupId>
595             <artifactId>json-simple</artifactId>
596             <version>${json-simple.version}</version>
597             <scope>compile</scope>
598             <exclusions>
599                 <exclusion>
600                     <groupId>junit</groupId>
601                     <artifactId>junit</artifactId>
602                 </exclusion>
603             </exclusions>
604         </dependency>
605
606         <!-- functional java -->
607         <dependency>
608             <groupId>org.functionaljava</groupId>
609             <artifactId>functionaljava</artifactId>
610             <version>${functionaljava.version}</version>
611             <scope>compile</scope>
612         </dependency>
613
614         <!-- Aspects -->
615         <dependency>
616             <groupId>com.jcabi</groupId>
617             <artifactId>jcabi-aspects</artifactId>
618             <version>${jcabi.version}</version>
619             <scope>compile</scope>
620         </dependency>
621
622         <dependency>
623             <groupId>org.aspectj</groupId>
624             <artifactId>aspectjrt</artifactId>
625             <version>${aspectjrt.version}</version>
626             <scope>compile</scope>
627         </dependency>
628
629
630         <!-- CAMBRIA CLIENT for U-EB -->
631         <dependency>
632             <groupId>com.att.nsa</groupId>
633             <artifactId>cambriaClient</artifactId>
634             <version>1.2.1-oss</version>
635             <scope>compile</scope>
636             <exclusions>
637                 <exclusion>
638                     <groupId>com.att.nsa</groupId>
639                     <artifactId>saClientLibrary</artifactId>
640                 </exclusion>
641             </exclusions>
642         </dependency>
643
644         <dependency>
645             <groupId>org.json</groupId>
646             <artifactId>json</artifactId>
647             <version>${org.json.version}</version>
648         </dependency>
649
650         <!-- CASSANDRA -->
651         <dependency>
652             <groupId>com.datastax.cassandra</groupId>
653             <artifactId>cassandra-driver-core</artifactId>
654             <version>${cassandra.driver.version}</version>
655             <scope>compile</scope>
656             <exclusions>
657                 <exclusion>
658                     <groupId>com.github.jnr</groupId>
659                     <artifactId>jnr-posix</artifactId>
660                 </exclusion>
661             </exclusions>
662         </dependency>
663         <dependency>
664             <groupId>com.datastax.cassandra</groupId>
665             <artifactId>cassandra-driver-mapping</artifactId>
666             <version>${cassandra.driver.version}</version>
667             <scope>compile</scope>
668         </dependency>
669         <!-- CASSANDRA END -->
670
671         <!-- Inserted for ECOMP Portal Integration -->
672         <dependency>
673             <groupId>org.owasp.esapi</groupId>
674             <artifactId>esapi</artifactId>
675             <version>${org.owasp.esapi.version}</version>
676             <exclusions>
677                 <exclusion>
678                     <groupId>log4j</groupId>
679                     <artifactId>log4j</artifactId>
680                 </exclusion>
681                 <exclusion>
682                     <groupId>commons-io</groupId>
683                     <artifactId>commons-io</artifactId>
684                 </exclusion>
685                 <exclusion>
686                     <groupId>commons-fileupload</groupId>
687                     <artifactId>commons-fileupload</artifactId>
688                 </exclusion>
689                 <exclusion>
690                     <groupId>org.apache.xmlgraphics</groupId>
691                     <artifactId>xmlgraphics-commons</artifactId>
692                 </exclusion>
693                 <exclusion>
694                     <groupId>xml-apis</groupId>
695                     <artifactId>xml-apis-ext</artifactId>
696                 </exclusion>
697                 <exclusion>
698                     <groupId>xml-apis</groupId>
699                     <artifactId>xml-apis</artifactId>
700                 </exclusion>
701                 <exclusion>
702                     <groupId>xerces</groupId>
703                     <artifactId>xercesImpl</artifactId>
704                 </exclusion>
705                 <exclusion>
706                     <groupId>net.sourceforge.nekohtml</groupId>
707                     <artifactId>nekohtml</artifactId>
708                 </exclusion>
709             </exclusions>
710         </dependency>
711         <dependency>
712             <groupId>org.onap.portal.sdk</groupId>
713             <artifactId>epsdk-fw</artifactId>
714             <version>${ecomp.version}</version>
715             <scope>compile</scope>
716             <exclusions>
717                 <exclusion>
718                     <groupId>com.att.nsa</groupId>
719                     <artifactId>cambriaClient</artifactId>
720                 </exclusion>
721                 <exclusion>
722                     <artifactId>slf4j-log4j12</artifactId>
723                     <groupId>org.slf4j</groupId>
724                 </exclusion>
725                 <exclusion>
726                     <groupId>org.onap.aaf.authz</groupId>
727                     <artifactId>aaf-cadi-aaf</artifactId>
728                 </exclusion>
729                 <exclusion>
730                     <artifactId>aaf-cadi-core</artifactId>
731                     <groupId>org.onap.aaf.authz</groupId>
732                 </exclusion>
733                 <exclusion>
734                     <artifactId>commons-codec</artifactId>
735                     <groupId>commons-codec</groupId>
736                 </exclusion>
737                 <exclusion>
738                     <artifactId>log4j</artifactId>
739                     <groupId>log4j</groupId>
740                 </exclusion>
741                 <exclusion>
742                     <groupId>javax.servlet</groupId>
743                     <artifactId>javax.servlet-api</artifactId>
744                 </exclusion>
745                 <exclusion>
746                     <groupId>org.onap.aaf.authz</groupId>
747                     <artifactId>aaf-cadi-aaf</artifactId>
748                 </exclusion>
749                 <exclusion>
750                     <groupId>org.onap.aaf.authz</groupId>
751                     <artifactId>aaf-cadi-client</artifactId>
752                 </exclusion>
753                 <exclusion>
754                     <groupId>org.onap.aaf.authz</groupId>
755                     <artifactId>aaf-cadi-core</artifactId>
756                 </exclusion>
757             </exclusions>
758         </dependency>
759
760         <!--Jetty Proxy-->
761         <dependency>
762             <groupId>org.eclipse.jetty</groupId>
763             <artifactId>jetty-http</artifactId>
764             <version>${jetty.version}</version>
765             <scope>compile</scope>
766         </dependency>
767
768         <dependency>
769             <groupId>org.eclipse.jetty</groupId>
770             <artifactId>jetty-proxy</artifactId>
771             <version>${jetty.version}</version>
772             <scope>compile</scope>
773         </dependency>
774
775         <dependency>
776             <groupId>org.eclipse.jetty</groupId>
777             <artifactId>jetty-servlets</artifactId>
778             <version>${jetty.version}</version>
779             <scope>compile</scope>
780             <exclusions>
781                 <exclusion>
782                     <groupId>org.eclipse.jetty</groupId>
783                     <artifactId>jetty-http</artifactId>
784                 </exclusion>
785             </exclusions>
786         </dependency>
787         <!-- System metrics -->
788         <dependency>
789             <groupId>org.fusesource</groupId>
790             <artifactId>sigar</artifactId>
791             <version>${sigar.version}</version>
792             <scope>compile</scope>
793             <exclusions>
794                 <exclusion>
795                     <groupId>log4j</groupId>
796                     <artifactId>log4j</artifactId>
797                 </exclusion>
798             </exclusions>
799         </dependency>
800         <dependency>
801             <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
802             <artifactId>dmaapClient</artifactId>
803             <version>1.1.3</version>
804             <scope>compile</scope>
805             <exclusions>
806                 <exclusion>
807                     <groupId>com.att.aft</groupId>
808                     <artifactId>dme2</artifactId>
809                 </exclusion>
810                 <exclusion>
811                     <groupId>com.fasterxml.jackson.core</groupId>
812                     <artifactId>jackson-core</artifactId>
813                 </exclusion>
814                 <exclusion>
815                     <artifactId>log4j</artifactId>
816                     <groupId>log4j</groupId>
817                 </exclusion>
818                 <exclusion>
819                     <artifactId>apache-log4j-extras</artifactId>
820                     <groupId>log4j</groupId>
821                 </exclusion>
822                 <exclusion>
823                     <groupId>org.apache.httpcomponents</groupId>
824                     <artifactId>httpclient-cache</artifactId>
825                 </exclusion>
826                 <exclusion>
827                     <groupId>javax.ws.rs</groupId>
828                     <artifactId>javax.ws.rs-api</artifactId>
829                 </exclusion>
830             </exclusions>
831         </dependency>
832         <dependency>
833             <groupId>com.att.aft</groupId>
834             <artifactId>dme2</artifactId>
835             <version>3.1.200-oss</version>
836             <exclusions>
837                 <exclusion>
838                     <groupId>javax.jms</groupId>
839                     <artifactId>jms</artifactId>
840                 </exclusion>
841                 <exclusion>
842                     <groupId>javax.servlet</groupId>
843                     <artifactId>javax.servlet-api</artifactId>
844                 </exclusion>
845             </exclusions>
846         </dependency>
847
848         <!-- CADI -->
849         <dependency>
850             <groupId>org.onap.aaf.authz</groupId>
851             <artifactId>aaf-cadi-aaf</artifactId>
852             <version>${cadi.version}</version>
853             <exclusions>
854                 <exclusion>
855                     <groupId>com.datastax.cassandra</groupId>
856                     <artifactId>cassandra-driver-core</artifactId>
857                 </exclusion>
858                 <exclusion>
859                     <groupId>org.slf4j</groupId>
860                     <artifactId>slf4j-log4j12</artifactId>
861                 </exclusion>
862                 <exclusion>
863                     <artifactId>log4j</artifactId>
864                     <groupId>log4j</groupId>
865                 </exclusion>
866                 <exclusion>
867                     <groupId>javax.servlet</groupId>
868                     <artifactId>javax.servlet-api</artifactId>
869                 </exclusion>
870             </exclusions>
871         </dependency>
872
873         <!-- TEST -->
874         <dependency>
875             <groupId>org.assertj</groupId>
876             <artifactId>assertj-core</artifactId>
877             <scope>test</scope>
878         </dependency>
879
880         <dependency>
881             <groupId>org.glassfish.jersey.test-framework.providers</groupId>
882             <artifactId>jersey-test-framework-provider-bundle</artifactId>
883             <version>${jersey-bom.version}</version>
884             <type>pom</type>
885             <scope>test</scope>
886             <exclusions>
887                 <exclusion>
888                     <groupId>junit</groupId>
889                     <artifactId>junit</artifactId>
890                 </exclusion>
891             </exclusions>
892         </dependency>
893
894         <dependency>
895             <groupId>org.glassfish.jersey.core</groupId>
896             <artifactId>jersey-client</artifactId>
897             <version>${jersey-bom.version}</version>
898         </dependency>
899
900         <dependency>
901             <groupId>org.eclipse.jetty</groupId>
902             <artifactId>jetty-webapp</artifactId>
903             <version>${jetty.version}</version>
904             <scope>test</scope>
905         </dependency>
906
907         <dependency>
908             <groupId>org.hamcrest</groupId>
909             <artifactId>hamcrest</artifactId>
910             <version>${hamcrest.version}</version>
911             <scope>test</scope>
912         </dependency>
913
914         <dependency>
915             <groupId>org.hamcrest</groupId>
916             <artifactId>hamcrest-library</artifactId>
917             <version>${hamcrest.version}</version>
918             <scope>test</scope>
919         </dependency>
920
921         <dependency>
922             <groupId>org.junit.jupiter</groupId>
923             <artifactId>junit-jupiter-api</artifactId>
924             <version>${junitJupiter.version}</version>
925             <scope>test</scope>
926         </dependency>
927
928         <dependency>
929             <groupId>org.junit.jupiter</groupId>
930             <artifactId>junit-jupiter</artifactId>
931             <version>${junitJupiter.version}</version>
932             <scope>test</scope>
933         </dependency>
934
935         <dependency>
936             <groupId>org.junit.platform</groupId>
937             <artifactId>junit-platform-commons</artifactId>
938             <version>${junit.platform.version}</version>
939             <scope>test</scope>
940         </dependency>
941         <dependency>
942             <groupId>org.junit.platform</groupId>
943             <artifactId>junit-platform-engine</artifactId>
944             <version>${junit.platform.version}</version>
945             <scope>test</scope>
946         </dependency>
947         <dependency>
948             <groupId>org.mockito</groupId>
949             <artifactId>mockito-junit-jupiter</artifactId>
950             <version>${mockitoJupiter.version}</version>
951             <scope>test</scope>
952         </dependency>
953
954         <dependency>
955             <groupId>org.springframework</groupId>
956             <artifactId>spring-test</artifactId>
957             <version>${spring.version}</version>
958             <scope>test</scope>
959         </dependency>
960
961         <dependency>
962             <groupId>org.springframework</groupId>
963             <artifactId>spring-tx</artifactId>
964             <version>${spring.version}</version>
965             <exclusions>
966                 <exclusion>
967                     <groupId>org.springframework</groupId>
968                     <artifactId>spring-core</artifactId>
969                 </exclusion>
970             </exclusions>
971         </dependency>
972
973         <dependency>
974             <groupId>io.cucumber</groupId>
975             <artifactId>cucumber-java</artifactId>
976             <version>${cucumber.version}</version>
977             <scope>test</scope>
978         </dependency>
979
980         <dependency>
981             <groupId>io.cucumber</groupId>
982             <artifactId>cucumber-junit</artifactId>
983             <version>${cucumber.version}</version>
984             <scope>test</scope>
985         </dependency>
986
987         <dependency>
988             <groupId>org.jmockit</groupId>
989             <artifactId>jmockit</artifactId>
990             <version>${jmockit.version}</version>
991             <scope>test</scope>
992         </dependency>
993
994         <dependency>
995             <groupId>com.google.code.bean-matchers</groupId>
996             <artifactId>bean-matchers</artifactId>
997             <version>${bean-matchers.version}</version>
998             <scope>test</scope>
999         </dependency>
1000         <dependency>
1001             <groupId>org.apache.groovy</groupId>
1002             <artifactId>groovy</artifactId>
1003             <version>${groovy.version}</version>
1004         </dependency>
1005
1006         <dependency>
1007             <groupId>io.netty</groupId>
1008             <artifactId>netty-handler</artifactId>
1009         </dependency>
1010         <dependency>
1011             <groupId>org.onap.sdc.common</groupId>
1012             <artifactId>onap-tosca-datatype</artifactId>
1013             <version>${project.version}</version>
1014             <exclusions>
1015                 <exclusion>
1016                     <groupId>com.fasterxml.jackson.core</groupId>
1017                     <artifactId>jackson-core</artifactId>
1018                 </exclusion>
1019             </exclusions>
1020         </dependency>
1021         <dependency>
1022             <groupId>org.apache.commons</groupId>
1023             <artifactId>commons-collections4</artifactId>
1024             <version>${commons.collections.version}</version>
1025         </dependency>
1026         <dependency>
1027             <groupId>org.onap.sdc.sdc-be-common</groupId>
1028             <artifactId>security-util-lib</artifactId>
1029             <version>${security.util.lib.version}</version>
1030             <exclusions>
1031                 <exclusion>
1032                     <groupId>org.springframework.boot</groupId>
1033                     <artifactId>spring-boot-starter-logging</artifactId>
1034                 </exclusion>
1035                 <exclusion>
1036                     <groupId>org.springframework.boot</groupId>
1037                     <artifactId>spring-boot-starter</artifactId>
1038                 </exclusion>
1039             </exclusions>
1040         </dependency>
1041         <dependency>
1042             <groupId>org.openecomp.sdc.core</groupId>
1043             <artifactId>openecomp-tosca-lib</artifactId>
1044             <version>${project.version}</version>
1045             <exclusions>
1046                 <exclusion>
1047                     <groupId>com.fasterxml.jackson.core</groupId>
1048                     <artifactId>jackson-core</artifactId>
1049                 </exclusion>
1050                 <exclusion>
1051                     <groupId>org.springframework</groupId>
1052                     <artifactId>spring-core</artifactId>
1053                 </exclusion>
1054             </exclusions>
1055         </dependency>
1056         <dependency>
1057             <groupId>org.onap.vnfsdk.validation</groupId>
1058             <artifactId>validation-pmdictionary</artifactId>
1059             <version>${onap.vnfsdk.validation.pmdictionary.version}</version>
1060             <exclusions>
1061                 <exclusion>
1062                     <groupId>org.apache.logging.log4j</groupId>
1063                     <artifactId>log4j-slf4j-impl</artifactId>
1064                 </exclusion>
1065             </exclusions>
1066         </dependency>
1067
1068         <dependency>
1069             <groupId>com.googlecode.jmapper-framework</groupId>
1070             <artifactId>jmapper-core</artifactId>
1071             <version>${jMapper.version}</version>
1072             <exclusions>
1073                 <exclusion>
1074                     <groupId>com.thoughtworks.xstream</groupId>
1075                     <artifactId>xstream</artifactId>
1076                 </exclusion>
1077             </exclusions>
1078         </dependency>
1079         <dependency>
1080             <groupId>org.apache.kafka</groupId>
1081             <artifactId>kafka-clients</artifactId>
1082         </dependency>
1083
1084     </dependencies>
1085
1086     <build>
1087         <finalName>catalog-be</finalName>
1088         <plugins>
1089             <plugin>
1090                 <groupId>org.apache.maven.plugins</groupId>
1091                 <artifactId>maven-surefire-plugin</artifactId>
1092                 <configuration>
1093                     <forkCount>1C</forkCount>
1094                     <reuseForks>false</reuseForks>
1095                 </configuration>
1096             </plugin>
1097             <plugin>
1098                 <!-- Download Swagger UI webjar. -->
1099                 <artifactId>maven-dependency-plugin</artifactId>
1100                 <version>${maven-dependency-plugin.version}</version>
1101                 <executions>
1102                     <execution>
1103                         <phase>prepare-package</phase>
1104                         <goals>
1105                             <goal>unpack</goal>
1106                         </goals>
1107                         <configuration>
1108                             <artifactItems>
1109                                 <artifactItem>
1110                                     <groupId>org.webjars</groupId>
1111                                     <artifactId>swagger-ui</artifactId>
1112                                     <version>${swagger-ui.version}</version>
1113                                 </artifactItem>
1114                             </artifactItems>
1115                             <outputDirectory>${project.build.directory}/swagger-ui</outputDirectory>
1116                         </configuration>
1117                     </execution>
1118                 </executions>
1119             </plugin>
1120             <plugin>
1121                 <!-- Replace the OpenAPI specification example URL with the local one. -->
1122                 <groupId>com.google.code.maven-replacer-plugin</groupId>
1123                 <artifactId>replacer</artifactId>
1124                 <version>${replacer.plugin.version}</version>
1125                 <executions>
1126                     <execution>
1127                         <phase>prepare-package</phase>
1128                         <goals>
1129                             <goal>replace</goal>
1130                         </goals>
1131                     </execution>
1132                 </executions>
1133                 <configuration>
1134                     <file>
1135                         ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}/index.html
1136                     </file>
1137                     <replacements>
1138                         <replacement>
1139                             <token>https://petstore.swagger.io/v2/swagger.json</token>
1140                             <value>/sdc/openapi.json</value>
1141                         </replacement>
1142                     </replacements>
1143                 </configuration>
1144             </plugin>
1145             <plugin>
1146                 <groupId>org.apache.maven.plugins</groupId>
1147                 <artifactId>maven-war-plugin</artifactId>
1148                 <configuration>
1149                     <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
1150                         WEB-INF/classes/elasticsearch.yml,
1151                         WEB-INF/classes/portal.properties
1152                     </packagingExcludes>
1153                     <archive>
1154                         <manifestEntries>
1155                             <SDC-Version>${ui.version}</SDC-Version>
1156                         </manifestEntries>
1157                         <manifest>
1158                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
1159                             <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
1160                         </manifest>
1161                     </archive>
1162                     <attachClasses>true</attachClasses>
1163                     <webResources combine.children="append">
1164                         <resource>
1165                             <directory>
1166                                 ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}
1167                             </directory>
1168                             <includes>
1169                                 <include>**/*.*</include>
1170                             </includes>
1171                             <targetPath>swagger-ui</targetPath>
1172                         </resource>
1173                     </webResources>
1174                 </configuration>
1175             </plugin>
1176             <plugin>
1177                 <groupId>com.github.sylvainlaurent.maven</groupId>
1178                 <artifactId>yaml-json-validator-maven-plugin</artifactId>
1179                 <executions>
1180                     <execution>
1181                         <id>validate</id>
1182                         <phase>validate</phase>
1183                         <goals>
1184                             <goal>validate</goal>
1185                         </goals>
1186                         <configuration>
1187                             <validationSets>
1188                                 <validationSet>
1189                                     <includes>
1190                                         <include>src/main/resources/**/*.y*ml</include>
1191                                         <include>src/test/resources/**/*.y*ml</include>
1192                                     </includes>
1193                                     <excludes>
1194                                         <exclude>
1195                                             src/test/resources/artifacts/pnfSoftwareInformation/**
1196                                         </exclude>
1197                                         <exclude>
1198                                             src/test/resources/yamlValidation/noValid/**
1199                                         </exclude>
1200                                     </excludes>
1201                                 </validationSet>
1202                                 <validationSet>
1203                                     <includes>
1204                                         <include>src/main/resources/**/*.json</include>
1205                                         <include>src/test/resources/**/*.json</include>
1206                                     </includes>
1207                                 </validationSet>
1208                             </validationSets>
1209                             <skip>${skipYamlJsonValidator}</skip>
1210                         </configuration>
1211                     </execution>
1212                 </executions>
1213             </plugin>
1214             <plugin>
1215                 <groupId>com.jcabi</groupId>
1216                 <artifactId>jcabi-maven-plugin</artifactId>
1217                 <version>${jcabi.maven.plugin.version}</version>
1218                 <dependencies>
1219                     <dependency>
1220                         <groupId>org.aspectj</groupId>
1221                         <artifactId>aspectjtools</artifactId>
1222                         <version>${aspectj.version}</version>
1223                     </dependency>
1224                     <dependency>
1225                         <groupId>org.aspectj</groupId>
1226                         <artifactId>aspectjweaver</artifactId>
1227                         <version>${aspectj.version}</version>
1228                     </dependency>
1229                 </dependencies>
1230                 <executions>
1231                     <execution>
1232                         <goals>
1233                             <goal>ajc</goal>
1234                         </goals>
1235                     </execution>
1236                 </executions>
1237             </plugin>
1238             <plugin>
1239                 <groupId>org.apache.maven.plugins</groupId>
1240                 <artifactId>maven-assembly-plugin</artifactId>
1241                 <version>${mvn.assembly.version}</version>
1242                 <executions>
1243                     <execution>
1244                         <id>normatives</id>
1245                         <phase>prepare-package</phase>
1246                         <goals>
1247                             <goal>single</goal>
1248                         </goals>
1249                         <configuration>
1250                             <finalName>normatives</finalName>
1251                             <appendAssemblyId>false</appendAssemblyId>
1252                             <descriptors>
1253                                 <descriptor>src/main/assembly/normatives.xml</descriptor>
1254                             </descriptors>
1255                         </configuration>
1256                     </execution>
1257                 </executions>
1258             </plugin>
1259             <plugin>
1260                 <groupId>org.apache.maven.plugins</groupId>
1261                 <artifactId>maven-clean-plugin</artifactId>
1262                 <executions>
1263                     <execution>
1264                         <id>clean.sdc.backend.folder</id>
1265                         <phase>clean</phase>
1266                         <goals>
1267                             <goal>clean</goal>
1268                         </goals>
1269                         <configuration>
1270                             <filesets>
1271                                 <fileset>
1272                                     <directory>
1273                                         sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
1274                                     </directory>
1275                                     <followSymlinks>false</followSymlinks>
1276                                     <includes>
1277                                         <include>normatives.tar.gz</include>
1278                                     </includes>
1279                                 </fileset>
1280                             </filesets>
1281                         </configuration>
1282                     </execution>
1283                 </executions>
1284             </plugin>
1285             <plugin>
1286                 <groupId>io.swagger.core.v3</groupId>
1287                 <artifactId>swagger-maven-plugin</artifactId>
1288                 <version>${swagger-core-mvn-plugin.version}</version>
1289                 <executions>
1290                     <execution>
1291                         <id>sdce-2-sdce-5</id>
1292                         <phase>compile</phase>
1293                         <goals>
1294                             <goal>resolve</goal>
1295                         </goals>
1296                         <configuration>
1297                             <contextId>sdce-2-sdce-5</contextId>
1298                             <outputPath>${project.build.directory}/generated/openapi</outputPath>
1299                             <outputFileName>openapi-sdce-2-sdce-5</outputFileName>
1300                             <outputFormat>JSONANDYAML</outputFormat>
1301                             <configurationFilePath>
1302                                 ${project.basedir}/src/main/resources/swagger-config/sdce-2-sdce-5.yaml
1303                             </configurationFilePath>
1304                             <skip>${swagger.skip}</skip>
1305                         </configuration>
1306                     </execution>
1307                     <execution>
1308                         <id>sdce-4</id>
1309                         <phase>compile</phase>
1310                         <goals>
1311                             <goal>resolve</goal>
1312                         </goals>
1313                         <configuration>
1314                             <contextId>sdce-4</contextId>
1315                             <outputPath>${project.build.directory}/generated/openapi</outputPath>
1316                             <outputFileName>openapi-sdce-4</outputFileName>
1317                             <outputFormat>JSONANDYAML</outputFormat>
1318                             <configurationFilePath>
1319                                 ${project.basedir}/src/main/resources/swagger-config/sdce-4.yaml
1320                             </configurationFilePath>
1321                             <skip>${swagger.skip}</skip>
1322                         </configuration>
1323                     </execution>
1324                     <execution>
1325                         <id>sdce-6</id>
1326                         <phase>compile</phase>
1327                         <goals>
1328                             <goal>resolve</goal>
1329                         </goals>
1330                         <configuration>
1331                             <contextId>sdce-6</contextId>
1332                             <outputPath>${project.build.directory}/generated/openapi</outputPath>
1333                             <outputFileName>openapi-sdce-6</outputFileName>
1334                             <outputFormat>JSONANDYAML</outputFormat>
1335                             <configurationFilePath>
1336                                 ${project.basedir}/src/main/resources/swagger-config/sdce-6.yaml
1337                             </configurationFilePath>
1338                             <skip>${swagger.skip}</skip>
1339                         </configuration>
1340                     </execution>
1341                     <execution>
1342                         <id>sdce-7</id>
1343                         <phase>compile</phase>
1344                         <goals>
1345                             <goal>resolve</goal>
1346                         </goals>
1347                         <configuration>
1348                             <contextId>sdce-7</contextId>
1349                             <outputPath>${project.build.directory}/generated/openapi</outputPath>
1350                             <outputFileName>openapi-sdce-7</outputFileName>
1351                             <outputFormat>JSONANDYAML</outputFormat>
1352                             <configurationFilePath>
1353                                 ${project.basedir}/src/main/resources/swagger-config/sdce-7.yaml
1354                             </configurationFilePath>
1355                             <skip>${swagger.skip}</skip>
1356                         </configuration>
1357                     </execution>
1358                 </executions>
1359             </plugin>
1360         </plugins>
1361
1362         <pluginManagement>
1363             <plugins>
1364                 <!--This plugin's configuration is used to store Eclipse m2e settings
1365                     only. It has no influence on the Maven build itself. -->
1366                 <plugin>
1367                     <groupId>org.eclipse.m2e</groupId>
1368                     <artifactId>lifecycle-mapping</artifactId>
1369                     <version>1.0.0</version>
1370                     <configuration>
1371                         <lifecycleMappingMetadata>
1372                             <pluginExecutions>
1373                                 <pluginExecution>
1374                                     <pluginExecutionFilter>
1375                                         <groupId>com.googlecode.maven-download-plugin</groupId>
1376                                         <artifactId>download-maven-plugin</artifactId>
1377                                         <versionRange>[1.2.1,)</versionRange>
1378                                         <goals>
1379                                             <goal>wget</goal>
1380                                         </goals>
1381                                     </pluginExecutionFilter>
1382                                 </pluginExecution>
1383
1384                                 <pluginExecution>
1385                                     <pluginExecutionFilter>
1386                                         <groupId>com.jcabi</groupId>
1387                                         <artifactId>jcabi-maven-plugin</artifactId>
1388                                         <versionRange>[0.0,)</versionRange>
1389                                         <goals>
1390                                             <goal>ajc</goal>
1391                                         </goals>
1392                                     </pluginExecutionFilter>
1393                                     <action>
1394                                         <execute/>
1395                                     </action>
1396                                 </pluginExecution>
1397
1398                             </pluginExecutions>
1399                         </lifecycleMappingMetadata>
1400                     </configuration>
1401                 </plugin>
1402             </plugins>
1403         </pluginManagement>
1404         <!-- Swagger Plugins End -->
1405     </build>
1406
1407     <profiles>
1408         <profile>
1409             <id>docker</id>
1410             <activation>
1411                 <activeByDefault>false</activeByDefault>
1412             </activation>
1413             <build>
1414                 <plugins>
1415                     <plugin>
1416                         <groupId>org.apache.maven.plugins</groupId>
1417                         <artifactId>maven-resources-plugin</artifactId>
1418                         <executions>
1419                             <execution>
1420                                 <id>copy-normatives</id>
1421                                 <phase>package</phase>
1422                                 <goals>
1423                                     <goal>copy-resources</goal>
1424                                 </goals>
1425                                 <configuration>
1426                                     <outputDirectory>
1427                                         sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
1428                                     </outputDirectory>
1429                                     <resources>
1430                                         <resource>
1431                                             <directory>${project.build.directory}</directory>
1432                                             <includes>
1433                                                 <include>normatives.tar.gz</include>
1434                                             </includes>
1435                                         </resource>
1436                                     </resources>
1437                                 </configuration>
1438                             </execution>
1439                             <execution>
1440                                 <id>copy-sdc-be-py</id>
1441                                 <phase>verify</phase>
1442                                 <goals>
1443                                     <goal>copy-resources</goal>
1444                                 </goals>
1445                                 <configuration>
1446                                     <outputDirectory>
1447                                         sdc-backend-init/
1448                                     </outputDirectory>
1449                                     <resources>
1450                                         <resource>
1451                                             <directory>
1452                                                 ${project.parent.basedir}/catalog-be/src/main/resources/
1453                                             </directory>
1454                                             <includes>
1455                                                 <include>scripts/sdcBePy/**</include>
1456                                                 <inculde>scripts/setup.py</inculde>
1457                                             </includes>
1458                                         </resource>
1459                                     </resources>
1460                                 </configuration>
1461                             </execution>
1462                         </executions>
1463                     </plugin>
1464                     <plugin>
1465                         <groupId>io.fabric8</groupId>
1466                         <artifactId>docker-maven-plugin</artifactId>
1467                         <configuration>
1468                             <verbose>${verbose}</verbose>
1469                             <apiVersion>${docker.api.version}</apiVersion>
1470                             <registry>${docker.registry}</registry>
1471                             <authConfig>
1472                                 <pull>
1473                                     <username>${docker.username}</username>
1474                                     <password>${docker.password}</password>
1475                                 </pull>
1476                             </authConfig>
1477                             <images>
1478
1479                                 <!-- Build backend image -->
1480                                 <image>
1481                                     <name>${docker.namespace}/sdc-backend</name>
1482                                     <alias>sdc-backend</alias>
1483                                     <build>
1484                                         <cleanup>try</cleanup>
1485                                         <dockerFileDir>backend</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                                         <assembly>
1496                                             <descriptor>backend/backend-files.xml</descriptor>
1497                                             <name>onap-sdc-backend</name>
1498                                         </assembly>
1499                                     </build>
1500                                 </image>
1501                                 <!-- Build backend-init image -->
1502                                 <image>
1503                                     <name>${docker.namespace}/sdc-backend-init</name>
1504                                     <alias>sdc-backend-init</alias>
1505                                     <build>
1506                                         <cleanup>try</cleanup>
1507                                         <dockerFileDir>${project.basedir}/sdc-backend-init
1508                                         </dockerFileDir>
1509                                         <tags>
1510                                             <tag>latest</tag>
1511                                             <tag>
1512                                                 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1513                                             </tag>
1514                                             <tag>
1515                                                 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
1516                                             </tag>
1517                                         </tags>
1518                                     </build>
1519                                 </image>
1520                             </images>
1521                         </configuration>
1522                         <executions>
1523                             <execution>
1524                                 <id>clean-images</id>
1525                                 <phase>pre-clean</phase>
1526                                 <goals>
1527                                     <goal>remove</goal>
1528                                 </goals>
1529                                 <configuration>
1530                                     <removeAll>true</removeAll>
1531                                     <image>${docker.namespace}/sdc-backend,onap/sdc-backend-init</image>
1532                                 </configuration>
1533                             </execution>
1534
1535                             <execution>
1536                                 <id>generate-images</id>
1537                                 <phase>install</phase>
1538                                 <goals>
1539                                     <goal>build</goal>
1540                                 </goals>
1541                             </execution>
1542
1543                             <execution>
1544                                 <id>push-images</id>
1545                                 <phase>deploy</phase>
1546                                 <goals>
1547                                     <goal>push</goal>
1548                                 </goals>
1549                                 <configuration>
1550                                     <image>${docker.namespace}/sdc-backend,onap/sdc-backend-init</image>
1551                                 </configuration>
1552                             </execution>
1553                         </executions>
1554                     </plugin>
1555                 </plugins>
1556             </build>
1557         </profile>
1558     </profiles>
1559 </project>