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