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