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