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