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