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