d1d9b349aefeb3ac3f4d9675d35f21b222c92748
[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.7.0-SNAPSHOT</version>
34   </parent>
35
36   <dependencies>
37     <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
38     <dependency>
39       <groupId>org.junit.jupiter</groupId>
40       <artifactId>junit-jupiter-engine</artifactId>
41       <version>${junitJupiter.version}</version>
42       <scope>test</scope>
43     </dependency>
44     <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API  -->
45     <dependency>
46       <groupId>org.junit.vintage</groupId>
47       <artifactId>junit-vintage-engine</artifactId>
48       <version>${junitJupiter.version}</version>
49       <scope>test</scope>
50     </dependency>
51
52     <!-- Common of SDC -->
53     <dependency>
54       <groupId>org.openecomp.sdc</groupId>
55       <artifactId>common-app-api</artifactId>
56       <version>${project.version}</version>
57       <scope>provided</scope>
58     </dependency>
59
60     <dependency>
61       <groupId>org.openecomp.sdc.be</groupId>
62       <artifactId>common-be</artifactId>
63       <version>${project.version}</version>
64       <scope>provided</scope>
65     </dependency>
66
67     <dependency>
68       <groupId>ch.qos.logback</groupId>
69       <artifactId>logback-classic</artifactId>
70       <version>${logback.version}</version>
71       <scope>provided</scope>
72     </dependency>
73
74     <!-- SPRING -->
75     <dependency>
76       <groupId>org.springframework</groupId>
77       <artifactId>spring-context</artifactId>
78       <version>${spring.version}</version>
79       <scope>provided</scope>
80     </dependency>
81
82     <dependency>
83       <groupId>org.springframework</groupId>
84       <artifactId>spring-core</artifactId>
85       <version>${spring.version}</version>
86       <scope>provided</scope>
87     </dependency>
88
89     <dependency>
90       <groupId>org.springframework</groupId>
91       <artifactId>spring-context-support</artifactId>
92       <version>${spring.version}</version>
93       <scope>provided</scope>
94     </dependency>
95
96     <dependency>
97       <groupId>org.springframework</groupId>
98       <artifactId>spring-beans</artifactId>
99       <version>${spring.version}</version>
100       <scope>provided</scope>
101     </dependency>
102
103     <dependency>
104       <groupId>org.aspectj</groupId>
105       <artifactId>aspectjrt</artifactId>
106       <version>${aspectj.version}</version>
107     </dependency>
108
109     <dependency>
110       <groupId>org.aspectj</groupId>
111       <artifactId>aspectjweaver</artifactId>
112       <version>${aspectj.version}</version>
113     </dependency>
114
115     <dependency>
116       <groupId>org.springframework</groupId>
117       <artifactId>spring-aop</artifactId>
118       <version>${spring.version}</version>
119     </dependency>
120
121     <dependency>
122       <groupId>org.springframework</groupId>
123       <artifactId>spring-tx</artifactId>
124       <version>${spring.version}</version>
125     </dependency>
126
127     <dependency>
128       <groupId>com.fasterxml.jackson.core</groupId>
129       <artifactId>jackson-databind</artifactId>
130       <version>${jackson.version}</version>
131       <exclusions>
132         <exclusion>
133           <groupId>com.fasterxml.jackson.core</groupId>
134           <artifactId>jackson-core</artifactId>
135         </exclusion>
136       </exclusions>
137     </dependency>
138
139     <dependency>
140       <groupId>com.fasterxml.jackson.core</groupId>
141       <artifactId>jackson-core</artifactId>
142       <version>${jackson.version}</version>
143     </dependency>
144
145     <dependency>
146       <groupId>com.googlecode.json-simple</groupId>
147       <artifactId>json-simple</artifactId>
148       <version>${json-simple.version}</version>
149       <scope>provided</scope>
150     </dependency>
151
152     <dependency>
153       <groupId>org.apache.lucene</groupId>
154       <artifactId>lucene-regex</artifactId>
155       <version>${regex.version}</version>
156     </dependency>
157
158     <dependency>
159       <groupId>org.mockito</groupId>
160       <artifactId>mockito-core</artifactId>
161       <scope>test</scope>
162     </dependency>
163
164     <dependency>
165       <groupId>org.jmockit</groupId>
166       <artifactId>jmockit</artifactId>
167       <scope>test</scope>
168     </dependency>
169
170     <dependency>
171       <groupId>com.google.code.bean-matchers</groupId>
172       <artifactId>bean-matchers</artifactId>
173       <version>${bean-matchers.version}</version>
174       <scope>test</scope>
175     </dependency>
176
177     <dependency>
178       <groupId>org.yaml</groupId>
179       <artifactId>snakeyaml</artifactId>
180       <version>${snakeyaml.version}</version>
181       <scope>provided</scope>
182     </dependency>
183
184     <dependency>
185       <groupId>com.google.code.gson</groupId>
186       <artifactId>gson</artifactId>
187       <version>${gson.version}</version>
188       <scope>provided</scope>
189     </dependency>
190
191     <dependency>
192       <groupId>org.functionaljava</groupId>
193       <artifactId>functionaljava</artifactId>
194       <version>${functionaljava.version}</version>
195       <scope>provided</scope>
196     </dependency>
197
198     <!-- http client -->
199     <dependency>
200       <groupId>org.apache.httpcomponents</groupId>
201       <artifactId>httpclient</artifactId>
202       <version>${httpclient.version}</version>
203       <scope>provided</scope>
204     </dependency>
205
206     <dependency>
207       <groupId>org.apache.httpcomponents</groupId>
208       <artifactId>httpcore</artifactId>
209       <version>${httpcore.version}</version>
210       <scope>provided</scope>
211     </dependency>
212
213     <dependency>
214       <groupId>com.google.guava</groupId>
215       <artifactId>guava</artifactId>
216       <version>${guava.version}</version>
217       <scope>provided</scope>
218     </dependency>
219
220     <!-- TEST -->
221     <dependency>
222       <groupId>org.assertj</groupId>
223       <artifactId>assertj-core</artifactId>
224       <scope>test</scope>
225     </dependency>
226
227     <dependency>
228       <groupId>org.springframework</groupId>
229       <artifactId>spring-test</artifactId>
230       <version>${spring.version}</version>
231       <scope>test</scope>
232     </dependency>
233
234     <dependency>
235       <groupId>org.junit.jupiter</groupId>
236       <artifactId>junit-jupiter</artifactId>
237       <version>${junitJupiter.version}</version>
238       <scope>test</scope>
239     </dependency>
240
241     <dependency>
242       <groupId>org.mockito</groupId>
243       <artifactId>mockito-junit-jupiter</artifactId>
244       <version>${mockitoJupiter.version}</version>
245       <scope>test</scope>
246     </dependency>
247
248     <dependency>
249       <groupId>org.apache.commons</groupId>
250       <artifactId>commons-jci-core</artifactId>
251       <version>${commons-jci-core.version}</version>
252       <scope>test</scope>
253     </dependency>
254
255     <dependency>
256       <groupId>org.springframework</groupId>
257       <artifactId>spring-expression</artifactId>
258       <version>${spring.version}</version>
259       <scope>test</scope>
260     </dependency>
261
262     <dependency>
263       <groupId>org.janusgraph</groupId>
264       <artifactId>janusgraph-core</artifactId>
265       <version>${janusgraph.version}</version>
266       <scope>provided</scope>
267       <exclusions>
268         <exclusion>
269           <groupId>org.json</groupId>
270           <artifactId>json</artifactId>
271         </exclusion>
272         <exclusion>
273           <artifactId>slf4j-log4j12</artifactId>
274           <groupId>org.slf4j</groupId>
275         </exclusion>
276         <exclusion>
277           <artifactId>commons-collections</artifactId>
278           <groupId>commons-collections</groupId>
279         </exclusion>
280         <exclusion>
281           <artifactId>groovy</artifactId>
282           <groupId>org.codehaus.groovy</groupId>
283         </exclusion>
284       </exclusions>
285     </dependency>
286
287     <dependency>
288       <groupId>org.janusgraph</groupId>
289       <artifactId>janusgraph-cassandra</artifactId>
290       <version>${janusgraph.version}</version>
291       <scope>provided</scope>
292       <exclusions>
293         <exclusion>
294           <groupId>org.slf4j</groupId>
295           <artifactId>slf4j-log4j12</artifactId>
296         </exclusion>
297       </exclusions>
298     </dependency>
299
300     <dependency>
301       <groupId>org.apache.commons</groupId>
302       <artifactId>commons-lang3</artifactId>
303       <version>${lang3.version}</version>
304       <scope>provided</scope>
305     </dependency>
306
307     <!-- CASSANDRA -->
308     <dependency>
309       <groupId>com.datastax.cassandra</groupId>
310       <artifactId>cassandra-driver-core</artifactId>
311       <version>${cassandra.driver.version}</version>
312       <scope>provided</scope>
313       <exclusions>
314         <exclusion>
315           <groupId>io.netty</groupId>
316           <artifactId>netty-handler</artifactId>
317         </exclusion>
318       </exclusions>
319     </dependency>
320     <dependency>
321       <groupId>com.datastax.cassandra</groupId>
322       <artifactId>cassandra-driver-mapping</artifactId>
323       <version>${cassandra.driver.version}</version>
324       <scope>provided</scope>
325     </dependency>
326     <dependency>
327       <groupId>com.datastax.oss</groupId>
328       <artifactId>java-driver-core</artifactId>
329       <version>${java.driver.core.version}</version>
330     </dependency>
331     <dependency>
332       <groupId>org.cassandraunit</groupId>
333       <artifactId>cassandra-unit</artifactId>
334       <version>${cassandra.unit.version}</version>
335       <scope>test</scope>
336       <exclusions>
337         <exclusion>
338           <groupId>org.apache.cassandra</groupId>
339           <artifactId>cassandra-all</artifactId>
340         </exclusion>
341         <exclusion>
342           <groupId>org.apache.thrift</groupId>
343           <artifactId>libthrift</artifactId>
344         </exclusion>
345       </exclusions>
346     </dependency>
347     <dependency>
348       <groupId>org.apache.cassandra</groupId>
349       <artifactId>cassandra-all</artifactId>
350       <version>3.11.3</version>
351       <scope>test</scope>
352     </dependency>
353     <!-- CASSANDRA END -->
354
355     <dependency>
356       <groupId>org.codehaus.groovy</groupId>
357       <artifactId>groovy</artifactId>
358     </dependency>
359       <dependency>
360           <groupId>org.togglz</groupId>
361           <artifactId>togglz-testing</artifactId>
362           <version>${togglz.version}</version>
363           <scope>test</scope>
364       </dependency>
365   </dependencies>
366
367   <build>
368
369     <pluginManagement>
370       <plugins>
371         <!--This plugin's configuration is used to store Eclipse m2e settings
372           only. It has no influence on the Maven build itself. -->
373         <plugin>
374           <groupId>org.eclipse.m2e</groupId>
375           <artifactId>lifecycle-mapping</artifactId>
376           <version>1.0.0</version>
377           <configuration>
378             <lifecycleMappingMetadata>
379               <pluginExecutions>
380                 <pluginExecution>
381                   <pluginExecutionFilter>
382                     <groupId>fr.fastconnect</groupId>
383                     <artifactId>plantuml-maven-plugin</artifactId>
384                     <versionRange>[1.0.0,)</versionRange>
385                     <goals>
386                       <goal>plant</goal>
387                     </goals>
388                   </pluginExecutionFilter>
389                   <action>
390                     <ignore/>
391                   </action>
392                 </pluginExecution>
393               </pluginExecutions>
394             </lifecycleMappingMetadata>
395           </configuration>
396         </plugin>
397         <plugin>
398           <groupId>com.github.sylvainlaurent.maven</groupId>
399           <artifactId>yaml-json-validator-maven-plugin</artifactId>
400           <executions>
401             <execution>
402               <id>validate</id>
403               <phase>validate</phase>
404               <goals>
405                 <goal>validate</goal>
406               </goals>
407               <configuration>
408                 <validationSets>
409                   <validationSet>
410                     <includes>
411                       <include>src/main/resources/**/*.y*ml</include>
412                       <include>src/test/resources/**/*.y*ml</include>
413                     </includes>
414                   </validationSet>
415                   <validationSet>
416                     <includes>
417                       <include>src/main/resources/**/*.json</include>
418                       <include>src/test/resources/**/*.json</include>
419                     </includes>
420                   </validationSet>
421                 </validationSets>
422               </configuration>
423             </execution>
424           </executions>
425         </plugin>
426       </plugins>
427     </pluginManagement>
428   </build>
429 </project>