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