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