Reduce scope from 'compile' to 'test' for 'junit-vintage-engine'
[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     </dependency>
132
133     <dependency>
134       <groupId>com.fasterxml.jackson.core</groupId>
135       <artifactId>jackson-core</artifactId>
136       <version>${jackson.version}</version>
137     </dependency>
138
139     <dependency>
140       <groupId>com.googlecode.json-simple</groupId>
141       <artifactId>json-simple</artifactId>
142       <version>${json-simple.version}</version>
143       <scope>provided</scope>
144     </dependency>
145
146     <dependency>
147       <groupId>org.apache.lucene</groupId>
148       <artifactId>lucene-regex</artifactId>
149       <version>${regex.version}</version>
150     </dependency>
151
152     <dependency>
153       <groupId>org.mockito</groupId>
154       <artifactId>mockito-core</artifactId>
155       <scope>test</scope>
156     </dependency>
157
158     <dependency>
159       <groupId>org.jmockit</groupId>
160       <artifactId>jmockit</artifactId>
161       <scope>test</scope>
162     </dependency>
163
164     <dependency>
165       <groupId>com.google.code.bean-matchers</groupId>
166       <artifactId>bean-matchers</artifactId>
167       <version>${bean-matchers.version}</version>
168       <scope>test</scope>
169     </dependency>
170
171     <dependency>
172       <groupId>org.yaml</groupId>
173       <artifactId>snakeyaml</artifactId>
174       <version>${snakeyaml.version}</version>
175       <scope>provided</scope>
176     </dependency>
177
178     <dependency>
179       <groupId>com.google.code.gson</groupId>
180       <artifactId>gson</artifactId>
181       <version>${gson.version}</version>
182       <scope>provided</scope>
183     </dependency>
184
185     <dependency>
186       <groupId>org.functionaljava</groupId>
187       <artifactId>functionaljava</artifactId>
188       <version>${functionaljava.version}</version>
189       <scope>provided</scope>
190     </dependency>
191
192     <!-- http client -->
193     <dependency>
194       <groupId>org.apache.httpcomponents</groupId>
195       <artifactId>httpclient</artifactId>
196       <version>${httpclient.version}</version>
197       <scope>provided</scope>
198     </dependency>
199
200     <dependency>
201       <groupId>org.apache.httpcomponents</groupId>
202       <artifactId>httpcore</artifactId>
203       <version>${httpcore.version}</version>
204       <scope>provided</scope>
205     </dependency>
206
207     <dependency>
208       <groupId>com.google.guava</groupId>
209       <artifactId>guava</artifactId>
210       <version>${guava.version}</version>
211       <scope>provided</scope>
212     </dependency>
213
214     <!-- TEST -->
215     <dependency>
216       <groupId>org.assertj</groupId>
217       <artifactId>assertj-core</artifactId>
218       <scope>test</scope>
219     </dependency>
220
221     <dependency>
222       <groupId>org.springframework</groupId>
223       <artifactId>spring-test</artifactId>
224       <version>${spring.version}</version>
225       <scope>test</scope>
226     </dependency>
227
228     <dependency>
229       <groupId>org.junit.jupiter</groupId>
230       <artifactId>junit-jupiter</artifactId>
231       <version>${junitJupiter.version}</version>
232       <scope>test</scope>
233     </dependency>
234
235     <dependency>
236       <groupId>org.mockito</groupId>
237       <artifactId>mockito-junit-jupiter</artifactId>
238       <version>${mockitoJupiter.version}</version>
239       <scope>test</scope>
240     </dependency>
241
242     <dependency>
243       <groupId>org.apache.commons</groupId>
244       <artifactId>commons-jci-core</artifactId>
245       <version>${commons-jci-core.version}</version>
246       <scope>test</scope>
247     </dependency>
248
249     <dependency>
250       <groupId>org.springframework</groupId>
251       <artifactId>spring-expression</artifactId>
252       <version>${spring.version}</version>
253       <scope>test</scope>
254     </dependency>
255
256     <dependency>
257       <groupId>org.janusgraph</groupId>
258       <artifactId>janusgraph-core</artifactId>
259       <version>${janusgraph.version}</version>
260       <scope>provided</scope>
261       <exclusions>
262         <exclusion>
263           <groupId>org.json</groupId>
264           <artifactId>json</artifactId>
265         </exclusion>
266         <exclusion>
267           <artifactId>slf4j-log4j12</artifactId>
268           <groupId>org.slf4j</groupId>
269         </exclusion>
270         <exclusion>
271           <artifactId>commons-collections</artifactId>
272           <groupId>commons-collections</groupId>
273         </exclusion>
274         <exclusion>
275           <artifactId>groovy</artifactId>
276           <groupId>org.codehaus.groovy</groupId>
277         </exclusion>
278       </exclusions>
279     </dependency>
280
281     <dependency>
282       <groupId>org.janusgraph</groupId>
283       <artifactId>janusgraph-cassandra</artifactId>
284       <version>${janusgraph.version}</version>
285       <scope>provided</scope>
286       <exclusions>
287         <exclusion>
288           <groupId>org.slf4j</groupId>
289           <artifactId>slf4j-log4j12</artifactId>
290         </exclusion>
291       </exclusions>
292     </dependency>
293
294     <dependency>
295       <groupId>org.apache.commons</groupId>
296       <artifactId>commons-lang3</artifactId>
297       <version>${lang3.version}</version>
298       <scope>provided</scope>
299     </dependency>
300
301     <!-- CASSANDRA -->
302     <dependency>
303       <groupId>com.datastax.cassandra</groupId>
304       <artifactId>cassandra-driver-core</artifactId>
305       <version>${cassandra.driver.version}</version>
306       <scope>provided</scope>
307       <exclusions>
308         <exclusion>
309           <groupId>io.netty</groupId>
310           <artifactId>netty-handler</artifactId>
311         </exclusion>
312       </exclusions>
313     </dependency>
314     <dependency>
315       <groupId>com.datastax.cassandra</groupId>
316       <artifactId>cassandra-driver-mapping</artifactId>
317       <version>${cassandra.driver.version}</version>
318       <scope>provided</scope>
319     </dependency>
320     <dependency>
321       <groupId>com.datastax.oss</groupId>
322       <artifactId>java-driver-core</artifactId>
323       <version>${java.driver.core.version}</version>
324     </dependency>
325     <dependency>
326       <groupId>org.cassandraunit</groupId>
327       <artifactId>cassandra-unit</artifactId>
328       <version>${cassandra.unit.version}</version>
329       <scope>test</scope>
330       <exclusions>
331         <exclusion>
332           <groupId>org.apache.cassandra</groupId>
333           <artifactId>cassandra-all</artifactId>
334         </exclusion>
335         <exclusion>
336           <groupId>org.apache.thrift</groupId>
337           <artifactId>libthrift</artifactId>
338         </exclusion>
339       </exclusions>
340     </dependency>
341     <dependency>
342       <groupId>org.apache.cassandra</groupId>
343       <artifactId>cassandra-all</artifactId>
344       <version>3.11.3</version>
345       <scope>test</scope>
346     </dependency>
347     <!-- CASSANDRA END -->
348
349     <dependency>
350       <groupId>org.codehaus.groovy</groupId>
351       <artifactId>groovy</artifactId>
352     </dependency>
353   </dependencies>
354
355   <build>
356
357     <pluginManagement>
358       <plugins>
359         <!--This plugin's configuration is used to store Eclipse m2e settings
360           only. It has no influence on the Maven build itself. -->
361         <plugin>
362           <groupId>org.eclipse.m2e</groupId>
363           <artifactId>lifecycle-mapping</artifactId>
364           <version>1.0.0</version>
365           <configuration>
366             <lifecycleMappingMetadata>
367               <pluginExecutions>
368                 <pluginExecution>
369                   <pluginExecutionFilter>
370                     <groupId>fr.fastconnect</groupId>
371                     <artifactId>plantuml-maven-plugin</artifactId>
372                     <versionRange>[1.0.0,)</versionRange>
373                     <goals>
374                       <goal>plant</goal>
375                     </goals>
376                   </pluginExecutionFilter>
377                   <action>
378                     <ignore/>
379                   </action>
380                 </pluginExecution>
381               </pluginExecutions>
382             </lifecycleMappingMetadata>
383           </configuration>
384         </plugin>
385         <plugin>
386           <groupId>com.github.sylvainlaurent.maven</groupId>
387           <artifactId>yaml-json-validator-maven-plugin</artifactId>
388           <executions>
389             <execution>
390               <id>validate</id>
391               <phase>validate</phase>
392               <goals>
393                 <goal>validate</goal>
394               </goals>
395               <configuration>
396                 <validationSets>
397                   <validationSet>
398                     <includes>
399                       <include>src/main/resources/**/*.y*ml</include>
400                       <include>src/test/resources/**/*.y*ml</include>
401                     </includes>
402                   </validationSet>
403                   <validationSet>
404                     <includes>
405                       <include>src/main/resources/**/*.json</include>
406                       <include>src/test/resources/**/*.json</include>
407                     </includes>
408                   </validationSet>
409                 </validationSets>
410               </configuration>
411             </execution>
412           </executions>
413         </plugin>
414       </plugins>
415     </pluginManagement>
416   </build>
417 </project>