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