Prepare for Junit5
[sdc.git] / catalog-model / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4
5   <modelVersion>4.0.0</modelVersion>
6
7   <groupId>org.openecomp.sdc.be</groupId>
8   <artifactId>catalog-model</artifactId>
9
10   <parent>
11     <groupId>org.openecomp.sdc</groupId>
12     <artifactId>sdc-main</artifactId>
13     <version>1.7.0-SNAPSHOT</version>
14   </parent>
15
16   <dependencies>
17     <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
18     <dependency>
19       <groupId>org.junit.jupiter</groupId>
20       <artifactId>junit-jupiter-engine</artifactId>
21       <version>${junitJupiter.version}</version>
22       <scope>test</scope>
23     </dependency>
24     <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API  -->
25     <dependency>
26       <groupId>org.junit.vintage</groupId>
27       <artifactId>junit-vintage-engine</artifactId>
28       <version>${junitJupiter.version}</version>
29     </dependency>
30
31     <!-- Common of SDC -->
32     <dependency>
33       <groupId>org.openecomp.sdc</groupId>
34       <artifactId>common-app-api</artifactId>
35       <version>${project.version}</version>
36       <scope>provided</scope>
37     </dependency>
38
39     <dependency>
40       <groupId>org.openecomp.sdc.be</groupId>
41       <artifactId>common-be</artifactId>
42       <version>${project.version}</version>
43       <scope>provided</scope>
44     </dependency>
45
46     <dependency>
47       <groupId>ch.qos.logback</groupId>
48       <artifactId>logback-classic</artifactId>
49       <version>${logback.version}</version>
50       <scope>provided</scope>
51     </dependency>
52     <dependency>
53       <groupId>com.google.code.bean-matchers</groupId>
54       <artifactId>bean-matchers</artifactId>
55       <version>${bean-matcher.version}</version>
56       <scope>test</scope>
57     </dependency>
58
59     <dependency>
60       <groupId>ch.qos.logback</groupId>
61       <artifactId>logback-core</artifactId>
62       <version>${logback.version}</version>
63       <scope>provided</scope>
64     </dependency>
65
66     <!-- catalog dao -->
67     <dependency>
68       <groupId>org.openecomp.sdc.be</groupId>
69       <artifactId>catalog-dao</artifactId>
70       <version>${project.version}</version>
71       <scope>provided</scope>
72     </dependency>
73
74     <dependency>
75       <groupId>com.google.guava</groupId>
76       <artifactId>guava</artifactId>
77       <version>${guava.version}</version><!--$NO-MVN-MAN-VER$ -->
78       <scope>provided</scope>
79     </dependency>
80
81     <dependency>
82       <groupId>org.functionaljava</groupId>
83       <artifactId>functionaljava</artifactId>
84       <version>${functionaljava.version}</version>
85       <scope>provided</scope>
86     </dependency>
87
88     <!-- spring -->
89
90     <dependency>
91       <groupId>org.springframework</groupId>
92       <artifactId>spring-core</artifactId>
93       <version>${spring.version}</version>
94       <scope>provided</scope>
95     </dependency>
96
97     <dependency>
98       <groupId>org.springframework</groupId>
99       <artifactId>spring-beans</artifactId>
100       <version>${spring.version}</version>
101       <scope>provided</scope>
102     </dependency>
103
104     <dependency>
105       <groupId>org.springframework</groupId>
106       <artifactId>spring-context</artifactId>
107       <version>${spring.version}</version>
108       <scope>provided</scope>
109     </dependency>
110
111     <dependency>
112       <groupId>javax.validation</groupId>
113       <artifactId>validation-api</artifactId>
114       <version>1.1.0.Final</version>
115     </dependency>
116
117     <dependency>
118       <groupId>org.hibernate</groupId>
119       <artifactId>hibernate-validator</artifactId>
120       <version>5.3.6.Final</version>
121     </dependency>
122
123     <!-- Gson -->
124     <dependency>
125       <groupId>com.google.code.gson</groupId>
126       <artifactId>gson</artifactId>
127       <version>${gson.version}</version>
128       <scope>provided</scope>
129     </dependency>
130
131     <dependency>
132       <groupId>org.janusgraph</groupId>
133       <artifactId>janusgraph-core</artifactId>
134       <version>${janusgraph.version}</version>
135       <scope>provided</scope>
136       <exclusions>
137         <exclusion>
138           <groupId>org.json</groupId>
139           <artifactId>json</artifactId>
140         </exclusion>
141         <exclusion>
142           <artifactId>slf4j-log4j12</artifactId>
143           <groupId>org.slf4j</groupId>
144         </exclusion>
145         <exclusion>
146           <artifactId>commons-collections</artifactId>
147           <groupId>commons-collections</groupId>
148         </exclusion>
149         <exclusion>
150           <artifactId>groovy</artifactId>
151           <groupId>org.codehaus.groovy</groupId>
152         </exclusion>
153         <exclusion>
154           <groupId>org.apache.thrift</groupId>
155           <artifactId>libthrift</artifactId>
156         </exclusion>
157       </exclusions>
158     </dependency>
159
160     <dependency>
161       <groupId>org.janusgraph</groupId>
162       <artifactId>janusgraph-cassandra</artifactId>
163       <version>${janusgraph.version}</version>
164       <scope>provided</scope>
165       <exclusions>
166         <exclusion>
167           <artifactId>slf4j-log4j12</artifactId>
168           <groupId>org.slf4j</groupId>
169         </exclusion>
170       </exclusions>
171     </dependency>
172
173     <dependency>
174       <groupId>org.apache.commons</groupId>
175       <artifactId>commons-lang3</artifactId>
176       <version>${lang3.version}</version>
177       <scope>provided</scope>
178     </dependency>
179
180     <!-- http client -->
181     <dependency>
182       <groupId>org.apache.httpcomponents</groupId>
183       <artifactId>httpclient</artifactId>
184       <version>${httpclient.version}</version>
185       <scope>provided</scope>
186     </dependency>
187
188     <dependency>
189       <groupId>org.apache.httpcomponents</groupId>
190       <artifactId>httpcore</artifactId>
191       <version>${httpcore.version}</version>
192       <scope>provided</scope>
193     </dependency>
194
195     <!-- CASSANDRA -->
196     <dependency>
197       <groupId>com.datastax.cassandra</groupId>
198       <artifactId>cassandra-driver-core</artifactId>
199       <version>${cassandra.driver.version}</version>
200       <scope>provided</scope>
201     </dependency>
202     <dependency>
203       <groupId>com.datastax.cassandra</groupId>
204       <artifactId>cassandra-driver-mapping</artifactId>
205       <version>${cassandra.driver.version}</version>
206       <scope>provided</scope>
207     </dependency>
208     <!-- CASSANDRA END -->
209
210     <dependency>
211       <groupId>org.junit.jupiter</groupId>
212       <artifactId>junit-jupiter</artifactId>
213       <version>${junitJupiter.version}</version>
214       <scope>test</scope>
215     </dependency>
216
217     <dependency>
218       <groupId>org.mockito</groupId>
219       <artifactId>mockito-junit-jupiter</artifactId>
220       <version>${mockitoJupiter.version}</version>
221       <scope>test</scope>
222     </dependency>
223
224     <dependency>
225       <groupId>org.mockito</groupId>
226       <artifactId>mockito-core</artifactId>
227       <scope>test</scope>
228     </dependency>
229
230     <dependency>
231       <groupId>org.jmockit</groupId>
232       <artifactId>jmockit</artifactId>
233       <scope>test</scope>
234     </dependency>
235
236     <dependency>
237       <groupId>org.assertj</groupId>
238       <artifactId>assertj-core</artifactId>
239       <scope>test</scope>
240     </dependency>
241
242     <dependency>
243       <groupId>org.springframework</groupId>
244       <artifactId>spring-test</artifactId>
245       <version>${spring.version}</version>
246       <scope>test</scope>
247     </dependency>
248
249     <dependency>
250       <groupId>org.aspectj</groupId>
251       <artifactId>aspectjrt</artifactId>
252       <version>${aspectj.version}</version>
253       <scope>test</scope>
254     </dependency>
255
256     <dependency>
257       <groupId>org.aspectj</groupId>
258       <artifactId>aspectjweaver</artifactId>
259       <version>${aspectj.version}</version>
260       <scope>test</scope>
261     </dependency>
262
263     <dependency>
264       <groupId>org.springframework</groupId>
265       <artifactId>spring-web</artifactId>
266       <version>${spring.version}</version>
267       <scope>test</scope>
268     </dependency>
269
270     <dependency>
271       <groupId>org.springframework</groupId>
272       <artifactId>spring-tx</artifactId>
273       <scope>test</scope>
274       <version>4.0.7.RELEASE</version>
275     </dependency>
276
277     <dependency>
278       <groupId>org.apache.commons</groupId>
279       <artifactId>commons-jci-core</artifactId>
280       <version>${commons-jci-core.version}</version>
281       <scope>test</scope>
282     </dependency>
283     <dependency>
284       <groupId>org.powermock</groupId>
285       <artifactId>powermock-module-junit4</artifactId>
286       <version>${powermock.version}</version>
287       <scope>test</scope>
288     </dependency>
289     <dependency>
290       <groupId>org.powermock</groupId>
291       <artifactId>powermock-api-mockito-common</artifactId>
292       <version>1.7.4</version>
293       <scope>test</scope>
294     </dependency>
295
296     <dependency>
297       <groupId>org.codehaus.groovy</groupId>
298       <artifactId>groovy</artifactId>
299     </dependency>
300
301     <dependency>
302       <groupId>io.netty</groupId>
303       <artifactId>netty-all</artifactId>
304     </dependency>
305     <dependency>
306       <groupId>org.apache.commons</groupId>
307       <artifactId>commons-collections4</artifactId>
308       <version>${commons.collections.version}</version>
309     </dependency>
310
311     <dependency>
312       <groupId>io.netty</groupId>
313       <artifactId>netty-handler</artifactId>
314     </dependency>
315     <dependency>
316       <groupId>org.projectlombok</groupId>
317       <artifactId>lombok</artifactId>
318       <version>${lombok.version}</version>
319     </dependency>
320     <dependency>
321       <groupId>joda-time</groupId>
322       <artifactId>joda-time</artifactId>
323       <version>${joda.time.version}</version>
324     </dependency>
325
326   </dependencies>
327   <build>
328     <plugins>
329       <plugin>
330         <groupId>org.apache.maven.plugins</groupId>
331         <artifactId>maven-deploy-plugin</artifactId>
332         <configuration>
333           <skip>true</skip>
334         </configuration>
335       </plugin>
336       <plugin>
337         <groupId>com.github.sylvainlaurent.maven</groupId>
338         <artifactId>yaml-json-validator-maven-plugin</artifactId>
339         <executions>
340           <execution>
341             <id>validate</id>
342             <phase>validate</phase>
343             <goals>
344               <goal>validate</goal>
345             </goals>
346             <configuration>
347               <validationSets>
348                 <validationSet>
349                   <includes>
350                     <include>src/main/resources/**/*.y*ml</include>
351                     <include>src/test/resources/**/*.y*ml</include>
352                   </includes>
353                 </validationSet>
354                 <validationSet>
355                   <includes>
356                     <include>src/main/resources/**/*.json</include>
357                     <include>src/test/resources/**/*.json</include>
358                   </includes>
359                 </validationSet>
360               </validationSets>
361             </configuration>
362           </execution>
363         </executions>
364       </plugin>
365     </plugins>
366   </build>
367 </project>