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         <exclusion>
293           <groupId>dom4j</groupId>
294           <artifactId>dom4j</artifactId>
295         </exclusion>
296       </exclusions>
297     </dependency>
298
299     <dependency>
300       <groupId>org.janusgraph</groupId>
301       <artifactId>janusgraph-cassandra</artifactId>
302       <version>${janusgraph.version}</version>
303       <scope>provided</scope>
304       <exclusions>
305         <exclusion>
306           <groupId>org.slf4j</groupId>
307           <artifactId>slf4j-log4j12</artifactId>
308         </exclusion>
309         <exclusion>
310           <groupId>org.apache.thrift</groupId>
311           <artifactId>libthrift</artifactId>
312         </exclusion>
313         <exclusion>
314           <groupId>org.codehaus.jackson</groupId>
315           <artifactId>jackson-mapper-asl</artifactId>
316         </exclusion>
317         <exclusion>
318           <groupId>commons-codec</groupId>
319           <artifactId>commons-codec</artifactId>
320         </exclusion>
321         <exclusion>
322           <groupId>org.hibernate</groupId>
323           <artifactId>hibernate-validator</artifactId>
324         </exclusion>
325       </exclusions>
326     </dependency>
327
328     <dependency>
329       <groupId>org.apache.commons</groupId>
330       <artifactId>commons-lang3</artifactId>
331       <version>${lang3.version}</version>
332       <scope>provided</scope>
333     </dependency>
334
335     <dependency>
336       <groupId>org.apache.thrift</groupId>
337       <artifactId>libthrift</artifactId>
338       <version>${thrift.version}</version>
339       <scope>test</scope>
340     </dependency>
341
342     <!-- CASSANDRA -->
343     <dependency>
344       <groupId>com.datastax.cassandra</groupId>
345       <artifactId>cassandra-driver-core</artifactId>
346       <version>${cassandra.driver.version}</version>
347       <scope>provided</scope>
348       <exclusions>
349         <exclusion>
350           <groupId>io.netty</groupId>
351           <artifactId>netty-handler</artifactId>
352         </exclusion>
353       </exclusions>
354     </dependency>
355     <dependency>
356       <groupId>com.datastax.cassandra</groupId>
357       <artifactId>cassandra-driver-mapping</artifactId>
358       <version>${cassandra.driver.version}</version>
359       <scope>provided</scope>
360     </dependency>
361     <dependency>
362       <groupId>com.datastax.oss</groupId>
363       <artifactId>java-driver-core</artifactId>
364       <version>${java.driver.core.version}</version>
365       <exclusions>
366         <exclusion>
367           <groupId>org.apache.tinkerpop</groupId>
368           <artifactId>gremlin-driver</artifactId>
369         </exclusion>
370       </exclusions>
371     </dependency>
372     <dependency>
373       <groupId>org.cassandraunit</groupId>
374       <artifactId>cassandra-unit</artifactId>
375       <version>${cassandra.unit.version}</version>
376       <scope>test</scope>
377       <exclusions>
378         <exclusion>
379           <groupId>org.apache.cassandra</groupId>
380           <artifactId>cassandra-all</artifactId>
381         </exclusion>
382         <exclusion>
383           <groupId>org.apache.thrift</groupId>
384           <artifactId>libthrift</artifactId>
385         </exclusion>
386       </exclusions>
387     </dependency>
388     <dependency>
389       <groupId>org.apache.cassandra</groupId>
390       <artifactId>cassandra-all</artifactId>
391       <version>${cassandra-all.version}</version>
392       <exclusions>
393         <exclusion>
394           <groupId>org.apache.thrift</groupId>
395           <artifactId>libthrift</artifactId>
396         </exclusion>
397         <exclusion>
398           <groupId>org.hibernate</groupId>
399           <artifactId>hibernate-validator</artifactId>
400         </exclusion>
401         <exclusion>
402           <groupId>commons-codec</groupId>
403           <artifactId>commons-codec</artifactId>
404         </exclusion>
405       </exclusions>
406       <scope>test</scope>
407     </dependency>
408     <!-- CASSANDRA END -->
409
410     <dependency>
411       <groupId>commons-codec</groupId>
412       <artifactId>commons-codec</artifactId>
413       <version>${commons-codec}</version>
414     </dependency>
415
416     <dependency>
417       <groupId>org.codehaus.groovy</groupId>
418       <artifactId>groovy</artifactId>
419     </dependency>
420     <dependency>
421       <groupId>org.togglz</groupId>
422       <artifactId>togglz-testing</artifactId>
423       <version>${togglz.version}</version>
424       <scope>test</scope>
425     </dependency>
426   </dependencies>
427
428   <build>
429     <plugins>
430       <plugin>
431         <groupId>org.apache.maven.plugins</groupId>
432         <artifactId>maven-surefire-plugin</artifactId>
433         <configuration>
434           <forkCount>1</forkCount>
435         </configuration>
436       </plugin>
437     </plugins>
438     <pluginManagement>
439       <plugins>
440         <!--This plugin's configuration is used to store Eclipse m2e settings
441           only. It has no influence on the Maven build itself. -->
442         <plugin>
443           <groupId>org.eclipse.m2e</groupId>
444           <artifactId>lifecycle-mapping</artifactId>
445           <version>1.0.0</version>
446           <configuration>
447             <lifecycleMappingMetadata>
448               <pluginExecutions>
449                 <pluginExecution>
450                   <pluginExecutionFilter>
451                     <groupId>fr.fastconnect</groupId>
452                     <artifactId>plantuml-maven-plugin</artifactId>
453                     <versionRange>[1.0.0,)</versionRange>
454                     <goals>
455                       <goal>plant</goal>
456                     </goals>
457                   </pluginExecutionFilter>
458                   <action>
459                     <ignore/>
460                   </action>
461                 </pluginExecution>
462               </pluginExecutions>
463             </lifecycleMappingMetadata>
464           </configuration>
465         </plugin>
466         <plugin>
467           <groupId>com.github.sylvainlaurent.maven</groupId>
468           <artifactId>yaml-json-validator-maven-plugin</artifactId>
469           <executions>
470             <execution>
471               <id>validate</id>
472               <phase>validate</phase>
473               <goals>
474                 <goal>validate</goal>
475               </goals>
476               <configuration>
477                 <validationSets>
478                   <validationSet>
479                     <includes>
480                       <include>src/main/resources/**/*.y*ml</include>
481                       <include>src/test/resources/**/*.y*ml</include>
482                     </includes>
483                   </validationSet>
484                   <validationSet>
485                     <includes>
486                       <include>src/main/resources/**/*.json</include>
487                       <include>src/test/resources/**/*.json</include>
488                     </includes>
489                   </validationSet>
490                 </validationSets>
491                 <skip>${skipYamlJsonValidator}</skip>
492               </configuration>
493             </execution>
494           </executions>
495         </plugin>
496       </plugins>
497     </pluginManagement>
498
499   </build>
500 </project>