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