Remove dependency vulnerability
[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       <exclusions>
189         <exclusion>
190           <groupId>commons-codec</groupId>
191           <artifactId>commons-codec</artifactId>
192         </exclusion>
193       </exclusions>
194     </dependency>
195
196     <dependency>
197       <groupId>org.apache.httpcomponents</groupId>
198       <artifactId>httpcore</artifactId>
199       <version>${httpcore.version}</version>
200       <scope>provided</scope>
201     </dependency>
202
203     <dependency>
204       <groupId>com.google.guava</groupId>
205       <artifactId>guava</artifactId>
206       <version>${guava.version}</version>
207       <scope>provided</scope>
208     </dependency>
209
210     <!-- TEST -->
211     <dependency>
212       <groupId>org.assertj</groupId>
213       <artifactId>assertj-core</artifactId>
214       <scope>test</scope>
215     </dependency>
216
217     <dependency>
218       <groupId>org.springframework</groupId>
219       <artifactId>spring-test</artifactId>
220       <version>${spring.version}</version>
221       <scope>test</scope>
222     </dependency>
223
224     <dependency>
225       <groupId>org.junit.jupiter</groupId>
226       <artifactId>junit-jupiter</artifactId>
227       <version>${junitJupiter.version}</version>
228       <scope>test</scope>
229     </dependency>
230
231     <dependency>
232       <groupId>org.mockito</groupId>
233       <artifactId>mockito-junit-jupiter</artifactId>
234       <version>${mockitoJupiter.version}</version>
235       <scope>test</scope>
236     </dependency>
237
238     <dependency>
239       <groupId>org.apache.commons</groupId>
240       <artifactId>commons-jci-core</artifactId>
241       <version>${commons-jci-core.version}</version>
242       <scope>test</scope>
243       <exclusions>
244         <exclusion>
245           <groupId>commons-io</groupId>
246           <artifactId>commons-io</artifactId>
247         </exclusion>
248       </exclusions>
249     </dependency>
250
251     <dependency>
252       <groupId>org.springframework</groupId>
253       <artifactId>spring-expression</artifactId>
254       <version>${spring.version}</version>
255       <scope>test</scope>
256     </dependency>
257
258     <dependency>
259       <groupId>org.janusgraph</groupId>
260       <artifactId>janusgraph-core</artifactId>
261       <version>${janusgraph.version}</version>
262       <scope>provided</scope>
263       <exclusions>
264         <exclusion>
265           <artifactId>gremlin-groovy</artifactId>
266           <groupId>org.apache.tinkerpop</groupId>
267         </exclusion>
268         <exclusion>
269           <groupId>org.json</groupId>
270           <artifactId>json</artifactId>
271         </exclusion>
272         <exclusion>
273           <artifactId>slf4j-log4j12</artifactId>
274           <groupId>org.slf4j</groupId>
275         </exclusion>
276         <exclusion>
277           <artifactId>commons-collections</artifactId>
278           <groupId>commons-collections</groupId>
279         </exclusion>
280         <exclusion>
281           <artifactId>groovy</artifactId>
282           <groupId>org.codehaus.groovy</groupId>
283         </exclusion>
284         <exclusion>
285           <groupId>commons-io</groupId>
286           <artifactId>commons-io</artifactId>
287         </exclusion>
288         <exclusion>
289           <groupId>commons-codec</groupId>
290           <artifactId>commons-codec</artifactId>
291         </exclusion>
292       </exclusions>
293     </dependency>
294
295     <dependency>
296       <groupId>org.janusgraph</groupId>
297       <artifactId>janusgraph-cassandra</artifactId>
298       <version>${janusgraph.version}</version>
299       <scope>provided</scope>
300       <exclusions>
301         <exclusion>
302           <groupId>org.slf4j</groupId>
303           <artifactId>slf4j-log4j12</artifactId>
304         </exclusion>
305         <exclusion>
306           <groupId>org.apache.thrift</groupId>
307           <artifactId>libthrift</artifactId>
308         </exclusion>
309         <exclusion>
310           <groupId>org.codehaus.jackson</groupId>
311           <artifactId>jackson-mapper-asl</artifactId>
312         </exclusion>
313         <exclusion>
314           <groupId>commons-codec</groupId>
315           <artifactId>commons-codec</artifactId>
316         </exclusion>
317         <exclusion>
318           <groupId>org.hibernate</groupId>
319           <artifactId>hibernate-validator</artifactId>
320         </exclusion>
321       </exclusions>
322     </dependency>
323
324     <dependency>
325       <groupId>org.apache.commons</groupId>
326       <artifactId>commons-lang3</artifactId>
327       <version>${lang3.version}</version>
328       <scope>provided</scope>
329     </dependency>
330
331     <dependency>
332       <groupId>org.apache.thrift</groupId>
333       <artifactId>libthrift</artifactId>
334       <version>${thrift.version}</version>
335       <scope>test</scope>
336     </dependency>
337
338     <!-- CASSANDRA -->
339     <dependency>
340       <groupId>com.datastax.cassandra</groupId>
341       <artifactId>cassandra-driver-core</artifactId>
342       <version>${cassandra.driver.version}</version>
343       <scope>provided</scope>
344       <exclusions>
345         <exclusion>
346           <groupId>io.netty</groupId>
347           <artifactId>netty-handler</artifactId>
348         </exclusion>
349       </exclusions>
350     </dependency>
351     <dependency>
352       <groupId>com.datastax.cassandra</groupId>
353       <artifactId>cassandra-driver-mapping</artifactId>
354       <version>${cassandra.driver.version}</version>
355       <scope>provided</scope>
356     </dependency>
357     <dependency>
358       <groupId>com.datastax.oss</groupId>
359       <artifactId>java-driver-core</artifactId>
360       <version>${java.driver.core.version}</version>
361       <exclusions>
362         <exclusion>
363           <groupId>org.apache.tinkerpop</groupId>
364           <artifactId>gremlin-driver</artifactId>
365         </exclusion>
366       </exclusions>
367     </dependency>
368     <dependency>
369       <groupId>org.cassandraunit</groupId>
370       <artifactId>cassandra-unit</artifactId>
371       <version>${cassandra.unit.version}</version>
372       <scope>test</scope>
373       <exclusions>
374         <exclusion>
375           <groupId>org.apache.cassandra</groupId>
376           <artifactId>cassandra-all</artifactId>
377         </exclusion>
378         <exclusion>
379           <groupId>org.apache.thrift</groupId>
380           <artifactId>libthrift</artifactId>
381         </exclusion>
382       </exclusions>
383     </dependency>
384     <dependency>
385       <groupId>org.apache.cassandra</groupId>
386       <artifactId>cassandra-all</artifactId>
387       <version>${cassandra-all.version}</version>
388       <exclusions>
389         <exclusion>
390           <groupId>org.apache.thrift</groupId>
391           <artifactId>libthrift</artifactId>
392         </exclusion>
393         <exclusion>
394           <groupId>org.hibernate</groupId>
395           <artifactId>hibernate-validator</artifactId>
396         </exclusion>
397         <exclusion>
398           <groupId>commons-codec</groupId>
399           <artifactId>commons-codec</artifactId>
400         </exclusion>
401       </exclusions>
402       <scope>test</scope>
403     </dependency>
404     <!-- CASSANDRA END -->
405
406     <dependency>
407       <groupId>commons-codec</groupId>
408       <artifactId>commons-codec</artifactId>
409       <version>${commons-codec}</version>
410     </dependency>
411
412     <dependency>
413       <groupId>org.codehaus.groovy</groupId>
414       <artifactId>groovy</artifactId>
415     </dependency>
416     <dependency>
417       <groupId>org.togglz</groupId>
418       <artifactId>togglz-testing</artifactId>
419       <version>${togglz.version}</version>
420       <scope>test</scope>
421     </dependency>
422   </dependencies>
423
424   <build>
425     <plugins>
426       <plugin>
427         <groupId>org.apache.maven.plugins</groupId>
428         <artifactId>maven-surefire-plugin</artifactId>
429         <configuration>
430           <forkCount>1</forkCount>
431         </configuration>
432       </plugin>
433     </plugins>
434     <pluginManagement>
435       <plugins>
436         <!--This plugin's configuration is used to store Eclipse m2e settings
437           only. It has no influence on the Maven build itself. -->
438         <plugin>
439           <groupId>org.eclipse.m2e</groupId>
440           <artifactId>lifecycle-mapping</artifactId>
441           <version>1.0.0</version>
442           <configuration>
443             <lifecycleMappingMetadata>
444               <pluginExecutions>
445                 <pluginExecution>
446                   <pluginExecutionFilter>
447                     <groupId>fr.fastconnect</groupId>
448                     <artifactId>plantuml-maven-plugin</artifactId>
449                     <versionRange>[1.0.0,)</versionRange>
450                     <goals>
451                       <goal>plant</goal>
452                     </goals>
453                   </pluginExecutionFilter>
454                   <action>
455                     <ignore/>
456                   </action>
457                 </pluginExecution>
458               </pluginExecutions>
459             </lifecycleMappingMetadata>
460           </configuration>
461         </plugin>
462         <plugin>
463           <groupId>com.github.sylvainlaurent.maven</groupId>
464           <artifactId>yaml-json-validator-maven-plugin</artifactId>
465           <executions>
466             <execution>
467               <id>validate</id>
468               <phase>validate</phase>
469               <goals>
470                 <goal>validate</goal>
471               </goals>
472               <configuration>
473                 <validationSets>
474                   <validationSet>
475                     <includes>
476                       <include>src/main/resources/**/*.y*ml</include>
477                       <include>src/test/resources/**/*.y*ml</include>
478                     </includes>
479                   </validationSet>
480                   <validationSet>
481                     <includes>
482                       <include>src/main/resources/**/*.json</include>
483                       <include>src/test/resources/**/*.json</include>
484                     </includes>
485                   </validationSet>
486                 </validationSets>
487                 <skip>${skipYamlJsonValidator}</skip>
488               </configuration>
489             </execution>
490           </executions>
491         </plugin>
492       </plugins>
493     </pluginManagement>
494
495   </build>
496 </project>