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