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