Replace outdated dependency - org.apache.commons:commons-jci-core:jar:1.1
[sdc.git] / catalog-dao / pom.xml
1 <!--
2 ============LICENSE_START=======================================================
3 SDC
4 ================================================================================
5 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10         *
11      http://www.apache.org/licenses/LICENSE-2.0
12         *
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ============LICENSE_END=========================================================
19 Modifications copyright (c) 2018 Nokia
20 ================================================================================
21 -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0"
23   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25   <modelVersion>4.0.0</modelVersion>
26
27   <groupId>org.openecomp.sdc.be</groupId>
28   <artifactId>catalog-dao</artifactId>
29
30   <parent>
31     <groupId>org.openecomp.sdc</groupId>
32     <artifactId>sdc-main</artifactId>
33     <version>1.13.2-SNAPSHOT</version>
34   </parent>
35
36   <properties>
37     <thrift.version>0.13.0</thrift.version>
38     <cassandra-all.version>3.11.10</cassandra-all.version>
39   </properties>
40   <dependencies>
41
42     <!-- Common of SDC -->
43     <dependency>
44       <groupId>org.eclipse.jetty</groupId>
45       <artifactId>jetty-server</artifactId>
46       <version>${jetty.version}</version>
47       <scope>compile</scope>
48       <exclusions>
49         <exclusion>
50           <groupId>org.eclipse.jetty</groupId>
51           <artifactId>jetty-http</artifactId>
52         </exclusion>
53         <exclusion>
54           <groupId>javax.servlet</groupId>
55           <artifactId>javax.servlet-api</artifactId>
56         </exclusion>
57       </exclusions>
58     </dependency>
59     <dependency>
60       <groupId>org.eclipse.jetty</groupId>
61       <artifactId>jetty-servlet</artifactId>
62       <version>${jetty.version}</version>
63       <scope>compile</scope>
64       <exclusions>
65         <exclusion>
66           <groupId>org.eclipse.jetty</groupId>
67           <artifactId>jetty-security</artifactId>
68         </exclusion>
69       </exclusions>
70     </dependency>
71     <dependency>
72       <groupId>org.openecomp.sdc</groupId>
73       <artifactId>common-app-api</artifactId>
74       <version>${project.version}</version>
75       <scope>provided</scope>
76       <exclusions>
77         <exclusion>
78           <groupId>org.apache.httpcomponents</groupId>
79           <artifactId>httpcore</artifactId>
80         </exclusion>
81         <exclusion>
82           <groupId>org.functionaljava</groupId>
83           <artifactId>functionaljava</artifactId>
84         </exclusion>
85       </exclusions>
86     </dependency>
87
88     <dependency>
89       <groupId>org.openecomp.sdc.be</groupId>
90       <artifactId>common-be</artifactId>
91       <version>${project.version}</version>
92       <scope>provided</scope>
93       <exclusions>
94         <exclusion>
95           <groupId>org.springframework</groupId>
96           <artifactId>spring-core</artifactId>
97         </exclusion>
98       </exclusions>
99     </dependency>
100
101     <dependency>
102       <groupId>ch.qos.logback</groupId>
103       <artifactId>logback-classic</artifactId>
104       <version>${logback.version}</version>
105       <scope>provided</scope>
106     </dependency>
107
108     <!-- SPRING -->
109     <dependency>
110       <groupId>org.springframework</groupId>
111       <artifactId>spring-context</artifactId>
112       <version>${spring.version}</version>
113       <scope>provided</scope>
114       <exclusions>
115         <exclusion>
116           <groupId>org.springframework</groupId>
117           <artifactId>spring-expression</artifactId>
118         </exclusion>
119         <exclusion>
120           <groupId>org.springframework</groupId>
121           <artifactId>spring-core</artifactId>
122         </exclusion>
123       </exclusions>
124     </dependency>
125
126     <dependency>
127       <groupId>org.springframework</groupId>
128       <artifactId>spring-core</artifactId>
129       <version>${spring.version}</version>
130       <scope>provided</scope>
131     </dependency>
132
133     <dependency>
134       <groupId>org.springframework</groupId>
135       <artifactId>spring-context-support</artifactId>
136       <version>${spring.version}</version>
137       <scope>provided</scope>
138     </dependency>
139
140     <dependency>
141       <groupId>org.springframework</groupId>
142       <artifactId>spring-beans</artifactId>
143       <version>${spring.version}</version>
144       <scope>provided</scope>
145     </dependency>
146
147     <dependency>
148       <groupId>org.aspectj</groupId>
149       <artifactId>aspectjrt</artifactId>
150       <version>${aspectj.version}</version>
151     </dependency>
152
153     <dependency>
154       <groupId>org.aspectj</groupId>
155       <artifactId>aspectjweaver</artifactId>
156       <version>${aspectj.version}</version>
157     </dependency>
158
159     <dependency>
160       <groupId>org.springframework</groupId>
161       <artifactId>spring-aop</artifactId>
162       <version>${spring.version}</version>
163       <exclusions>
164         <exclusion>
165           <groupId>org.springframework</groupId>
166           <artifactId>spring-core</artifactId>
167         </exclusion>
168       </exclusions>
169     </dependency>
170
171     <dependency>
172       <groupId>org.springframework</groupId>
173       <artifactId>spring-tx</artifactId>
174       <version>${spring.version}</version>
175       <exclusions>
176         <exclusion>
177           <groupId>org.springframework</groupId>
178           <artifactId>spring-core</artifactId>
179         </exclusion>
180       </exclusions>
181     </dependency>
182
183     <dependency>
184       <groupId>com.fasterxml.jackson.core</groupId>
185       <artifactId>jackson-databind</artifactId>
186       <version>${jackson.version}</version>
187       <exclusions>
188         <exclusion>
189           <groupId>com.fasterxml.jackson.core</groupId>
190           <artifactId>jackson-core</artifactId>
191         </exclusion>
192       </exclusions>
193     </dependency>
194
195     <dependency>
196       <groupId>com.fasterxml.jackson.core</groupId>
197       <artifactId>jackson-core</artifactId>
198       <version>${jackson.version}</version>
199     </dependency>
200
201     <dependency>
202       <groupId>com.googlecode.json-simple</groupId>
203       <artifactId>json-simple</artifactId>
204       <version>${json-simple.version}</version>
205       <scope>provided</scope>
206       <exclusions>
207         <exclusion>
208           <groupId>junit</groupId>
209           <artifactId>junit</artifactId>
210         </exclusion>
211       </exclusions>
212     </dependency>
213
214     <dependency>
215       <groupId>com.google.code.bean-matchers</groupId>
216       <artifactId>bean-matchers</artifactId>
217       <version>${bean-matchers.version}</version>
218       <scope>test</scope>
219     </dependency>
220
221     <dependency>
222       <groupId>org.yaml</groupId>
223       <artifactId>snakeyaml</artifactId>
224       <version>${snakeyaml.version}</version>
225       <scope>provided</scope>
226     </dependency>
227
228     <dependency>
229       <groupId>com.google.code.gson</groupId>
230       <artifactId>gson</artifactId>
231       <version>${gson.version}</version>
232       <scope>provided</scope>
233     </dependency>
234
235     <dependency>
236       <groupId>org.functionaljava</groupId>
237       <artifactId>functionaljava</artifactId>
238       <version>${functionaljava.version}</version>
239       <scope>provided</scope>
240     </dependency>
241
242     <!-- http client -->
243     <dependency>
244       <groupId>org.apache.httpcomponents.client5</groupId>
245       <artifactId>httpclient5</artifactId>
246       <version>${httpclient.version}</version>
247       <scope>provided</scope>
248       <exclusions>
249         <exclusion>
250           <groupId>commons-codec</groupId>
251           <artifactId>commons-codec</artifactId>
252         </exclusion>
253         <exclusion>
254           <groupId>org.apache.httpcomponents</groupId>
255           <artifactId>httpcore</artifactId>
256         </exclusion>
257       </exclusions>
258     </dependency>
259
260     <dependency>
261       <groupId>org.apache.httpcomponents</groupId>
262       <artifactId>httpcore</artifactId>
263       <version>${httpcore.version}</version>
264       <scope>provided</scope>
265     </dependency>
266
267     <dependency>
268       <groupId>com.google.guava</groupId>
269       <artifactId>guava</artifactId>
270       <version>${guava.version}</version>
271       <scope>provided</scope>
272     </dependency>
273
274     <!-- TEST -->
275     <dependency>
276       <groupId>org.assertj</groupId>
277       <artifactId>assertj-core</artifactId>
278       <scope>test</scope>
279     </dependency>
280
281     <dependency>
282       <groupId>org.springframework</groupId>
283       <artifactId>spring-test</artifactId>
284       <version>${spring.version}</version>
285       <scope>test</scope>
286     </dependency>
287
288     <dependency>
289       <groupId>org.junit.jupiter</groupId>
290       <artifactId>junit-jupiter</artifactId>
291       <version>${junitJupiter.version}</version>
292       <scope>test</scope>
293     </dependency>
294
295     <dependency>
296       <groupId>org.mockito</groupId>
297       <artifactId>mockito-junit-jupiter</artifactId>
298       <version>${mockitoJupiter.version}</version>
299       <scope>test</scope>
300     </dependency>
301
302     <dependency>
303       <groupId>org.springframework</groupId>
304       <artifactId>spring-expression</artifactId>
305       <version>${spring.version}</version>
306       <scope>test</scope>
307     </dependency>
308
309     <dependency>
310       <groupId>org.apache.tinkerpop</groupId>
311       <artifactId>gremlin-core</artifactId>
312       <version>3.4.13</version>
313     </dependency>
314     <dependency>
315       <groupId>org.janusgraph</groupId>
316       <artifactId>janusgraph-core</artifactId>
317       <version>${janusgraph.version}</version>
318       <scope>provided</scope>
319       <exclusions>
320         <exclusion>
321           <groupId>org.apache.tinkerpop</groupId>
322           <artifactId>gremlin-groovy</artifactId>
323         </exclusion>
324         <exclusion>
325           <groupId>org.apache.tinkerpop</groupId>
326           <artifactId>gremlin-core</artifactId>
327         </exclusion>
328         <exclusion>
329           <groupId>org.json</groupId>
330           <artifactId>json</artifactId>
331         </exclusion>
332         <exclusion>
333           <artifactId>slf4j-log4j12</artifactId>
334           <groupId>org.slf4j</groupId>
335         </exclusion>
336         <exclusion>
337           <artifactId>commons-collections</artifactId>
338           <groupId>commons-collections</groupId>
339         </exclusion>
340         <exclusion>
341           <artifactId>groovy</artifactId>
342           <groupId>org.codehaus.groovy</groupId>
343         </exclusion>
344         <exclusion>
345           <groupId>commons-io</groupId>
346           <artifactId>commons-io</artifactId>
347         </exclusion>
348         <exclusion>
349           <groupId>commons-codec</groupId>
350           <artifactId>commons-codec</artifactId>
351         </exclusion>
352         <exclusion>
353           <groupId>dom4j</groupId>
354           <artifactId>dom4j</artifactId>
355         </exclusion>
356         <exclusion>
357           <groupId>org.slf4j</groupId>
358           <artifactId>jcl-over-slf4j</artifactId>
359         </exclusion>
360       </exclusions>
361     </dependency>
362
363     <dependency>
364       <groupId>org.janusgraph</groupId>
365       <artifactId>janusgraph-cassandra</artifactId>
366       <version>${janusgraph.version}</version>
367       <scope>provided</scope>
368       <exclusions>
369         <exclusion>
370           <groupId>joda-time</groupId>
371           <artifactId>joda-time</artifactId>
372         </exclusion>
373         <exclusion>
374           <groupId>org.slf4j</groupId>
375           <artifactId>slf4j-log4j12</artifactId>
376         </exclusion>
377         <exclusion>
378           <groupId>org.apache.thrift</groupId>
379           <artifactId>libthrift</artifactId>
380         </exclusion>
381         <exclusion>
382           <groupId>org.codehaus.jackson</groupId>
383           <artifactId>jackson-mapper-asl</artifactId>
384         </exclusion>
385         <exclusion>
386           <groupId>commons-codec</groupId>
387           <artifactId>commons-codec</artifactId>
388         </exclusion>
389         <exclusion>
390           <groupId>org.hibernate</groupId>
391           <artifactId>hibernate-validator</artifactId>
392         </exclusion>
393         <exclusion>
394           <groupId>javax.validation</groupId>
395           <artifactId>validation-api</artifactId>
396         </exclusion>
397       </exclusions>
398     </dependency>
399
400     <dependency>
401       <groupId>org.apache.commons</groupId>
402       <artifactId>commons-lang3</artifactId>
403       <version>${lang3.version}</version>
404       <scope>provided</scope>
405     </dependency>
406
407     <dependency>
408       <groupId>org.apache.thrift</groupId>
409       <artifactId>libthrift</artifactId>
410       <version>${thrift.version}</version>
411       <scope>test</scope>
412     </dependency>
413
414     <!-- CASSANDRA -->
415     <dependency>
416       <groupId>com.datastax.cassandra</groupId>
417       <artifactId>cassandra-driver-core</artifactId>
418       <version>${cassandra.driver.version}</version>
419       <scope>provided</scope>
420       <exclusions>
421         <exclusion>
422           <groupId>io.netty</groupId>
423           <artifactId>netty-handler</artifactId>
424         </exclusion>
425         <exclusion>
426           <groupId>com.github.jnr</groupId>
427           <artifactId>jnr-posix</artifactId>
428         </exclusion>
429       </exclusions>
430     </dependency>
431     <dependency>
432       <groupId>com.datastax.cassandra</groupId>
433       <artifactId>cassandra-driver-mapping</artifactId>
434       <version>${cassandra.driver.version}</version>
435       <scope>provided</scope>
436     </dependency>
437     <dependency>
438       <groupId>io.netty</groupId>
439       <artifactId>netty-common</artifactId>
440       <version>${netty.version}</version>
441     </dependency>
442     <dependency>
443       <groupId>com.datastax.oss</groupId>
444       <artifactId>java-driver-core</artifactId>
445       <version>${java.driver.core.version}</version>
446       <exclusions>
447         <exclusion>
448           <groupId>org.apache.tinkerpop</groupId>
449           <artifactId>gremlin-driver</artifactId>
450         </exclusion>
451         <exclusion>
452           <groupId>io.netty</groupId>
453           <artifactId>netty-common</artifactId>
454         </exclusion>
455         <exclusion>
456           <groupId>com.github.jnr</groupId>
457           <artifactId>jnr-posix</artifactId>
458         </exclusion>
459       </exclusions>
460     </dependency>
461     <dependency>
462       <groupId>org.cassandraunit</groupId>
463       <artifactId>cassandra-unit</artifactId>
464       <version>${cassandra.unit.version}</version>
465       <scope>test</scope>
466       <exclusions>
467         <exclusion>
468           <groupId>org.apache.cassandra</groupId>
469           <artifactId>cassandra-all</artifactId>
470         </exclusion>
471         <exclusion>
472           <groupId>org.apache.thrift</groupId>
473           <artifactId>libthrift</artifactId>
474         </exclusion>
475         <exclusion>
476           <groupId>net.java.dev.jna</groupId>
477           <artifactId>jna</artifactId>
478         </exclusion>
479         <exclusion>
480           <groupId>junit</groupId>
481           <artifactId>junit</artifactId>
482         </exclusion>
483       </exclusions>
484     </dependency>
485     <dependency>
486       <groupId>org.apache.cassandra</groupId>
487       <artifactId>cassandra-all</artifactId>
488       <version>${cassandra-all.version}</version>
489       <exclusions>
490         <exclusion>
491           <groupId>joda-time</groupId>
492           <artifactId>joda-time</artifactId>
493         </exclusion>
494         <exclusion>
495           <groupId>org.apache.thrift</groupId>
496           <artifactId>libthrift</artifactId>
497         </exclusion>
498         <exclusion>
499           <groupId>org.hibernate</groupId>
500           <artifactId>hibernate-validator</artifactId>
501         </exclusion>
502         <exclusion>
503           <groupId>commons-codec</groupId>
504           <artifactId>commons-codec</artifactId>
505         </exclusion>
506         <exclusion>
507           <groupId>net.java.dev.jna</groupId>
508           <artifactId>jna</artifactId>
509         </exclusion>
510         <exclusion>
511           <groupId>org.slf4j</groupId>
512           <artifactId>log4j-over-slf4j</artifactId>
513         </exclusion>
514         <exclusion>
515           <groupId>org.slf4j</groupId>
516           <artifactId>jcl-over-slf4j</artifactId>
517         </exclusion>
518       </exclusions>
519       <scope>test</scope>
520     </dependency>
521     <dependency>
522       <groupId>net.java.dev.jna</groupId>
523       <artifactId>jna</artifactId>
524       <version>5.10.0</version>
525     </dependency>
526     <!-- CASSANDRA END -->
527
528     <dependency>
529       <groupId>commons-codec</groupId>
530       <artifactId>commons-codec</artifactId>
531       <version>${commons-codec}</version>
532     </dependency>
533
534     <dependency>
535       <groupId>org.apache.groovy</groupId>
536       <artifactId>groovy</artifactId>
537       <version>${groovy.version}</version>
538     </dependency>
539     <dependency>
540       <groupId>org.togglz</groupId>
541       <artifactId>togglz-testing</artifactId>
542       <version>${togglz.version}</version>
543       <scope>test</scope>
544     </dependency>
545   </dependencies>
546
547   <build>
548     <plugins>
549       <plugin>
550         <groupId>org.apache.maven.plugins</groupId>
551         <artifactId>maven-surefire-plugin</artifactId>
552         <configuration>
553           <forkCount>1</forkCount>
554         </configuration>
555       </plugin>
556     </plugins>
557     <pluginManagement>
558       <plugins>
559         <!--This plugin's configuration is used to store Eclipse m2e settings
560           only. It has no influence on the Maven build itself. -->
561         <plugin>
562           <groupId>org.eclipse.m2e</groupId>
563           <artifactId>lifecycle-mapping</artifactId>
564           <version>1.0.0</version>
565           <configuration>
566             <lifecycleMappingMetadata>
567               <pluginExecutions>
568                 <pluginExecution>
569                   <pluginExecutionFilter>
570                     <groupId>fr.fastconnect</groupId>
571                     <artifactId>plantuml-maven-plugin</artifactId>
572                     <versionRange>[1.0.0,)</versionRange>
573                     <goals>
574                       <goal>plant</goal>
575                     </goals>
576                   </pluginExecutionFilter>
577                   <action>
578                     <ignore/>
579                   </action>
580                 </pluginExecution>
581               </pluginExecutions>
582             </lifecycleMappingMetadata>
583           </configuration>
584         </plugin>
585         <plugin>
586           <groupId>com.github.sylvainlaurent.maven</groupId>
587           <artifactId>yaml-json-validator-maven-plugin</artifactId>
588           <executions>
589             <execution>
590               <id>validate</id>
591               <phase>validate</phase>
592               <goals>
593                 <goal>validate</goal>
594               </goals>
595               <configuration>
596                 <validationSets>
597                   <validationSet>
598                     <includes>
599                       <include>src/main/resources/**/*.y*ml</include>
600                       <include>src/test/resources/**/*.y*ml</include>
601                     </includes>
602                   </validationSet>
603                   <validationSet>
604                     <includes>
605                       <include>src/main/resources/**/*.json</include>
606                       <include>src/test/resources/**/*.json</include>
607                     </includes>
608                   </validationSet>
609                 </validationSets>
610                 <skip>${skipYamlJsonValidator}</skip>
611               </configuration>
612             </execution>
613           </executions>
614         </plugin>
615       </plugins>
616     </pluginManagement>
617
618   </build>
619 </project>