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