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