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