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