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