Merge "pom update"
[sdc.git] / catalog-dao / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3         <modelVersion>4.0.0</modelVersion>
4
5         <groupId>org.openecomp.sdc.be</groupId>
6         <artifactId>catalog-dao</artifactId>
7
8
9         <parent>
10                 <groupId>org.openecomp.sdc</groupId>
11                 <artifactId>sdc-main</artifactId>
12                 <version>1.0.0-SNAPSHOT</version>
13         </parent>
14
15
16         <properties>
17                 <aspectj.version>1.7.4</aspectj.version>
18                 <hibernate-validator.version>5.3.4.Final</hibernate-validator.version>
19                 <groovy.version>2.3.5</groovy.version>
20                 <lucene.version>4.10.2</lucene.version>
21                 <mockito.version>1.9.0</mockito.version>
22                 <regex.version>3.0.3</regex.version>
23         </properties>
24
25
26         <dependencies>
27                 <dependency>
28                         <groupId>commons-logging</groupId>
29                         <artifactId>commons-logging</artifactId>
30                         <version>1.2.1-SNAPSHOT</version>
31                         <scope>provided</scope>
32                 </dependency>
33
34                 <dependency>
35                         <groupId>commons-codec</groupId>
36                         <artifactId>commons-codec</artifactId>
37                         <version>2.0-SNAPSHOT</version>
38                         <scope>provided</scope>
39                 </dependency>
40                 <dependency>
41                         <groupId>org.springframework</groupId>
42                         <artifactId>spring-core</artifactId>
43                         <version>${spring.version}</version>
44                         <scope>provided</scope>
45                 </dependency>
46
47                 <dependency>
48                         <groupId>org.springframework</groupId>
49                         <artifactId>spring-beans</artifactId>
50                         <version>${spring.version}</version>
51                         <scope>provided</scope>
52                 </dependency>
53
54                 <dependency>
55                         <groupId>org.springframework</groupId>
56                         <artifactId>spring-context</artifactId>
57                         <version>${spring.version}</version>
58                         <scope>provided</scope>
59                 </dependency>
60
61                 <dependency>
62                         <groupId>org.springframework</groupId>
63                         <artifactId>spring-context-support</artifactId>
64                         <version>${spring.version}</version>
65                         <scope>provided</scope>
66                 </dependency>
67
68                 <dependency>
69                         <groupId>org.springframework</groupId>
70                         <artifactId>spring-messaging</artifactId>
71                         <version>${spring.version}</version>
72                         <scope>provided</scope>
73                 </dependency>
74
75                 <dependency>
76                         <groupId>org.springframework</groupId>
77                         <artifactId>spring-web</artifactId>
78                         <version>${spring.version}</version>
79                         <scope>provided</scope>
80                 </dependency>
81
82                 <dependency>
83                         <groupId>org.springframework</groupId>
84                         <artifactId>spring-webmvc</artifactId>
85                         <version>${spring.version}</version>
86                         <scope>provided</scope>
87                 </dependency>
88
89                 <dependency>
90                         <groupId>org.springframework</groupId>
91                         <artifactId>spring-aop</artifactId>
92                         <version>${spring.version}</version>
93                         <scope>provided</scope>
94                 </dependency>
95
96                 <dependency>
97                         <groupId>org.springframework</groupId>
98                         <artifactId>spring-aspects</artifactId>
99                         <version>${spring.version}</version>
100                         <scope>provided</scope>
101                 </dependency>
102
103                 <dependency>
104                         <groupId>org.springframework</groupId>
105                         <artifactId>spring-test</artifactId>
106                         <version>${spring.version}</version>
107                         <scope>test</scope>
108                 </dependency>
109
110                 <dependency>
111                         <groupId>org.springframework</groupId>
112                         <artifactId>spring-expression</artifactId>
113                         <version>${spring.version}</version>
114                         <scope>test</scope>
115                 </dependency>
116
117                 <!-- Common of SD&C -->
118                 <dependency>
119                         <groupId>org.openecomp.sdc</groupId>
120                         <artifactId>common-app-api</artifactId>
121                         <version>${common-app-api.version}</version>
122                         <scope>provided</scope>
123                 </dependency>
124                 <dependency>
125                         <groupId>org.openecomp.sdc.be</groupId>
126                         <artifactId>common-be</artifactId>
127                         <version>${common-be.version}</version>
128                         <scope>provided</scope>
129                 </dependency>
130
131                 <dependency>
132                         <groupId>ch.qos.logback</groupId>
133                         <artifactId>logback-classic</artifactId>
134                         <scope>provided</scope>
135                 </dependency>
136
137                 <dependency>
138                         <groupId>ch.qos.logback</groupId>
139                         <artifactId>logback-core</artifactId>
140                         <scope>provided</scope>
141                 </dependency>
142
143                 <dependency>
144                         <groupId>org.elasticsearch</groupId>
145                         <artifactId>elasticsearch</artifactId>
146                         <scope>provided</scope>
147                 </dependency>
148
149                 <dependency>
150                         <groupId>org.elasticsearch.plugin</groupId>
151                         <artifactId>shield</artifactId>
152                         <version>${elastic-search.version}</version>
153                         <scope>provided</scope>
154                 </dependency>
155
156
157                 <!-- Elasticsearch delete by query was extracted to plugin: adding this 
158                         plugin requires updating elasticsearch.yml with: plugin.types: "DeleteByQueryPlugin" 
159                         and installing the plugin in the server -->
160                 <!-- <dependency> -->
161                 <!-- <groupId>org.elasticsearch.plugin</groupId> -->
162                 <!-- <artifactId>delete-by-query</artifactId> -->
163                 <!-- <scope>provided</scope> -->
164                 <!-- </dependency> -->
165
166
167                 <!-- SPRING -->
168
169                 <dependency>
170                         <groupId>org.aspectj</groupId>
171                         <artifactId>aspectjrt</artifactId>
172                         <version>${aspectj.version}</version>
173                 </dependency>
174
175                 <dependency>
176                         <groupId>org.aspectj</groupId>
177                         <artifactId>aspectjweaver</artifactId>
178                         <version>${aspectj.version}</version>
179                 </dependency>
180
181                 <dependency>
182                         <groupId>com.fasterxml.jackson.core</groupId>
183                         <artifactId>jackson-databind</artifactId>
184                         <scope>provided</scope>
185                 </dependency>
186
187                 <dependency>
188                         <groupId>org.slf4j</groupId>
189                         <artifactId>slf4j-api</artifactId>
190                         <scope>provided</scope>
191                 </dependency>
192                 <dependency>
193                         <groupId>com.googlecode.json-simple</groupId>
194                         <artifactId>json-simple</artifactId>
195                         <scope>provided</scope>
196
197                 </dependency>
198                 <dependency>
199                         <groupId>org.apache.lucene</groupId>
200                         <artifactId>lucene-regex</artifactId>
201                         <version>${regex.version}</version>
202                 </dependency>
203
204                 <dependency>
205                         <groupId>org.mockito</groupId>
206                         <artifactId>mockito-all</artifactId>
207                         <version>${mockito.version}</version><!--$NO-MVN-MAN-VER$ -->
208                 </dependency>
209
210                 <dependency>
211                         <groupId>org.yaml</groupId>
212                         <artifactId>snakeyaml</artifactId>
213                         <version>1.14</version>
214                         <scope>provided</scope>
215                 </dependency>
216
217                 <dependency>
218                         <groupId>com.google.code.gson</groupId>
219                         <artifactId>gson</artifactId>
220                         <version>2.3.1</version>
221                         <scope>provided</scope>
222                 </dependency>
223
224
225                 <dependency>
226                         <groupId>org.functionaljava</groupId>
227                         <artifactId>functionaljava</artifactId>
228                         <scope>provided</scope>
229                 </dependency>
230
231                 <!-- http client -->
232                 <dependency>
233                         <groupId>org.apache.httpcomponents</groupId>
234                         <artifactId>httpclient</artifactId>
235                         <scope>provided</scope>
236                 </dependency>
237
238                 <dependency>
239                         <groupId>org.apache.httpcomponents</groupId>
240                         <artifactId>httpcore</artifactId>
241                         <scope>provided</scope>
242                 </dependency>
243
244                 <dependency>
245                         <groupId>com.google.guava</groupId>
246                         <artifactId>guava</artifactId>
247                         <version>${guava.version}</version><!--$NO-MVN-MAN-VER$ -->
248                         <scope>provided</scope>
249                 </dependency>
250
251                 <!-- TEST -->
252
253                 <dependency>
254                         <groupId>junit</groupId>
255                         <artifactId>junit</artifactId>
256                         <scope>test</scope>
257                 </dependency>
258
259                 <dependency>
260                         <groupId>org.apache.commons</groupId>
261                         <artifactId>commons-jci-core</artifactId>
262                         <scope>test</scope>
263                 </dependency>
264
265                 <dependency>
266                         <groupId>org.springframework</groupId>
267                         <artifactId>spring-aop</artifactId>
268                         <version>${spring.version}</version>
269                         <scope>test</scope>
270                 </dependency>
271
272                 <!-- TITAN -->
273                 <dependency>
274                         <groupId>com.thinkaurelius.titan</groupId>
275                         <artifactId>titan-core</artifactId>
276                         <version>${titan.version}</version>
277                         <scope>provided</scope>
278                         <exclusions>
279                                 <exclusion>
280                                         <groupId>org.json</groupId>
281                                         <artifactId>json</artifactId>
282                                 </exclusion>
283                                 <exclusion>
284                                         <artifactId>slf4j-log4j12</artifactId>
285                                         <groupId>org.slf4j</groupId>
286                                 </exclusion>
287                         </exclusions>
288                 </dependency>
289
290                 <dependency>
291                         <groupId>com.thinkaurelius.titan</groupId>
292                         <artifactId>titan-cassandra</artifactId>
293                         <!--<artifactId>asdc-titan-cassandra</artifactId> -->
294                         <version>${titan.version}</version>
295                         <!--<version>1.0.0-snapshot</version> -->
296                         <scope>provided</scope>
297                         <exclusions>
298                                 <exclusion>
299                                         <groupId>org.slf4j</groupId>
300                                         <artifactId>slf4j-log4j12</artifactId>
301                                 </exclusion>
302                         </exclusions>
303                 </dependency>
304
305                 <dependency>
306                         <groupId>org.apache.commons</groupId>
307                         <artifactId>commons-lang3</artifactId>
308                         <scope>provided</scope>
309                 </dependency>
310
311                 <!-- TITAN END -->
312
313                 <!-- CASSANDRA -->
314                 <dependency>
315                         <groupId>com.datastax.cassandra</groupId>
316                         <artifactId>cassandra-driver-core</artifactId>
317                         <version>${cassandra.driver.version}</version>
318                         <scope>provided</scope>
319                 </dependency>
320                 <dependency>
321                         <groupId>com.datastax.cassandra</groupId>
322                         <artifactId>cassandra-driver-mapping</artifactId>
323                         <version>${cassandra.driver.version}</version>
324                         <scope>provided</scope>
325                 </dependency>
326                 <!-- CASSANDRA END -->
327
328
329         </dependencies>
330
331
332
333         <build>
334
335                 <pluginManagement>
336                         <plugins>
337                                 <!--This plugin's configuration is used to store Eclipse m2e settings 
338                                         only. It has no influence on the Maven build itself. -->
339                                 <plugin>
340                                         <groupId>org.eclipse.m2e</groupId>
341                                         <artifactId>lifecycle-mapping</artifactId>
342                                         <version>1.0.0</version>
343                                         <configuration>
344                                                 <lifecycleMappingMetadata>
345                                                         <pluginExecutions>
346                                                                 <pluginExecution>
347                                                                         <pluginExecutionFilter>
348                                                                                 <groupId>fr.fastconnect</groupId>
349                                                                                 <artifactId>plantuml-maven-plugin</artifactId>
350                                                                                 <versionRange>[1.0.0,)</versionRange>
351                                                                                 <goals>
352                                                                                         <goal>plant</goal>
353                                                                                 </goals>
354                                                                         </pluginExecutionFilter>
355                                                                         <action>
356                                                                                 <ignore />
357                                                                         </action>
358                                                                 </pluginExecution>
359                                                         </pluginExecutions>
360                                                 </lifecycleMappingMetadata>
361                                         </configuration>
362                                 </plugin>
363                                 <plugin>
364                                         <groupId>org.apache.maven.plugins</groupId>
365                                         <artifactId>maven-deploy-plugin</artifactId>
366                                         <version>2.7</version>
367                                         <configuration>
368                                                 <skip>true</skip>
369                                         </configuration>
370                                 </plugin>
371                         </plugins>
372                 </pluginManagement>
373         </build>
374
375
376         
377         <profiles>
378                 <profile>
379                         <id>Fortify</id>
380                         <activation>
381                                 <activeByDefault>false</activeByDefault>
382                         </activation>
383
384                         <build>
385                                 <plugins>
386                                         <plugin>
387                                                 <groupId>com.fortify.ps.maven.plugin</groupId>
388                                                 <artifactId>sca-maven-plugin</artifactId>
389                                                 <version>4.30</version>
390                                                 <configuration>
391                                                         <source>1.8</source>
392                                                         <buildId>${project.parent.artifactId}</buildId>
393                                                         <toplevelArtifactId>${project.parent.artifactId}</toplevelArtifactId>
394                                                 </configuration>
395                                         </plugin>
396                                 </plugins>
397                         </build>
398                 </profile>
399         </profiles>
400 </project>