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