c145b683be1cf260d68e59662037e16c9f5a0622
[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.2-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       <exclusions>
207         <exclusion>
208           <groupId>junit</groupId>
209           <artifactId>junit</artifactId>
210         </exclusion>
211       </exclusions>
212     </dependency>
213
214     <dependency>
215       <groupId>com.google.code.bean-matchers</groupId>
216       <artifactId>bean-matchers</artifactId>
217       <version>${bean-matchers.version}</version>
218       <scope>test</scope>
219     </dependency>
220
221     <dependency>
222       <groupId>org.yaml</groupId>
223       <artifactId>snakeyaml</artifactId>
224       <version>${snakeyaml.version}</version>
225       <scope>provided</scope>
226     </dependency>
227
228     <dependency>
229       <groupId>com.google.code.gson</groupId>
230       <artifactId>gson</artifactId>
231       <version>${gson.version}</version>
232       <scope>provided</scope>
233     </dependency>
234
235     <dependency>
236       <groupId>org.functionaljava</groupId>
237       <artifactId>functionaljava</artifactId>
238       <version>${functionaljava.version}</version>
239       <scope>provided</scope>
240     </dependency>
241
242     <!-- http client -->
243     <dependency>
244       <groupId>org.apache.httpcomponents.client5</groupId>
245       <artifactId>httpclient5</artifactId>
246       <version>${httpclient.version}</version>
247       <scope>provided</scope>
248       <exclusions>
249         <exclusion>
250           <groupId>commons-codec</groupId>
251           <artifactId>commons-codec</artifactId>
252         </exclusion>
253         <exclusion>
254           <groupId>org.apache.httpcomponents</groupId>
255           <artifactId>httpcore</artifactId>
256         </exclusion>
257       </exclusions>
258     </dependency>
259
260     <dependency>
261       <groupId>org.apache.httpcomponents</groupId>
262       <artifactId>httpcore</artifactId>
263       <version>${httpcore.version}</version>
264       <scope>provided</scope>
265     </dependency>
266
267     <dependency>
268       <groupId>com.google.guava</groupId>
269       <artifactId>guava</artifactId>
270       <version>${guava.version}</version>
271       <scope>provided</scope>
272     </dependency>
273
274     <!-- TEST -->
275     <dependency>
276       <groupId>org.assertj</groupId>
277       <artifactId>assertj-core</artifactId>
278       <scope>test</scope>
279     </dependency>
280
281     <dependency>
282       <groupId>org.springframework</groupId>
283       <artifactId>spring-test</artifactId>
284       <version>${spring.version}</version>
285       <scope>test</scope>
286     </dependency>
287
288     <dependency>
289       <groupId>org.junit.jupiter</groupId>
290       <artifactId>junit-jupiter</artifactId>
291       <version>${junitJupiter.version}</version>
292       <scope>test</scope>
293     </dependency>
294
295     <dependency>
296       <groupId>org.mockito</groupId>
297       <artifactId>mockito-junit-jupiter</artifactId>
298       <version>${mockitoJupiter.version}</version>
299       <scope>test</scope>
300     </dependency>
301
302     <dependency>
303       <groupId>org.apache.commons</groupId>
304       <artifactId>commons-jci-core</artifactId>
305       <version>${commons-jci-core.version}</version>
306       <scope>test</scope>
307       <exclusions>
308         <exclusion>
309           <groupId>commons-io</groupId>
310           <artifactId>commons-io</artifactId>
311         </exclusion>
312       </exclusions>
313     </dependency>
314
315     <dependency>
316       <groupId>org.springframework</groupId>
317       <artifactId>spring-expression</artifactId>
318       <version>${spring.version}</version>
319       <scope>test</scope>
320     </dependency>
321
322     <dependency>
323       <groupId>org.apache.tinkerpop</groupId>
324       <artifactId>gremlin-core</artifactId>
325       <version>3.4.13</version>
326     </dependency>
327     <dependency>
328       <groupId>org.janusgraph</groupId>
329       <artifactId>janusgraph-core</artifactId>
330       <version>${janusgraph.version}</version>
331       <scope>provided</scope>
332       <exclusions>
333         <exclusion>
334           <groupId>org.apache.tinkerpop</groupId>
335           <artifactId>gremlin-groovy</artifactId>
336         </exclusion>
337         <exclusion>
338           <groupId>org.apache.tinkerpop</groupId>
339           <artifactId>gremlin-core</artifactId>
340         </exclusion>
341         <exclusion>
342           <groupId>org.json</groupId>
343           <artifactId>json</artifactId>
344         </exclusion>
345         <exclusion>
346           <artifactId>slf4j-log4j12</artifactId>
347           <groupId>org.slf4j</groupId>
348         </exclusion>
349         <exclusion>
350           <artifactId>commons-collections</artifactId>
351           <groupId>commons-collections</groupId>
352         </exclusion>
353         <exclusion>
354           <artifactId>groovy</artifactId>
355           <groupId>org.codehaus.groovy</groupId>
356         </exclusion>
357         <exclusion>
358           <groupId>commons-io</groupId>
359           <artifactId>commons-io</artifactId>
360         </exclusion>
361         <exclusion>
362           <groupId>commons-codec</groupId>
363           <artifactId>commons-codec</artifactId>
364         </exclusion>
365         <exclusion>
366           <groupId>dom4j</groupId>
367           <artifactId>dom4j</artifactId>
368         </exclusion>
369         <exclusion>
370           <groupId>org.slf4j</groupId>
371           <artifactId>jcl-over-slf4j</artifactId>
372         </exclusion>
373       </exclusions>
374     </dependency>
375
376     <dependency>
377       <groupId>org.janusgraph</groupId>
378       <artifactId>janusgraph-cassandra</artifactId>
379       <version>${janusgraph.version}</version>
380       <scope>provided</scope>
381       <exclusions>
382         <exclusion>
383           <groupId>joda-time</groupId>
384           <artifactId>joda-time</artifactId>
385         </exclusion>
386         <exclusion>
387           <groupId>org.slf4j</groupId>
388           <artifactId>slf4j-log4j12</artifactId>
389         </exclusion>
390         <exclusion>
391           <groupId>org.apache.thrift</groupId>
392           <artifactId>libthrift</artifactId>
393         </exclusion>
394         <exclusion>
395           <groupId>org.codehaus.jackson</groupId>
396           <artifactId>jackson-mapper-asl</artifactId>
397         </exclusion>
398         <exclusion>
399           <groupId>commons-codec</groupId>
400           <artifactId>commons-codec</artifactId>
401         </exclusion>
402         <exclusion>
403           <groupId>org.hibernate</groupId>
404           <artifactId>hibernate-validator</artifactId>
405         </exclusion>
406         <exclusion>
407           <groupId>javax.validation</groupId>
408           <artifactId>validation-api</artifactId>
409         </exclusion>
410       </exclusions>
411     </dependency>
412
413     <dependency>
414       <groupId>org.apache.commons</groupId>
415       <artifactId>commons-lang3</artifactId>
416       <version>${lang3.version}</version>
417       <scope>provided</scope>
418     </dependency>
419
420     <dependency>
421       <groupId>org.apache.thrift</groupId>
422       <artifactId>libthrift</artifactId>
423       <version>${thrift.version}</version>
424       <scope>test</scope>
425     </dependency>
426
427     <!-- CASSANDRA -->
428     <dependency>
429       <groupId>com.datastax.cassandra</groupId>
430       <artifactId>cassandra-driver-core</artifactId>
431       <version>${cassandra.driver.version}</version>
432       <scope>provided</scope>
433       <exclusions>
434         <exclusion>
435           <groupId>io.netty</groupId>
436           <artifactId>netty-handler</artifactId>
437         </exclusion>
438         <exclusion>
439           <groupId>com.github.jnr</groupId>
440           <artifactId>jnr-posix</artifactId>
441         </exclusion>
442       </exclusions>
443     </dependency>
444     <dependency>
445       <groupId>com.datastax.cassandra</groupId>
446       <artifactId>cassandra-driver-mapping</artifactId>
447       <version>${cassandra.driver.version}</version>
448       <scope>provided</scope>
449     </dependency>
450     <dependency>
451       <groupId>io.netty</groupId>
452       <artifactId>netty-common</artifactId>
453       <version>${netty.version}</version>
454     </dependency>
455     <dependency>
456       <groupId>com.datastax.oss</groupId>
457       <artifactId>java-driver-core</artifactId>
458       <version>${java.driver.core.version}</version>
459       <exclusions>
460         <exclusion>
461           <groupId>org.apache.tinkerpop</groupId>
462           <artifactId>gremlin-driver</artifactId>
463         </exclusion>
464         <exclusion>
465           <groupId>io.netty</groupId>
466           <artifactId>netty-common</artifactId>
467         </exclusion>
468         <exclusion>
469           <groupId>com.github.jnr</groupId>
470           <artifactId>jnr-posix</artifactId>
471         </exclusion>
472       </exclusions>
473     </dependency>
474     <dependency>
475       <groupId>org.cassandraunit</groupId>
476       <artifactId>cassandra-unit</artifactId>
477       <version>${cassandra.unit.version}</version>
478       <scope>test</scope>
479       <exclusions>
480         <exclusion>
481           <groupId>org.apache.cassandra</groupId>
482           <artifactId>cassandra-all</artifactId>
483         </exclusion>
484         <exclusion>
485           <groupId>org.apache.thrift</groupId>
486           <artifactId>libthrift</artifactId>
487         </exclusion>
488         <exclusion>
489           <groupId>net.java.dev.jna</groupId>
490           <artifactId>jna</artifactId>
491         </exclusion>
492         <exclusion>
493           <groupId>junit</groupId>
494           <artifactId>junit</artifactId>
495         </exclusion>
496       </exclusions>
497     </dependency>
498     <dependency>
499       <groupId>org.apache.cassandra</groupId>
500       <artifactId>cassandra-all</artifactId>
501       <version>${cassandra-all.version}</version>
502       <exclusions>
503         <exclusion>
504           <groupId>joda-time</groupId>
505           <artifactId>joda-time</artifactId>
506         </exclusion>
507         <exclusion>
508           <groupId>org.apache.thrift</groupId>
509           <artifactId>libthrift</artifactId>
510         </exclusion>
511         <exclusion>
512           <groupId>org.hibernate</groupId>
513           <artifactId>hibernate-validator</artifactId>
514         </exclusion>
515         <exclusion>
516           <groupId>commons-codec</groupId>
517           <artifactId>commons-codec</artifactId>
518         </exclusion>
519         <exclusion>
520           <groupId>net.java.dev.jna</groupId>
521           <artifactId>jna</artifactId>
522         </exclusion>
523         <exclusion>
524           <groupId>org.slf4j</groupId>
525           <artifactId>log4j-over-slf4j</artifactId>
526         </exclusion>
527         <exclusion>
528           <groupId>org.slf4j</groupId>
529           <artifactId>jcl-over-slf4j</artifactId>
530         </exclusion>
531       </exclusions>
532       <scope>test</scope>
533     </dependency>
534     <dependency>
535       <groupId>net.java.dev.jna</groupId>
536       <artifactId>jna</artifactId>
537       <version>5.10.0</version>
538     </dependency>
539     <!-- CASSANDRA END -->
540
541     <dependency>
542       <groupId>commons-codec</groupId>
543       <artifactId>commons-codec</artifactId>
544       <version>${commons-codec}</version>
545     </dependency>
546
547     <dependency>
548       <groupId>org.apache.groovy</groupId>
549       <artifactId>groovy</artifactId>
550       <version>${groovy.version}</version>
551     </dependency>
552     <dependency>
553       <groupId>org.togglz</groupId>
554       <artifactId>togglz-testing</artifactId>
555       <version>${togglz.version}</version>
556       <scope>test</scope>
557     </dependency>
558   </dependencies>
559
560   <build>
561     <plugins>
562       <plugin>
563         <groupId>org.apache.maven.plugins</groupId>
564         <artifactId>maven-surefire-plugin</artifactId>
565         <configuration>
566           <forkCount>1</forkCount>
567         </configuration>
568       </plugin>
569     </plugins>
570     <pluginManagement>
571       <plugins>
572         <!--This plugin's configuration is used to store Eclipse m2e settings
573           only. It has no influence on the Maven build itself. -->
574         <plugin>
575           <groupId>org.eclipse.m2e</groupId>
576           <artifactId>lifecycle-mapping</artifactId>
577           <version>1.0.0</version>
578           <configuration>
579             <lifecycleMappingMetadata>
580               <pluginExecutions>
581                 <pluginExecution>
582                   <pluginExecutionFilter>
583                     <groupId>fr.fastconnect</groupId>
584                     <artifactId>plantuml-maven-plugin</artifactId>
585                     <versionRange>[1.0.0,)</versionRange>
586                     <goals>
587                       <goal>plant</goal>
588                     </goals>
589                   </pluginExecutionFilter>
590                   <action>
591                     <ignore/>
592                   </action>
593                 </pluginExecution>
594               </pluginExecutions>
595             </lifecycleMappingMetadata>
596           </configuration>
597         </plugin>
598         <plugin>
599           <groupId>com.github.sylvainlaurent.maven</groupId>
600           <artifactId>yaml-json-validator-maven-plugin</artifactId>
601           <executions>
602             <execution>
603               <id>validate</id>
604               <phase>validate</phase>
605               <goals>
606                 <goal>validate</goal>
607               </goals>
608               <configuration>
609                 <validationSets>
610                   <validationSet>
611                     <includes>
612                       <include>src/main/resources/**/*.y*ml</include>
613                       <include>src/test/resources/**/*.y*ml</include>
614                     </includes>
615                   </validationSet>
616                   <validationSet>
617                     <includes>
618                       <include>src/main/resources/**/*.json</include>
619                       <include>src/test/resources/**/*.json</include>
620                     </includes>
621                   </validationSet>
622                 </validationSets>
623                 <skip>${skipYamlJsonValidator}</skip>
624               </configuration>
625             </execution>
626           </executions>
627         </plugin>
628       </plugins>
629     </pluginManagement>
630
631   </build>
632 </project>