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