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