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