Remove vulnerable dependency
[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                     <groupId>org.apache.tinkerpop</groupId>
478                     <artifactId>gremlin-groovy</artifactId>
479                 </exclusion>
480                 <exclusion>
481                     <groupId>org.apache.tinkerpop</groupId>
482                     <artifactId>gremlin-core</artifactId>
483                 </exclusion>
484                 <exclusion>
485                     <groupId>org.json</groupId>
486                     <artifactId>json</artifactId>
487                 </exclusion>
488                 <exclusion>
489                     <artifactId>slf4j-log4j12</artifactId>
490                     <groupId>org.slf4j</groupId>
491                 </exclusion>
492                 <exclusion>
493                     <artifactId>commons-collections</artifactId>
494                     <groupId>commons-collections</groupId>
495                 </exclusion>
496                 <exclusion>
497                     <groupId>org.apache.thrift</groupId>
498                     <artifactId>libthrift</artifactId>
499                 </exclusion>
500                 <exclusion>
501                     <groupId>commons-io</groupId>
502                     <artifactId>commons-io</artifactId>
503                 </exclusion>
504                 <exclusion>
505                     <groupId>commons-codec</groupId>
506                     <artifactId>commons-codec</artifactId>
507                 </exclusion>
508                 <exclusion>
509                     <groupId>dom4j</groupId>
510                     <artifactId>dom4j</artifactId>
511                 </exclusion>
512                 <exclusion>
513                     <groupId>org.slf4j</groupId>
514                     <artifactId>jcl-over-slf4j</artifactId>
515                 </exclusion>
516             </exclusions>
517         </dependency>
518
519         <dependency>
520             <groupId>org.janusgraph</groupId>
521             <artifactId>janusgraph-cql</artifactId>
522             <version>${janusgraph.version}</version>
523             <scope>compile</scope>
524             <exclusions>
525                 <exclusion>
526                     <groupId>org.slf4j</groupId>
527                     <artifactId>slf4j-log4j12</artifactId>
528                 </exclusion>
529                 <exclusion>
530                     <groupId>org.json</groupId>
531                     <artifactId>json</artifactId>
532                 </exclusion>
533                 <exclusion>
534                     <artifactId>commons-collections</artifactId>
535                     <groupId>commons-collections</groupId>
536                 </exclusion>
537                 <exclusion>
538                     <artifactId>groovy</artifactId>
539                     <groupId>org.codehaus.groovy</groupId>
540                 </exclusion>
541                 <exclusion>
542                     <groupId>io.netty</groupId>
543                     <artifactId>netty-all</artifactId>
544                 </exclusion>
545             </exclusions>
546         </dependency>
547
548         <dependency>
549             <groupId>org.apache.commons</groupId>
550             <artifactId>commons-lang3</artifactId>
551             <version>${lang3.version}</version>
552             <scope>compile</scope>
553         </dependency>
554
555         <dependency>
556             <groupId>com.googlecode.json-simple</groupId>
557             <artifactId>json-simple</artifactId>
558             <version>${json-simple.version}</version>
559             <scope>compile</scope>
560
561         </dependency>
562
563         <!-- functional java -->
564         <dependency>
565             <groupId>org.functionaljava</groupId>
566             <artifactId>functionaljava</artifactId>
567             <version>${functionaljava.version}</version>
568             <scope>compile</scope>
569         </dependency>
570
571         <!-- Aspects -->
572         <dependency>
573             <groupId>com.jcabi</groupId>
574             <artifactId>jcabi-aspects</artifactId>
575             <version>${jcabi.version}</version>
576             <scope>compile</scope>
577         </dependency>
578
579         <dependency>
580             <groupId>org.aspectj</groupId>
581             <artifactId>aspectjrt</artifactId>
582             <version>${aspectjrt.version}</version>
583             <scope>compile</scope>
584         </dependency>
585
586
587         <!-- CAMBRIA CLIENT for U-EB -->
588         <dependency>
589             <groupId>com.att.nsa</groupId>
590             <artifactId>cambriaClient</artifactId>
591             <version>1.2.1-oss</version>
592             <scope>compile</scope>
593             <exclusions>
594                 <exclusion>
595                     <groupId>com.att.nsa</groupId>
596                     <artifactId>saClientLibrary</artifactId>
597                 </exclusion>
598             </exclusions>
599         </dependency>
600
601         <dependency>
602             <groupId>org.json</groupId>
603             <artifactId>json</artifactId>
604             <version>${org.json.version}</version>
605         </dependency>
606
607         <!-- CASSANDRA -->
608         <dependency>
609             <groupId>com.datastax.cassandra</groupId>
610             <artifactId>cassandra-driver-core</artifactId>
611             <version>${cassandra.driver.version}</version>
612             <scope>compile</scope>
613             <exclusions>
614                 <exclusion>
615                     <groupId>com.github.jnr</groupId>
616                     <artifactId>jnr-posix</artifactId>
617                 </exclusion>
618             </exclusions>
619         </dependency>
620         <dependency>
621             <groupId>com.datastax.cassandra</groupId>
622             <artifactId>cassandra-driver-mapping</artifactId>
623             <version>${cassandra.driver.version}</version>
624             <scope>compile</scope>
625         </dependency>
626         <!-- CASSANDRA END -->
627
628         <!-- Inserted for ECOMP Portal Integration -->
629         <dependency>
630             <groupId>org.owasp.esapi</groupId>
631             <artifactId>esapi</artifactId>
632             <version>${org.owasp.esapi.version}</version>
633             <exclusions>
634                 <exclusion>
635                     <groupId>log4j</groupId>
636                     <artifactId>log4j</artifactId>
637                 </exclusion>
638                 <exclusion>
639                     <groupId>commons-io</groupId>
640                     <artifactId>commons-io</artifactId>
641                 </exclusion>
642                 <exclusion>
643                     <groupId>commons-fileupload</groupId>
644                     <artifactId>commons-fileupload</artifactId>
645                 </exclusion>
646                 <exclusion>
647                     <groupId>org.apache.xmlgraphics</groupId>
648                     <artifactId>xmlgraphics-commons</artifactId>
649                 </exclusion>
650                 <exclusion>
651                     <groupId>xml-apis</groupId>
652                     <artifactId>xml-apis-ext</artifactId>
653                 </exclusion>
654                 <exclusion>
655                     <groupId>xml-apis</groupId>
656                     <artifactId>xml-apis</artifactId>
657                 </exclusion>
658                 <exclusion>
659                     <groupId>xerces</groupId>
660                     <artifactId>xercesImpl</artifactId>
661                 </exclusion>
662                 <exclusion>
663                     <groupId>net.sourceforge.nekohtml</groupId>
664                     <artifactId>nekohtml</artifactId>
665                 </exclusion>
666             </exclusions>
667         </dependency>
668         <dependency>
669             <groupId>org.onap.portal.sdk</groupId>
670             <artifactId>epsdk-fw</artifactId>
671             <version>${ecomp.version}</version>
672             <scope>compile</scope>
673             <exclusions>
674                 <exclusion>
675                     <groupId>com.att.nsa</groupId>
676                     <artifactId>cambriaClient</artifactId>
677                 </exclusion>
678                 <exclusion>
679                     <artifactId>slf4j-log4j12</artifactId>
680                     <groupId>org.slf4j</groupId>
681                 </exclusion>
682                 <exclusion>
683                     <groupId>org.onap.aaf.authz</groupId>
684                     <artifactId>aaf-cadi-aaf</artifactId>
685                 </exclusion>
686                 <exclusion>
687                     <artifactId>aaf-cadi-core</artifactId>
688                     <groupId>org.onap.aaf.authz</groupId>
689                 </exclusion>
690                 <exclusion>
691                     <artifactId>commons-codec</artifactId>
692                     <groupId>commons-codec</groupId>
693                 </exclusion>
694                 <exclusion>
695                     <artifactId>log4j</artifactId>
696                     <groupId>log4j</groupId>
697                 </exclusion>
698             </exclusions>
699         </dependency>
700
701         <!--Jetty Proxy-->
702         <dependency>
703             <groupId>org.eclipse.jetty</groupId>
704             <artifactId>jetty-http</artifactId>
705             <version>${jetty.version}</version>
706             <scope>compile</scope>
707         </dependency>
708
709         <dependency>
710             <groupId>org.eclipse.jetty</groupId>
711             <artifactId>jetty-proxy</artifactId>
712             <version>${jetty.version}</version>
713             <scope>compile</scope>
714             <exclusions>
715                 <exclusion>
716                     <groupId>org.eclipse.jetty</groupId>
717                     <artifactId>jetty-http</artifactId>
718                 </exclusion>
719             </exclusions>
720         </dependency>
721
722         <dependency>
723             <groupId>org.eclipse.jetty</groupId>
724             <artifactId>jetty-servlets</artifactId>
725             <version>${jetty.version}</version>
726             <scope>compile</scope>
727             <exclusions>
728                 <exclusion>
729                     <groupId>org.eclipse.jetty</groupId>
730                     <artifactId>jetty-http</artifactId>
731                 </exclusion>
732                 <exclusion>
733                     <groupId>org.eclipse.jetty</groupId>
734                     <artifactId>jetty-continuation</artifactId>
735                 </exclusion>
736             </exclusions>
737         </dependency>
738         <!-- System metrics -->
739         <dependency>
740             <groupId>org.fusesource</groupId>
741             <artifactId>sigar</artifactId>
742             <version>${sigar.version}</version>
743             <scope>compile</scope>
744             <exclusions>
745                 <exclusion>
746                     <groupId>log4j</groupId>
747                     <artifactId>log4j</artifactId>
748                 </exclusion>
749             </exclusions>
750         </dependency>
751         <dependency>
752             <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
753             <artifactId>dmaapClient</artifactId>
754             <version>1.1.3</version>
755             <scope>compile</scope>
756             <exclusions>
757                 <exclusion>
758                     <groupId>com.att.aft</groupId>
759                     <artifactId>dme2</artifactId>
760                 </exclusion>
761                 <exclusion>
762                     <groupId>com.fasterxml.jackson.core</groupId>
763                     <artifactId>jackson-core</artifactId>
764                 </exclusion>
765                 <exclusion>
766                     <artifactId>log4j</artifactId>
767                     <groupId>log4j</groupId>
768                 </exclusion>
769                 <exclusion>
770                     <artifactId>apache-log4j-extras</artifactId>
771                     <groupId>log4j</groupId>
772                 </exclusion>
773                 <exclusion>
774                     <groupId>org.apache.httpcomponents</groupId>
775                     <artifactId>httpclient-cache</artifactId>
776                 </exclusion>
777             </exclusions>
778         </dependency>
779         <dependency>
780             <groupId>com.att.aft</groupId>
781             <artifactId>dme2</artifactId>
782             <version>3.1.200-oss</version>
783             <exclusions>
784                 <exclusion>
785                     <groupId>javax.jms</groupId>
786                     <artifactId>jms</artifactId>
787                 </exclusion>
788             </exclusions>
789         </dependency>
790
791         <!-- CADI -->
792         <dependency>
793             <groupId>org.onap.aaf.authz</groupId>
794             <artifactId>aaf-cadi-aaf</artifactId>
795             <version>${cadi.version}</version>
796             <exclusions>
797                 <exclusion>
798                     <groupId>com.datastax.cassandra</groupId>
799                     <artifactId>cassandra-driver-core</artifactId>
800                 </exclusion>
801                 <exclusion>
802                     <groupId>org.slf4j</groupId>
803                     <artifactId>slf4j-log4j12</artifactId>
804                 </exclusion>
805                 <exclusion>
806                     <artifactId>log4j</artifactId>
807                     <groupId>log4j</groupId>
808                 </exclusion>
809             </exclusions>
810         </dependency>
811
812         <!-- TEST -->
813         <dependency>
814             <groupId>org.assertj</groupId>
815             <artifactId>assertj-core</artifactId>
816             <scope>test</scope>
817         </dependency>
818
819         <dependency>
820             <groupId>org.glassfish.jersey.test-framework.providers</groupId>
821             <artifactId>jersey-test-framework-provider-bundle</artifactId>
822             <version>${jersey-bom.version}</version>
823             <type>pom</type>
824             <scope>test</scope>
825             <exclusions>
826                 <exclusion>
827                     <groupId>org.eclipse.jetty</groupId>
828                     <artifactId>jetty-server</artifactId>
829                 </exclusion>
830                 <exclusion>
831                     <groupId>org.eclipse.jetty</groupId>
832                     <artifactId>jetty-continuation</artifactId>
833                 </exclusion>
834             </exclusions>
835         </dependency>
836
837         <dependency>
838             <groupId>org.glassfish.jersey.core</groupId>
839             <artifactId>jersey-client</artifactId>
840             <version>${jersey-bom.version}</version>
841         </dependency>
842
843         <dependency>
844             <groupId>org.eclipse.jetty</groupId>
845             <artifactId>jetty-webapp</artifactId>
846             <version>${jetty.version}</version>
847             <scope>test</scope>
848             <exclusions>
849                 <exclusion>
850                     <groupId>org.eclipse.jetty</groupId>
851                     <artifactId>jetty-servlet</artifactId>
852                 </exclusion>
853             </exclusions>
854         </dependency>
855
856         <dependency>
857             <groupId>org.hamcrest</groupId>
858             <artifactId>hamcrest</artifactId>
859             <version>${hamcrest.version}</version>
860             <scope>test</scope>
861         </dependency>
862
863         <dependency>
864             <groupId>org.hamcrest</groupId>
865             <artifactId>hamcrest-library</artifactId>
866             <version>${hamcrest.version}</version>
867             <scope>test</scope>
868         </dependency>
869
870         <dependency>
871             <groupId>org.junit.jupiter</groupId>
872             <artifactId>junit-jupiter-api</artifactId>
873             <version>${junitJupiter.version}</version>
874             <scope>test</scope>
875         </dependency>
876
877         <dependency>
878             <groupId>org.junit.jupiter</groupId>
879             <artifactId>junit-jupiter</artifactId>
880             <version>${junitJupiter.version}</version>
881             <scope>test</scope>
882         </dependency>
883
884         <dependency>
885             <groupId>org.junit.platform</groupId>
886             <artifactId>junit-platform-commons</artifactId>
887             <version>${junit.platform.version}</version>
888             <scope>test</scope>
889         </dependency>
890         <dependency>
891             <groupId>org.junit.platform</groupId>
892             <artifactId>junit-platform-engine</artifactId>
893             <version>${junit.platform.version}</version>
894             <scope>test</scope>
895         </dependency>
896         <dependency>
897             <groupId>org.mockito</groupId>
898             <artifactId>mockito-junit-jupiter</artifactId>
899             <version>${mockitoJupiter.version}</version>
900             <scope>test</scope>
901         </dependency>
902
903         <dependency>
904             <groupId>org.springframework</groupId>
905             <artifactId>spring-test</artifactId>
906             <version>${spring.version}</version>
907             <scope>test</scope>
908         </dependency>
909
910         <dependency>
911             <groupId>org.springframework</groupId>
912             <artifactId>spring-tx</artifactId>
913             <version>${spring.version}</version>
914             <exclusions>
915                 <exclusion>
916                     <groupId>org.springframework</groupId>
917                     <artifactId>spring-core</artifactId>
918                 </exclusion>
919             </exclusions>
920         </dependency>
921
922         <dependency>
923             <groupId>io.cucumber</groupId>
924             <artifactId>cucumber-java</artifactId>
925             <version>${cucumber.version}</version>
926             <scope>test</scope>
927         </dependency>
928
929         <dependency>
930             <groupId>io.cucumber</groupId>
931             <artifactId>cucumber-junit</artifactId>
932             <version>${cucumber.version}</version>
933             <scope>test</scope>
934         </dependency>
935
936         <dependency>
937             <groupId>org.jmockit</groupId>
938             <artifactId>jmockit</artifactId>
939             <version>${jmockit.version}</version>
940             <scope>test</scope>
941         </dependency>
942
943         <dependency>
944             <groupId>com.google.code.bean-matchers</groupId>
945             <artifactId>bean-matchers</artifactId>
946             <version>0.11</version>
947             <scope>test</scope>
948         </dependency>
949
950         <dependency>
951             <groupId>org.codehaus.groovy</groupId>
952             <artifactId>groovy</artifactId>
953             <version>${groovy.version}</version>
954         </dependency>
955
956         <dependency>
957             <groupId>io.netty</groupId>
958             <artifactId>netty-handler</artifactId>
959         </dependency>
960         <dependency>
961             <groupId>org.onap.sdc.common</groupId>
962             <artifactId>onap-tosca-datatype</artifactId>
963             <version>${project.version}</version>
964             <exclusions>
965                 <exclusion>
966                     <groupId>com.fasterxml.jackson.core</groupId>
967                     <artifactId>jackson-core</artifactId>
968                 </exclusion>
969             </exclusions>
970         </dependency>
971         <dependency>
972             <groupId>org.apache.commons</groupId>
973             <artifactId>commons-collections4</artifactId>
974             <version>${commons.collections.version}</version>
975         </dependency>
976         <dependency>
977             <groupId>org.springframework.boot</groupId>
978             <artifactId>spring-boot-starter</artifactId>
979             <version>${spring.boot.version}</version>
980         </dependency>
981         <dependency>
982             <groupId>org.onap.sdc.sdc-be-common</groupId>
983             <artifactId>security-util-lib</artifactId>
984             <version>${security.util.lib.version}</version>
985             <exclusions>
986                 <exclusion>
987                     <groupId>org.springframework.boot</groupId>
988                     <artifactId>spring-boot-starter-logging</artifactId>
989                 </exclusion>
990                 <exclusion>
991                     <groupId>org.springframework.boot</groupId>
992                     <artifactId>spring-boot-starter</artifactId>
993                 </exclusion>
994             </exclusions>
995         </dependency>
996         <dependency>
997             <groupId>org.openecomp.sdc.core</groupId>
998             <artifactId>openecomp-tosca-lib</artifactId>
999             <version>${project.version}</version>
1000             <exclusions>
1001                 <exclusion>
1002                     <groupId>com.fasterxml.jackson.core</groupId>
1003                     <artifactId>jackson-core</artifactId>
1004                 </exclusion>
1005                 <exclusion>
1006                     <groupId>org.springframework</groupId>
1007                     <artifactId>spring-core</artifactId>
1008                 </exclusion>
1009             </exclusions>
1010         </dependency>
1011         <dependency>
1012             <groupId>org.onap.vnfsdk.validation</groupId>
1013             <artifactId>validation-pmdictionary</artifactId>
1014             <version>${onap.vnfsdk.validation.pmdictionary.version}</version>
1015             <exclusions>
1016                 <exclusion>
1017                     <groupId>org.apache.logging.log4j</groupId>
1018                     <artifactId>log4j-slf4j-impl</artifactId>
1019                 </exclusion>
1020             </exclusions>
1021         </dependency>
1022
1023         <dependency>
1024             <groupId>com.googlecode.jmapper-framework</groupId>
1025             <artifactId>jmapper-core</artifactId>
1026             <version>${jMapper.version}</version>
1027             <exclusions>
1028                 <exclusion>
1029                     <groupId>com.thoughtworks.xstream</groupId>
1030                     <artifactId>xstream</artifactId>
1031                 </exclusion>
1032             </exclusions>
1033         </dependency>
1034
1035     </dependencies>
1036
1037     <build>
1038         <finalName>catalog-be</finalName>
1039         <plugins>
1040             <plugin>
1041                 <groupId>org.apache.maven.plugins</groupId>
1042                 <artifactId>maven-surefire-plugin</artifactId>
1043                 <configuration>
1044                     <forkCount>1C</forkCount>
1045                     <reuseForks>false</reuseForks>
1046                 </configuration>
1047             </plugin>
1048             <plugin>
1049                 <!-- Download Swagger UI webjar. -->
1050                 <artifactId>maven-dependency-plugin</artifactId>
1051                 <version>${maven-dependency-plugin.version}</version>
1052                 <executions>
1053                     <execution>
1054                         <phase>prepare-package</phase>
1055                         <goals>
1056                             <goal>unpack</goal>
1057                         </goals>
1058                         <configuration>
1059                             <artifactItems>
1060                                 <artifactItem>
1061                                     <groupId>org.webjars</groupId>
1062                                     <artifactId>swagger-ui</artifactId>
1063                                     <version>${swagger-ui.version}</version>
1064                                 </artifactItem>
1065                             </artifactItems>
1066                             <outputDirectory>${project.build.directory}/swagger-ui</outputDirectory>
1067                         </configuration>
1068                     </execution>
1069                 </executions>
1070             </plugin>
1071             <plugin>
1072                 <!-- Replace the OpenAPI specification example URL with the local one. -->
1073                 <groupId>com.google.code.maven-replacer-plugin</groupId>
1074                 <artifactId>replacer</artifactId>
1075                 <version>${replacer.plugin.version}</version>
1076                 <executions>
1077                     <execution>
1078                         <phase>prepare-package</phase>
1079                         <goals>
1080                             <goal>replace</goal>
1081                         </goals>
1082                     </execution>
1083                 </executions>
1084                 <configuration>
1085                     <file>
1086                         ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}/index.html
1087                     </file>
1088                     <replacements>
1089                         <replacement>
1090                             <token>https://petstore.swagger.io/v2/swagger.json</token>
1091                             <value>/sdc/openapi.json</value>
1092                         </replacement>
1093                     </replacements>
1094                 </configuration>
1095             </plugin>
1096             <plugin>
1097                 <groupId>org.apache.maven.plugins</groupId>
1098                 <artifactId>maven-war-plugin</artifactId>
1099                 <configuration>
1100                     <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
1101                         WEB-INF/classes/elasticsearch.yml,
1102                         WEB-INF/classes/portal.properties
1103                     </packagingExcludes>
1104                     <archive>
1105                         <manifestEntries>
1106                             <SDC-Version>${ui.version}</SDC-Version>
1107                         </manifestEntries>
1108                         <manifest>
1109                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
1110                             <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
1111                         </manifest>
1112                     </archive>
1113                     <attachClasses>true</attachClasses>
1114                     <webResources combine.children="append">
1115                         <resource>
1116                             <directory>
1117                                 ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}
1118                             </directory>
1119                             <includes>
1120                                 <include>**/*.*</include>
1121                             </includes>
1122                             <targetPath>swagger-ui</targetPath>
1123                         </resource>
1124                     </webResources>
1125                 </configuration>
1126             </plugin>
1127             <plugin>
1128                 <groupId>com.github.sylvainlaurent.maven</groupId>
1129                 <artifactId>yaml-json-validator-maven-plugin</artifactId>
1130                 <executions>
1131                     <execution>
1132                         <id>validate</id>
1133                         <phase>validate</phase>
1134                         <goals>
1135                             <goal>validate</goal>
1136                         </goals>
1137                         <configuration>
1138                             <validationSets>
1139                                 <validationSet>
1140                                     <includes>
1141                                         <include>src/main/resources/**/*.y*ml</include>
1142                                         <include>src/test/resources/**/*.y*ml</include>
1143                                     </includes>
1144                                     <excludes>
1145                                         <exclude>
1146                                             src/test/resources/artifacts/pnfSoftwareInformation/**
1147                                         </exclude>
1148                                     </excludes>
1149                                 </validationSet>
1150                                 <validationSet>
1151                                     <includes>
1152                                         <include>src/main/resources/**/*.json</include>
1153                                         <include>src/test/resources/**/*.json</include>
1154                                     </includes>
1155                                 </validationSet>
1156                             </validationSets>
1157                             <skip>${skipYamlJsonValidator}</skip>
1158                         </configuration>
1159                     </execution>
1160                 </executions>
1161             </plugin>
1162             <plugin>
1163                 <groupId>com.jcabi</groupId>
1164                 <artifactId>jcabi-maven-plugin</artifactId>
1165                 <version>${jcabi.maven.plugin.version}</version>
1166                 <dependencies>
1167                     <dependency>
1168                         <groupId>org.aspectj</groupId>
1169                         <artifactId>aspectjtools</artifactId>
1170                         <version>${aspectj.version}</version>
1171                     </dependency>
1172                     <dependency>
1173                         <groupId>org.aspectj</groupId>
1174                         <artifactId>aspectjweaver</artifactId>
1175                         <version>${aspectj.version}</version>
1176                     </dependency>
1177                 </dependencies>
1178                 <executions>
1179                     <execution>
1180                         <goals>
1181                             <goal>ajc</goal>
1182                         </goals>
1183                     </execution>
1184                 </executions>
1185             </plugin>
1186             <plugin>
1187                 <groupId>org.apache.maven.plugins</groupId>
1188                 <artifactId>maven-assembly-plugin</artifactId>
1189                 <executions>
1190                     <execution>
1191                         <id>normatives</id>
1192                         <phase>prepare-package</phase>
1193                         <goals>
1194                             <goal>single</goal>
1195                         </goals>
1196                         <configuration>
1197                             <finalName>normatives</finalName>
1198                             <appendAssemblyId>false</appendAssemblyId>
1199                             <descriptors>
1200                                 <descriptor>src/main/assembly/normatives.xml</descriptor>
1201                             </descriptors>
1202                         </configuration>
1203                     </execution>
1204                 </executions>
1205             </plugin>
1206             <plugin>
1207                 <groupId>org.apache.maven.plugins</groupId>
1208                 <artifactId>maven-clean-plugin</artifactId>
1209                 <executions>
1210                     <execution>
1211                         <id>clean.sdc.backend.folder</id>
1212                         <phase>clean</phase>
1213                         <goals>
1214                             <goal>clean</goal>
1215                         </goals>
1216                         <configuration>
1217                             <filesets>
1218                                 <fileset>
1219                                     <directory>
1220                                         sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
1221                                     </directory>
1222                                     <followSymlinks>false</followSymlinks>
1223                                     <includes>
1224                                         <include>normatives.tar.gz</include>
1225                                     </includes>
1226                                 </fileset>
1227                             </filesets>
1228                         </configuration>
1229                     </execution>
1230                 </executions>
1231             </plugin>
1232             <plugin>
1233                 <groupId>io.swagger.core.v3</groupId>
1234                 <artifactId>swagger-maven-plugin</artifactId>
1235                 <version>${swagger-core-mvn-plugin.version}</version>
1236                 <executions>
1237                     <execution>
1238                         <id>sdce-2-sdce-5</id>
1239                         <phase>compile</phase>
1240                         <goals>
1241                             <goal>resolve</goal>
1242                         </goals>
1243                         <configuration>
1244                             <contextId>sdce-2-sdce-5</contextId>
1245                             <outputPath>${project.build.directory}/generated/swagger</outputPath>
1246                             <outputFileName>swagger-sdce-2-sdce-5</outputFileName>
1247                             <outputFormat>JSON</outputFormat>
1248                             <configurationFilePath>
1249                                 ${project.basedir}/src/main/resources/swagger-config/sdce-2-sdce-5.yaml
1250                             </configurationFilePath>
1251                             <skip>${swagger.skip}</skip>
1252                         </configuration>
1253                     </execution>
1254                     <execution>
1255                         <id>sdce-4</id>
1256                         <phase>compile</phase>
1257                         <goals>
1258                             <goal>resolve</goal>
1259                         </goals>
1260                         <configuration>
1261                             <contextId>sdce-4</contextId>
1262                             <outputPath>${project.build.directory}/generated/swagger</outputPath>
1263                             <outputFileName>swagger-sdce-4</outputFileName>
1264                             <outputFormat>JSON</outputFormat>
1265                             <configurationFilePath>
1266                                 ${project.basedir}/src/main/resources/swagger-config/sdce-4.yaml
1267                             </configurationFilePath>
1268                             <skip>${swagger.skip}</skip>
1269                         </configuration>
1270                     </execution>
1271                     <execution>
1272                         <id>sdce-6</id>
1273                         <phase>compile</phase>
1274                         <goals>
1275                             <goal>resolve</goal>
1276                         </goals>
1277                         <configuration>
1278                             <contextId>sdce-6</contextId>
1279                             <outputPath>${project.build.directory}/generated/swagger</outputPath>
1280                             <outputFileName>swagger-sdce-6</outputFileName>
1281                             <outputFormat>JSON</outputFormat>
1282                             <configurationFilePath>
1283                                 ${project.basedir}/src/main/resources/swagger-config/sdce-6.yaml
1284                             </configurationFilePath>
1285                             <skip>${swagger.skip}</skip>
1286                         </configuration>
1287                     </execution>
1288                     <execution>
1289                         <id>sdce-7</id>
1290                         <phase>compile</phase>
1291                         <goals>
1292                             <goal>resolve</goal>
1293                         </goals>
1294                         <configuration>
1295                             <contextId>sdce-7</contextId>
1296                             <outputPath>${project.build.directory}/generated/swagger</outputPath>
1297                             <outputFileName>swagger-sdce-7</outputFileName>
1298                             <outputFormat>JSON</outputFormat>
1299                             <configurationFilePath>
1300                                 ${project.basedir}/src/main/resources/swagger-config/sdce-7.yaml
1301                             </configurationFilePath>
1302                             <skip>${swagger.skip}</skip>
1303                         </configuration>
1304                     </execution>
1305                 </executions>
1306             </plugin>
1307         </plugins>
1308
1309         <pluginManagement>
1310             <plugins>
1311                 <!--This plugin's configuration is used to store Eclipse m2e settings
1312                     only. It has no influence on the Maven build itself. -->
1313                 <plugin>
1314                     <groupId>org.eclipse.m2e</groupId>
1315                     <artifactId>lifecycle-mapping</artifactId>
1316                     <version>1.0.0</version>
1317                     <configuration>
1318                         <lifecycleMappingMetadata>
1319                             <pluginExecutions>
1320                                 <pluginExecution>
1321                                     <pluginExecutionFilter>
1322                                         <groupId>com.googlecode.maven-download-plugin</groupId>
1323                                         <artifactId>download-maven-plugin</artifactId>
1324                                         <versionRange>[1.2.1,)</versionRange>
1325                                         <goals>
1326                                             <goal>wget</goal>
1327                                         </goals>
1328                                     </pluginExecutionFilter>
1329                                 </pluginExecution>
1330
1331                                 <pluginExecution>
1332                                     <pluginExecutionFilter>
1333                                         <groupId>com.jcabi</groupId>
1334                                         <artifactId>jcabi-maven-plugin</artifactId>
1335                                         <versionRange>[0.0,)</versionRange>
1336                                         <goals>
1337                                             <goal>ajc</goal>
1338                                         </goals>
1339                                     </pluginExecutionFilter>
1340                                     <action>
1341                                         <execute/>
1342                                     </action>
1343                                 </pluginExecution>
1344
1345                             </pluginExecutions>
1346                         </lifecycleMappingMetadata>
1347                     </configuration>
1348                 </plugin>
1349             </plugins>
1350         </pluginManagement>
1351         <!-- Swagger Plugins End -->
1352     </build>
1353
1354     <profiles>
1355         <profile>
1356             <id>docker</id>
1357             <activation>
1358                 <activeByDefault>false</activeByDefault>
1359             </activation>
1360             <build>
1361                 <plugins>
1362                     <plugin>
1363                         <groupId>org.apache.maven.plugins</groupId>
1364                         <artifactId>maven-resources-plugin</artifactId>
1365                         <executions>
1366                             <execution>
1367                                 <id>copy-normatives</id>
1368                                 <phase>package</phase>
1369                                 <goals>
1370                                     <goal>copy-resources</goal>
1371                                 </goals>
1372                                 <configuration>
1373                                     <outputDirectory>
1374                                         sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
1375                                     </outputDirectory>
1376                                     <resources>
1377                                         <resource>
1378                                             <directory>${project.build.directory}</directory>
1379                                             <includes>
1380                                                 <include>normatives.tar.gz</include>
1381                                             </includes>
1382                                         </resource>
1383                                     </resources>
1384                                 </configuration>
1385                             </execution>
1386                             <execution>
1387                                 <id>copy-sdc-be-py</id>
1388                                 <phase>verify</phase>
1389                                 <goals>
1390                                     <goal>copy-resources</goal>
1391                                 </goals>
1392                                 <configuration>
1393                                     <outputDirectory>
1394                                         sdc-backend-init/
1395                                     </outputDirectory>
1396                                     <resources>
1397                                         <resource>
1398                                             <directory>
1399                                                 ${project.parent.basedir}/catalog-be/src/main/resources/
1400                                             </directory>
1401                                             <includes>
1402                                                 <include>scripts/sdcBePy/**</include>
1403                                                 <inculde>scripts/setup.py</inculde>
1404                                             </includes>
1405                                         </resource>
1406                                     </resources>
1407                                 </configuration>
1408                             </execution>
1409                         </executions>
1410                     </plugin>
1411                     <plugin>
1412                         <groupId>io.fabric8</groupId>
1413                         <artifactId>docker-maven-plugin</artifactId>
1414                         <configuration>
1415                             <verbose>${verbose}</verbose>
1416                             <apiVersion>${docker.api.version}</apiVersion>
1417                             <registry>${docker.registry}</registry>
1418                             <authConfig>
1419                                 <pull>
1420                                     <username>${docker.username}</username>
1421                                     <password>${docker.password}</password>
1422                                 </pull>
1423                             </authConfig>
1424                             <images>
1425
1426                                 <!-- Build backend image -->
1427                                 <image>
1428                                     <name>${docker.namespace}/sdc-backend</name>
1429                                     <alias>sdc-backend</alias>
1430                                     <build>
1431                                         <cleanup>try</cleanup>
1432                                         <dockerFileDir>backend</dockerFileDir>
1433                                         <tags>
1434                                             <tag>latest</tag>
1435                                             <tag>
1436                                                 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1437                                             </tag>
1438                                             <tag>
1439                                                 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
1440                                             </tag>
1441                                         </tags>
1442                                         <assembly>
1443                                             <descriptor>backend/backend-files.xml</descriptor>
1444                                             <name>onap-sdc-backend</name>
1445                                         </assembly>
1446                                     </build>
1447                                 </image>
1448                                 <!-- Build backend-init image -->
1449                                 <image>
1450                                     <name>${docker.namespace}/sdc-backend-init</name>
1451                                     <alias>sdc-backend-init</alias>
1452                                     <build>
1453                                         <cleanup>try</cleanup>
1454                                         <dockerFileDir>${project.basedir}/sdc-backend-init
1455                                         </dockerFileDir>
1456                                         <tags>
1457                                             <tag>latest</tag>
1458                                             <tag>
1459                                                 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1460                                             </tag>
1461                                             <tag>
1462                                                 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
1463                                             </tag>
1464                                         </tags>
1465                                     </build>
1466                                 </image>
1467                             </images>
1468                         </configuration>
1469                         <executions>
1470                             <execution>
1471                                 <id>clean-images</id>
1472                                 <phase>pre-clean</phase>
1473                                 <goals>
1474                                     <goal>remove</goal>
1475                                 </goals>
1476                                 <configuration>
1477                                     <removeAll>true</removeAll>
1478                                     <image>${docker.namespace}/sdc-backend,onap/sdc-backend-init</image>
1479                                 </configuration>
1480                             </execution>
1481
1482                             <execution>
1483                                 <id>generate-images</id>
1484                                 <phase>install</phase>
1485                                 <goals>
1486                                     <goal>build</goal>
1487                                 </goals>
1488                             </execution>
1489
1490                             <execution>
1491                                 <id>push-images</id>
1492                                 <phase>deploy</phase>
1493                                 <goals>
1494                                     <goal>push</goal>
1495                                 </goals>
1496                                 <configuration>
1497                                     <image>${docker.namespace}/sdc-backend,onap/sdc-backend-init</image>
1498                                 </configuration>
1499                             </execution>
1500                         </executions>
1501                     </plugin>
1502                 </plugins>
1503             </build>
1504         </profile>
1505     </profiles>
1506 </project>