Added oparent to sdc main
[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.5.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                 <!-- SPRING -->
66                 <dependency>
67                         <groupId>org.springframework</groupId>
68                         <artifactId>spring-context</artifactId>
69                         <version>${spring.version}</version>
70                         <scope>provided</scope>
71                 </dependency>
72
73                 <dependency>
74                         <groupId>org.springframework</groupId>
75                         <artifactId>spring-core</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                 <dependency>
241                         <groupId>org.janusgraph</groupId>
242                         <artifactId>janusgraph-core</artifactId>
243                         <version>${janusgraph.version}</version>
244                         <scope>provided</scope>
245                         <exclusions>
246                                 <exclusion>
247                                         <groupId>org.json</groupId>
248                                         <artifactId>json</artifactId>
249                                 </exclusion>
250                                 <exclusion>
251                                         <artifactId>slf4j-log4j12</artifactId>
252                                         <groupId>org.slf4j</groupId>
253                                 </exclusion>
254                                 <exclusion>
255                                         <artifactId>commons-collections</artifactId>
256                                         <groupId>commons-collections</groupId>
257                                 </exclusion>
258                                 <exclusion>
259                                         <artifactId>groovy</artifactId>
260                                         <groupId>org.codehaus.groovy</groupId>
261                                 </exclusion>
262                         </exclusions>
263                 </dependency>
264
265                 <dependency>
266                         <groupId>org.janusgraph</groupId>
267                         <artifactId>janusgraph-cassandra</artifactId>
268                         <version>${janusgraph.version}</version>
269                         <scope>provided</scope>
270                         <exclusions>
271                                 <exclusion>
272                                         <groupId>org.slf4j</groupId>
273                                         <artifactId>slf4j-log4j12</artifactId>
274                                 </exclusion>
275                         </exclusions>
276                 </dependency>
277
278                 <dependency>
279                         <groupId>org.apache.commons</groupId>
280                         <artifactId>commons-lang3</artifactId>
281                         <version>${lang3.version}</version>
282                         <scope>provided</scope>
283                 </dependency>
284
285                 <!-- CASSANDRA -->
286                 <dependency>
287                         <groupId>com.datastax.cassandra</groupId>
288                         <artifactId>cassandra-driver-core</artifactId>
289                         <version>${cassandra.driver.version}</version>
290                         <scope>provided</scope>
291                         <exclusions>
292                                 <exclusion>
293                                         <groupId>io.netty</groupId>
294                                         <artifactId>netty-handler</artifactId>
295                                 </exclusion>
296                         </exclusions>
297                 </dependency>
298                 <dependency>
299                         <groupId>com.datastax.cassandra</groupId>
300                         <artifactId>cassandra-driver-mapping</artifactId>
301                         <version>${cassandra.driver.version}</version>
302                         <scope>provided</scope>
303                 </dependency>
304                 <dependency>
305                         <groupId>org.cassandraunit</groupId>
306                         <artifactId>cassandra-unit</artifactId>
307                         <version>${cassandra.unit.version}</version>
308                         <scope>test</scope>
309                         <exclusions>
310                                 <exclusion>
311                                         <groupId>org.apache.cassandra</groupId>
312                                         <artifactId>cassandra-all</artifactId>
313                                 </exclusion>
314                                 <exclusion>
315                                         <groupId>org.apache.thrift</groupId>
316                                         <artifactId>libthrift</artifactId>
317                                 </exclusion>
318                         </exclusions>
319                 </dependency>
320                 <dependency>
321                         <groupId>org.apache.cassandra</groupId>
322                         <artifactId>cassandra-all</artifactId>
323                         <version>3.11.3</version>
324                         <scope>test</scope>
325                 </dependency>
326                 <dependency>
327                         <groupId>org.apache.thrift</groupId>
328                         <artifactId>libthrift</artifactId>
329                         <version>${libthrift.version}</version>
330                 </dependency>
331                 <!-- CASSANDRA END -->
332
333                 <dependency>
334                         <groupId>org.codehaus.groovy</groupId>
335                         <artifactId>groovy</artifactId>
336                 </dependency>
337         </dependencies>
338
339         <build>
340
341                 <pluginManagement>
342                         <plugins>
343                                 <!--This plugin's configuration is used to store Eclipse m2e settings
344                                         only. It has no influence on the Maven build itself. -->
345                                 <plugin>
346                                         <groupId>org.eclipse.m2e</groupId>
347                                         <artifactId>lifecycle-mapping</artifactId>
348                                         <version>1.0.0</version>
349                                         <configuration>
350                                                 <lifecycleMappingMetadata>
351                                                         <pluginExecutions>
352                                                                 <pluginExecution>
353                                                                         <pluginExecutionFilter>
354                                                                                 <groupId>fr.fastconnect</groupId>
355                                                                                 <artifactId>plantuml-maven-plugin</artifactId>
356                                                                                 <versionRange>[1.0.0,)</versionRange>
357                                                                                 <goals>
358                                                                                         <goal>plant</goal>
359                                                                                 </goals>
360                                                                         </pluginExecutionFilter>
361                                                                         <action>
362                                                                                 <ignore />
363                                                                         </action>
364                                                                 </pluginExecution>
365                                                         </pluginExecutions>
366                                                 </lifecycleMappingMetadata>
367                                         </configuration>
368                                 </plugin>
369                                 <plugin>
370                                         <groupId>com.github.sylvainlaurent.maven</groupId>
371                                         <artifactId>yaml-json-validator-maven-plugin</artifactId>
372                                         <executions>
373                                                 <execution>
374                                                         <id>validate</id>
375                                                         <phase>validate</phase>
376                                                         <goals>
377                                                                 <goal>validate</goal>
378                                                         </goals>
379                                                         <configuration>
380                                                                 <validationSets>
381                                                                         <validationSet>
382                                                                                 <includes>
383                                                                                         <include>src/main/resources/**/*.y*ml</include>
384                                                                                         <include>src/test/resources/**/*.y*ml</include>
385                                                                                 </includes>
386                                                                         </validationSet>
387                                                                         <validationSet>
388                                                                                 <includes>
389                                                                                         <include>src/main/resources/**/*.json</include>
390                                                                                         <include>src/test/resources/**/*.json</include>
391                                                                                 </includes>
392                                                                         </validationSet>
393                                                                 </validationSets>
394                                                         </configuration>
395                                                 </execution>
396                                         </executions>
397                                 </plugin>
398                         </plugins>
399                 </pluginManagement>
400         </build>
401 </project>