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