Remove vulnerable dependency
[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.8-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.apache.tinkerpop</groupId>
290       <artifactId>gremlin-core</artifactId>
291       <version>3.4.13</version>
292     </dependency>
293     <dependency>
294       <groupId>org.janusgraph</groupId>
295       <artifactId>janusgraph-core</artifactId>
296       <version>${janusgraph.version}</version>
297       <scope>provided</scope>
298       <exclusions>
299         <exclusion>
300           <groupId>org.apache.tinkerpop</groupId>
301           <artifactId>gremlin-groovy</artifactId>
302         </exclusion>
303         <exclusion>
304           <groupId>org.apache.tinkerpop</groupId>
305           <artifactId>gremlin-core</artifactId>
306         </exclusion>
307         <exclusion>
308           <groupId>org.json</groupId>
309           <artifactId>json</artifactId>
310         </exclusion>
311         <exclusion>
312           <artifactId>slf4j-log4j12</artifactId>
313           <groupId>org.slf4j</groupId>
314         </exclusion>
315         <exclusion>
316           <artifactId>commons-collections</artifactId>
317           <groupId>commons-collections</groupId>
318         </exclusion>
319         <exclusion>
320           <artifactId>groovy</artifactId>
321           <groupId>org.codehaus.groovy</groupId>
322         </exclusion>
323         <exclusion>
324           <groupId>commons-io</groupId>
325           <artifactId>commons-io</artifactId>
326         </exclusion>
327         <exclusion>
328           <groupId>commons-codec</groupId>
329           <artifactId>commons-codec</artifactId>
330         </exclusion>
331         <exclusion>
332           <groupId>dom4j</groupId>
333           <artifactId>dom4j</artifactId>
334         </exclusion>
335         <exclusion>
336           <groupId>org.slf4j</groupId>
337           <artifactId>jcl-over-slf4j</artifactId>
338         </exclusion>
339       </exclusions>
340     </dependency>
341
342     <dependency>
343       <groupId>org.janusgraph</groupId>
344       <artifactId>janusgraph-cassandra</artifactId>
345       <version>${janusgraph.version}</version>
346       <scope>provided</scope>
347       <exclusions>
348         <exclusion>
349           <groupId>org.slf4j</groupId>
350           <artifactId>slf4j-log4j12</artifactId>
351         </exclusion>
352         <exclusion>
353           <groupId>org.apache.thrift</groupId>
354           <artifactId>libthrift</artifactId>
355         </exclusion>
356         <exclusion>
357           <groupId>org.codehaus.jackson</groupId>
358           <artifactId>jackson-mapper-asl</artifactId>
359         </exclusion>
360         <exclusion>
361           <groupId>commons-codec</groupId>
362           <artifactId>commons-codec</artifactId>
363         </exclusion>
364         <exclusion>
365           <groupId>org.hibernate</groupId>
366           <artifactId>hibernate-validator</artifactId>
367         </exclusion>
368       </exclusions>
369     </dependency>
370
371     <dependency>
372       <groupId>org.apache.commons</groupId>
373       <artifactId>commons-lang3</artifactId>
374       <version>${lang3.version}</version>
375       <scope>provided</scope>
376     </dependency>
377
378     <dependency>
379       <groupId>org.apache.thrift</groupId>
380       <artifactId>libthrift</artifactId>
381       <version>${thrift.version}</version>
382       <scope>test</scope>
383     </dependency>
384
385     <!-- CASSANDRA -->
386     <dependency>
387       <groupId>com.datastax.cassandra</groupId>
388       <artifactId>cassandra-driver-core</artifactId>
389       <version>${cassandra.driver.version}</version>
390       <scope>provided</scope>
391       <exclusions>
392         <exclusion>
393           <groupId>io.netty</groupId>
394           <artifactId>netty-handler</artifactId>
395         </exclusion>
396         <exclusion>
397           <groupId>com.github.jnr</groupId>
398           <artifactId>jnr-posix</artifactId>
399         </exclusion>
400       </exclusions>
401     </dependency>
402     <dependency>
403       <groupId>com.datastax.cassandra</groupId>
404       <artifactId>cassandra-driver-mapping</artifactId>
405       <version>${cassandra.driver.version}</version>
406       <scope>provided</scope>
407     </dependency>
408     <dependency>
409       <groupId>io.netty</groupId>
410       <artifactId>netty-common</artifactId>
411       <version>${netty.version}</version>
412     </dependency>
413     <dependency>
414       <groupId>com.datastax.oss</groupId>
415       <artifactId>java-driver-core</artifactId>
416       <version>${java.driver.core.version}</version>
417       <exclusions>
418         <exclusion>
419           <groupId>org.apache.tinkerpop</groupId>
420           <artifactId>gremlin-driver</artifactId>
421         </exclusion>
422         <exclusion>
423           <groupId>io.netty</groupId>
424           <artifactId>netty-common</artifactId>
425         </exclusion>
426         <exclusion>
427           <groupId>com.github.jnr</groupId>
428           <artifactId>jnr-posix</artifactId>
429         </exclusion>
430       </exclusions>
431     </dependency>
432     <dependency>
433       <groupId>org.cassandraunit</groupId>
434       <artifactId>cassandra-unit</artifactId>
435       <version>${cassandra.unit.version}</version>
436       <scope>test</scope>
437       <exclusions>
438         <exclusion>
439           <groupId>org.apache.cassandra</groupId>
440           <artifactId>cassandra-all</artifactId>
441         </exclusion>
442         <exclusion>
443           <groupId>org.apache.thrift</groupId>
444           <artifactId>libthrift</artifactId>
445         </exclusion>
446         <exclusion>
447           <groupId>net.java.dev.jna</groupId>
448           <artifactId>jna</artifactId>
449         </exclusion>
450       </exclusions>
451     </dependency>
452     <dependency>
453       <groupId>org.apache.cassandra</groupId>
454       <artifactId>cassandra-all</artifactId>
455       <version>${cassandra-all.version}</version>
456       <exclusions>
457         <exclusion>
458           <groupId>org.apache.thrift</groupId>
459           <artifactId>libthrift</artifactId>
460         </exclusion>
461         <exclusion>
462           <groupId>org.hibernate</groupId>
463           <artifactId>hibernate-validator</artifactId>
464         </exclusion>
465         <exclusion>
466           <groupId>commons-codec</groupId>
467           <artifactId>commons-codec</artifactId>
468         </exclusion>
469         <exclusion>
470           <groupId>net.java.dev.jna</groupId>
471           <artifactId>jna</artifactId>
472         </exclusion>
473         <exclusion>
474           <groupId>org.slf4j</groupId>
475           <artifactId>log4j-over-slf4j</artifactId>
476         </exclusion>
477         <exclusion>
478           <groupId>org.slf4j</groupId>
479           <artifactId>jcl-over-slf4j</artifactId>
480         </exclusion>
481       </exclusions>
482       <scope>test</scope>
483     </dependency>
484     <dependency>
485       <groupId>net.java.dev.jna</groupId>
486       <artifactId>jna</artifactId>
487       <version>5.10.0</version>
488     </dependency>
489     <!-- CASSANDRA END -->
490
491     <dependency>
492       <groupId>commons-codec</groupId>
493       <artifactId>commons-codec</artifactId>
494       <version>${commons-codec}</version>
495     </dependency>
496
497     <dependency>
498       <groupId>org.codehaus.groovy</groupId>
499       <artifactId>groovy</artifactId>
500     </dependency>
501     <dependency>
502       <groupId>org.togglz</groupId>
503       <artifactId>togglz-testing</artifactId>
504       <version>${togglz.version}</version>
505       <scope>test</scope>
506     </dependency>
507   </dependencies>
508
509   <build>
510     <plugins>
511       <plugin>
512         <groupId>org.apache.maven.plugins</groupId>
513         <artifactId>maven-surefire-plugin</artifactId>
514         <configuration>
515           <forkCount>1</forkCount>
516         </configuration>
517       </plugin>
518     </plugins>
519     <pluginManagement>
520       <plugins>
521         <!--This plugin's configuration is used to store Eclipse m2e settings
522           only. It has no influence on the Maven build itself. -->
523         <plugin>
524           <groupId>org.eclipse.m2e</groupId>
525           <artifactId>lifecycle-mapping</artifactId>
526           <version>1.0.0</version>
527           <configuration>
528             <lifecycleMappingMetadata>
529               <pluginExecutions>
530                 <pluginExecution>
531                   <pluginExecutionFilter>
532                     <groupId>fr.fastconnect</groupId>
533                     <artifactId>plantuml-maven-plugin</artifactId>
534                     <versionRange>[1.0.0,)</versionRange>
535                     <goals>
536                       <goal>plant</goal>
537                     </goals>
538                   </pluginExecutionFilter>
539                   <action>
540                     <ignore/>
541                   </action>
542                 </pluginExecution>
543               </pluginExecutions>
544             </lifecycleMappingMetadata>
545           </configuration>
546         </plugin>
547         <plugin>
548           <groupId>com.github.sylvainlaurent.maven</groupId>
549           <artifactId>yaml-json-validator-maven-plugin</artifactId>
550           <executions>
551             <execution>
552               <id>validate</id>
553               <phase>validate</phase>
554               <goals>
555                 <goal>validate</goal>
556               </goals>
557               <configuration>
558                 <validationSets>
559                   <validationSet>
560                     <includes>
561                       <include>src/main/resources/**/*.y*ml</include>
562                       <include>src/test/resources/**/*.y*ml</include>
563                     </includes>
564                   </validationSet>
565                   <validationSet>
566                     <includes>
567                       <include>src/main/resources/**/*.json</include>
568                       <include>src/test/resources/**/*.json</include>
569                     </includes>
570                   </validationSet>
571                 </validationSets>
572                 <skip>${skipYamlJsonValidator}</skip>
573               </configuration>
574             </execution>
575           </executions>
576         </plugin>
577       </plugins>
578     </pluginManagement>
579
580   </build>
581 </project>