Remove unused dependency (functionaljava)
[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.11.6-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.openecomp.sdc</groupId>
45       <artifactId>common-app-api</artifactId>
46       <version>${project.version}</version>
47       <scope>provided</scope>
48       <exclusions>
49         <exclusion>
50           <groupId>org.apache.httpcomponents</groupId>
51           <artifactId>httpcore</artifactId>
52         </exclusion>
53         <exclusion>
54           <groupId>org.functionaljava</groupId>
55           <artifactId>functionaljava</artifactId>
56         </exclusion>
57       </exclusions>
58     </dependency>
59
60     <dependency>
61       <groupId>org.openecomp.sdc.be</groupId>
62       <artifactId>common-be</artifactId>
63       <version>${project.version}</version>
64       <scope>provided</scope>
65       <exclusions>
66         <exclusion>
67           <groupId>org.springframework</groupId>
68           <artifactId>spring-core</artifactId>
69         </exclusion>
70       </exclusions>
71     </dependency>
72
73     <dependency>
74       <groupId>ch.qos.logback</groupId>
75       <artifactId>logback-classic</artifactId>
76       <version>${logback.version}</version>
77       <scope>provided</scope>
78     </dependency>
79
80     <!-- SPRING -->
81     <dependency>
82       <groupId>org.springframework</groupId>
83       <artifactId>spring-context</artifactId>
84       <version>${spring.version}</version>
85       <scope>provided</scope>
86       <exclusions>
87         <exclusion>
88           <groupId>org.springframework</groupId>
89           <artifactId>spring-expression</artifactId>
90         </exclusion>
91         <exclusion>
92           <groupId>org.springframework</groupId>
93           <artifactId>spring-core</artifactId>
94         </exclusion>
95       </exclusions>
96     </dependency>
97
98     <dependency>
99       <groupId>org.springframework</groupId>
100       <artifactId>spring-core</artifactId>
101       <version>${spring.version}</version>
102       <scope>provided</scope>
103     </dependency>
104
105     <dependency>
106       <groupId>org.springframework</groupId>
107       <artifactId>spring-context-support</artifactId>
108       <version>${spring.version}</version>
109       <scope>provided</scope>
110     </dependency>
111
112     <dependency>
113       <groupId>org.springframework</groupId>
114       <artifactId>spring-beans</artifactId>
115       <version>${spring.version}</version>
116       <scope>provided</scope>
117     </dependency>
118
119     <dependency>
120       <groupId>org.aspectj</groupId>
121       <artifactId>aspectjrt</artifactId>
122       <version>${aspectj.version}</version>
123     </dependency>
124
125     <dependency>
126       <groupId>org.aspectj</groupId>
127       <artifactId>aspectjweaver</artifactId>
128       <version>${aspectj.version}</version>
129     </dependency>
130
131     <dependency>
132       <groupId>org.springframework</groupId>
133       <artifactId>spring-aop</artifactId>
134       <version>${spring.version}</version>
135       <exclusions>
136         <exclusion>
137           <groupId>org.springframework</groupId>
138           <artifactId>spring-core</artifactId>
139         </exclusion>
140       </exclusions>
141     </dependency>
142
143     <dependency>
144       <groupId>org.springframework</groupId>
145       <artifactId>spring-tx</artifactId>
146       <version>${spring.version}</version>
147       <exclusions>
148         <exclusion>
149           <groupId>org.springframework</groupId>
150           <artifactId>spring-core</artifactId>
151         </exclusion>
152       </exclusions>
153     </dependency>
154
155     <dependency>
156       <groupId>com.fasterxml.jackson.core</groupId>
157       <artifactId>jackson-databind</artifactId>
158       <version>${jackson.version}</version>
159       <exclusions>
160         <exclusion>
161           <groupId>com.fasterxml.jackson.core</groupId>
162           <artifactId>jackson-core</artifactId>
163         </exclusion>
164       </exclusions>
165     </dependency>
166
167     <dependency>
168       <groupId>com.fasterxml.jackson.core</groupId>
169       <artifactId>jackson-core</artifactId>
170       <version>${jackson.version}</version>
171     </dependency>
172
173     <dependency>
174       <groupId>com.googlecode.json-simple</groupId>
175       <artifactId>json-simple</artifactId>
176       <version>${json-simple.version}</version>
177       <scope>provided</scope>
178     </dependency>
179
180     <dependency>
181       <groupId>com.google.code.bean-matchers</groupId>
182       <artifactId>bean-matchers</artifactId>
183       <version>${bean-matchers.version}</version>
184       <scope>test</scope>
185     </dependency>
186
187     <dependency>
188       <groupId>org.yaml</groupId>
189       <artifactId>snakeyaml</artifactId>
190       <version>${snakeyaml.version}</version>
191       <scope>provided</scope>
192     </dependency>
193
194     <dependency>
195       <groupId>com.google.code.gson</groupId>
196       <artifactId>gson</artifactId>
197       <version>${gson.version}</version>
198       <scope>provided</scope>
199     </dependency>
200
201     <dependency>
202       <groupId>org.functionaljava</groupId>
203       <artifactId>functionaljava</artifactId>
204       <version>${functionaljava.version}</version>
205       <scope>provided</scope>
206     </dependency>
207
208     <!-- http client -->
209     <dependency>
210       <groupId>org.apache.httpcomponents</groupId>
211       <artifactId>httpclient</artifactId>
212       <version>${httpclient.version}</version>
213       <scope>provided</scope>
214       <exclusions>
215         <exclusion>
216           <groupId>commons-codec</groupId>
217           <artifactId>commons-codec</artifactId>
218         </exclusion>
219         <exclusion>
220           <groupId>org.apache.httpcomponents</groupId>
221           <artifactId>httpcore</artifactId>
222         </exclusion>
223       </exclusions>
224     </dependency>
225
226     <dependency>
227       <groupId>org.apache.httpcomponents</groupId>
228       <artifactId>httpcore</artifactId>
229       <version>${httpcore.version}</version>
230       <scope>provided</scope>
231     </dependency>
232
233     <dependency>
234       <groupId>com.google.guava</groupId>
235       <artifactId>guava</artifactId>
236       <version>${guava.version}</version>
237       <scope>provided</scope>
238     </dependency>
239
240     <!-- TEST -->
241     <dependency>
242       <groupId>org.assertj</groupId>
243       <artifactId>assertj-core</artifactId>
244       <scope>test</scope>
245     </dependency>
246
247     <dependency>
248       <groupId>org.springframework</groupId>
249       <artifactId>spring-test</artifactId>
250       <version>${spring.version}</version>
251       <scope>test</scope>
252     </dependency>
253
254     <dependency>
255       <groupId>org.junit.jupiter</groupId>
256       <artifactId>junit-jupiter</artifactId>
257       <version>${junitJupiter.version}</version>
258       <scope>test</scope>
259     </dependency>
260
261     <dependency>
262       <groupId>org.mockito</groupId>
263       <artifactId>mockito-junit-jupiter</artifactId>
264       <version>${mockitoJupiter.version}</version>
265       <scope>test</scope>
266     </dependency>
267
268     <dependency>
269       <groupId>org.apache.commons</groupId>
270       <artifactId>commons-jci-core</artifactId>
271       <version>${commons-jci-core.version}</version>
272       <scope>test</scope>
273       <exclusions>
274         <exclusion>
275           <groupId>commons-io</groupId>
276           <artifactId>commons-io</artifactId>
277         </exclusion>
278       </exclusions>
279     </dependency>
280
281     <dependency>
282       <groupId>org.springframework</groupId>
283       <artifactId>spring-expression</artifactId>
284       <version>${spring.version}</version>
285       <scope>test</scope>
286     </dependency>
287
288     <dependency>
289       <groupId>org.janusgraph</groupId>
290       <artifactId>janusgraph-core</artifactId>
291       <version>${janusgraph.version}</version>
292       <scope>provided</scope>
293       <exclusions>
294         <exclusion>
295           <artifactId>gremlin-groovy</artifactId>
296           <groupId>org.apache.tinkerpop</groupId>
297         </exclusion>
298         <exclusion>
299           <groupId>org.json</groupId>
300           <artifactId>json</artifactId>
301         </exclusion>
302         <exclusion>
303           <artifactId>slf4j-log4j12</artifactId>
304           <groupId>org.slf4j</groupId>
305         </exclusion>
306         <exclusion>
307           <artifactId>commons-collections</artifactId>
308           <groupId>commons-collections</groupId>
309         </exclusion>
310         <exclusion>
311           <artifactId>groovy</artifactId>
312           <groupId>org.codehaus.groovy</groupId>
313         </exclusion>
314         <exclusion>
315           <groupId>commons-io</groupId>
316           <artifactId>commons-io</artifactId>
317         </exclusion>
318         <exclusion>
319           <groupId>commons-codec</groupId>
320           <artifactId>commons-codec</artifactId>
321         </exclusion>
322         <exclusion>
323           <groupId>dom4j</groupId>
324           <artifactId>dom4j</artifactId>
325         </exclusion>
326         <exclusion>
327           <groupId>org.slf4j</groupId>
328           <artifactId>jcl-over-slf4j</artifactId>
329         </exclusion>
330       </exclusions>
331     </dependency>
332
333     <dependency>
334       <groupId>org.janusgraph</groupId>
335       <artifactId>janusgraph-cassandra</artifactId>
336       <version>${janusgraph.version}</version>
337       <scope>provided</scope>
338       <exclusions>
339         <exclusion>
340           <groupId>org.slf4j</groupId>
341           <artifactId>slf4j-log4j12</artifactId>
342         </exclusion>
343         <exclusion>
344           <groupId>org.apache.thrift</groupId>
345           <artifactId>libthrift</artifactId>
346         </exclusion>
347         <exclusion>
348           <groupId>org.codehaus.jackson</groupId>
349           <artifactId>jackson-mapper-asl</artifactId>
350         </exclusion>
351         <exclusion>
352           <groupId>commons-codec</groupId>
353           <artifactId>commons-codec</artifactId>
354         </exclusion>
355         <exclusion>
356           <groupId>org.hibernate</groupId>
357           <artifactId>hibernate-validator</artifactId>
358         </exclusion>
359       </exclusions>
360     </dependency>
361
362     <dependency>
363       <groupId>org.apache.commons</groupId>
364       <artifactId>commons-lang3</artifactId>
365       <version>${lang3.version}</version>
366       <scope>provided</scope>
367     </dependency>
368
369     <dependency>
370       <groupId>org.apache.thrift</groupId>
371       <artifactId>libthrift</artifactId>
372       <version>${thrift.version}</version>
373       <scope>test</scope>
374     </dependency>
375
376     <!-- CASSANDRA -->
377     <dependency>
378       <groupId>com.datastax.cassandra</groupId>
379       <artifactId>cassandra-driver-core</artifactId>
380       <version>${cassandra.driver.version}</version>
381       <scope>provided</scope>
382       <exclusions>
383         <exclusion>
384           <groupId>io.netty</groupId>
385           <artifactId>netty-handler</artifactId>
386         </exclusion>
387       </exclusions>
388     </dependency>
389     <dependency>
390       <groupId>com.datastax.cassandra</groupId>
391       <artifactId>cassandra-driver-mapping</artifactId>
392       <version>${cassandra.driver.version}</version>
393       <scope>provided</scope>
394     </dependency>
395     <dependency>
396       <groupId>io.netty</groupId>
397       <artifactId>netty-common</artifactId>
398       <version>${netty.version}</version>
399     </dependency>
400     <dependency>
401       <groupId>com.datastax.oss</groupId>
402       <artifactId>java-driver-core</artifactId>
403       <version>${java.driver.core.version}</version>
404       <exclusions>
405         <exclusion>
406           <groupId>org.apache.tinkerpop</groupId>
407           <artifactId>gremlin-driver</artifactId>
408         </exclusion>
409         <exclusion>
410           <groupId>io.netty</groupId>
411           <artifactId>netty-common</artifactId>
412         </exclusion>
413       </exclusions>
414     </dependency>
415     <dependency>
416       <groupId>org.cassandraunit</groupId>
417       <artifactId>cassandra-unit</artifactId>
418       <version>${cassandra.unit.version}</version>
419       <scope>test</scope>
420       <exclusions>
421         <exclusion>
422           <groupId>org.apache.cassandra</groupId>
423           <artifactId>cassandra-all</artifactId>
424         </exclusion>
425         <exclusion>
426           <groupId>org.apache.thrift</groupId>
427           <artifactId>libthrift</artifactId>
428         </exclusion>
429         <exclusion>
430           <groupId>net.java.dev.jna</groupId>
431           <artifactId>jna</artifactId>
432         </exclusion>
433       </exclusions>
434     </dependency>
435     <dependency>
436       <groupId>org.apache.cassandra</groupId>
437       <artifactId>cassandra-all</artifactId>
438       <version>${cassandra-all.version}</version>
439       <exclusions>
440         <exclusion>
441           <groupId>org.apache.thrift</groupId>
442           <artifactId>libthrift</artifactId>
443         </exclusion>
444         <exclusion>
445           <groupId>org.hibernate</groupId>
446           <artifactId>hibernate-validator</artifactId>
447         </exclusion>
448         <exclusion>
449           <groupId>commons-codec</groupId>
450           <artifactId>commons-codec</artifactId>
451         </exclusion>
452         <exclusion>
453           <groupId>net.java.dev.jna</groupId>
454           <artifactId>jna</artifactId>
455         </exclusion>
456         <exclusion>
457           <groupId>org.slf4j</groupId>
458           <artifactId>log4j-over-slf4j</artifactId>
459         </exclusion>
460         <exclusion>
461           <groupId>org.slf4j</groupId>
462           <artifactId>jcl-over-slf4j</artifactId>
463         </exclusion>
464       </exclusions>
465       <scope>test</scope>
466     </dependency>
467     <dependency>
468       <groupId>net.java.dev.jna</groupId>
469       <artifactId>jna</artifactId>
470       <version>5.10.0</version>
471     </dependency>
472     <!-- CASSANDRA END -->
473
474     <dependency>
475       <groupId>commons-codec</groupId>
476       <artifactId>commons-codec</artifactId>
477       <version>${commons-codec}</version>
478     </dependency>
479
480     <dependency>
481       <groupId>org.codehaus.groovy</groupId>
482       <artifactId>groovy</artifactId>
483     </dependency>
484     <dependency>
485       <groupId>org.togglz</groupId>
486       <artifactId>togglz-testing</artifactId>
487       <version>${togglz.version}</version>
488       <scope>test</scope>
489     </dependency>
490   </dependencies>
491
492   <build>
493     <plugins>
494       <plugin>
495         <groupId>org.apache.maven.plugins</groupId>
496         <artifactId>maven-surefire-plugin</artifactId>
497         <configuration>
498           <forkCount>1</forkCount>
499         </configuration>
500       </plugin>
501     </plugins>
502     <pluginManagement>
503       <plugins>
504         <!--This plugin's configuration is used to store Eclipse m2e settings
505           only. It has no influence on the Maven build itself. -->
506         <plugin>
507           <groupId>org.eclipse.m2e</groupId>
508           <artifactId>lifecycle-mapping</artifactId>
509           <version>1.0.0</version>
510           <configuration>
511             <lifecycleMappingMetadata>
512               <pluginExecutions>
513                 <pluginExecution>
514                   <pluginExecutionFilter>
515                     <groupId>fr.fastconnect</groupId>
516                     <artifactId>plantuml-maven-plugin</artifactId>
517                     <versionRange>[1.0.0,)</versionRange>
518                     <goals>
519                       <goal>plant</goal>
520                     </goals>
521                   </pluginExecutionFilter>
522                   <action>
523                     <ignore/>
524                   </action>
525                 </pluginExecution>
526               </pluginExecutions>
527             </lifecycleMappingMetadata>
528           </configuration>
529         </plugin>
530         <plugin>
531           <groupId>com.github.sylvainlaurent.maven</groupId>
532           <artifactId>yaml-json-validator-maven-plugin</artifactId>
533           <executions>
534             <execution>
535               <id>validate</id>
536               <phase>validate</phase>
537               <goals>
538                 <goal>validate</goal>
539               </goals>
540               <configuration>
541                 <validationSets>
542                   <validationSet>
543                     <includes>
544                       <include>src/main/resources/**/*.y*ml</include>
545                       <include>src/test/resources/**/*.y*ml</include>
546                     </includes>
547                   </validationSet>
548                   <validationSet>
549                     <includes>
550                       <include>src/main/resources/**/*.json</include>
551                       <include>src/test/resources/**/*.json</include>
552                     </includes>
553                   </validationSet>
554                 </validationSets>
555                 <skip>${skipYamlJsonValidator}</skip>
556               </configuration>
557             </execution>
558           </executions>
559         </plugin>
560       </plugins>
561     </pluginManagement>
562
563   </build>
564 </project>