pom fix
[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                         <scope>provided</scope>
214                 </dependency>
215
216                 <dependency>
217                         <groupId>com.google.code.gson</groupId>
218                         <artifactId>gson</artifactId>
219                         <version>2.3.1</version>
220                         <scope>provided</scope>
221                 </dependency>
222
223
224                 <dependency>
225                         <groupId>org.functionaljava</groupId>
226                         <artifactId>functionaljava</artifactId>
227                         <scope>provided</scope>
228                 </dependency>
229
230                 <!-- http client -->
231                 <dependency>
232                         <groupId>org.apache.httpcomponents</groupId>
233                         <artifactId>httpclient</artifactId>
234                         <scope>provided</scope>
235                 </dependency>
236
237                 <dependency>
238                         <groupId>org.apache.httpcomponents</groupId>
239                         <artifactId>httpcore</artifactId>
240                         <scope>provided</scope>
241                 </dependency>
242
243                 <dependency>
244                         <groupId>com.google.guava</groupId>
245                         <artifactId>guava</artifactId>
246                         <version>${guava.version}</version><!--$NO-MVN-MAN-VER$ -->
247                         <scope>provided</scope>
248                 </dependency>
249
250                 <!-- TEST -->
251
252                 <dependency>
253                         <groupId>junit</groupId>
254                         <artifactId>junit</artifactId>
255                         <scope>test</scope>
256                 </dependency>
257
258                 <dependency>
259                         <groupId>org.apache.commons</groupId>
260                         <artifactId>commons-jci-core</artifactId>
261                         <scope>test</scope>
262                 </dependency>
263
264                 <dependency>
265                         <groupId>org.springframework</groupId>
266                         <artifactId>spring-aop</artifactId>
267                         <version>${spring.version}</version>
268                         <scope>test</scope>
269                 </dependency>
270
271                 <!-- TITAN -->
272                 <dependency>
273                         <groupId>com.thinkaurelius.titan</groupId>
274                         <artifactId>titan-core</artifactId>
275                         <version>${titan.version}</version>
276                         <scope>provided</scope>
277                         <exclusions>
278                                 <exclusion>
279                                         <groupId>org.json</groupId>
280                                         <artifactId>json</artifactId>
281                                 </exclusion>
282                                 <exclusion>
283                                         <artifactId>slf4j-log4j12</artifactId>
284                                         <groupId>org.slf4j</groupId>
285                                 </exclusion>
286                         </exclusions>
287                 </dependency>
288
289                 <dependency>
290                         <groupId>com.thinkaurelius.titan</groupId>
291                         <artifactId>titan-cassandra</artifactId>
292                         <!--<artifactId>asdc-titan-cassandra</artifactId> -->
293                         <version>${titan.version}</version>
294                         <!--<version>1.0.0-snapshot</version> -->
295                         <scope>provided</scope>
296                         <exclusions>
297                                 <exclusion>
298                                         <groupId>org.slf4j</groupId>
299                                         <artifactId>slf4j-log4j12</artifactId>
300                                 </exclusion>
301                         </exclusions>
302                 </dependency>
303
304                 <dependency>
305                         <groupId>org.apache.commons</groupId>
306                         <artifactId>commons-lang3</artifactId>
307                         <scope>provided</scope>
308                 </dependency>
309
310                 <!-- TITAN END -->
311
312                 <!-- CASSANDRA -->
313                 <dependency>
314                         <groupId>com.datastax.cassandra</groupId>
315                         <artifactId>cassandra-driver-core</artifactId>
316                         <version>${cassandra.driver.version}</version>
317                         <scope>provided</scope>
318                 </dependency>
319                 <dependency>
320                         <groupId>com.datastax.cassandra</groupId>
321                         <artifactId>cassandra-driver-mapping</artifactId>
322                         <version>${cassandra.driver.version}</version>
323                         <scope>provided</scope>
324                 </dependency>
325                 <!-- CASSANDRA END -->
326
327
328         </dependencies>
329
330
331
332         <build>
333
334                 <pluginManagement>
335                         <plugins>
336                                 <!--This plugin's configuration is used to store Eclipse m2e settings 
337                                         only. It has no influence on the Maven build itself. -->
338                                 <plugin>
339                                         <groupId>org.eclipse.m2e</groupId>
340                                         <artifactId>lifecycle-mapping</artifactId>
341                                         <version>1.0.0</version>
342                                         <configuration>
343                                                 <lifecycleMappingMetadata>
344                                                         <pluginExecutions>
345                                                                 <pluginExecution>
346                                                                         <pluginExecutionFilter>
347                                                                                 <groupId>fr.fastconnect</groupId>
348                                                                                 <artifactId>plantuml-maven-plugin</artifactId>
349                                                                                 <versionRange>[1.0.0,)</versionRange>
350                                                                                 <goals>
351                                                                                         <goal>plant</goal>
352                                                                                 </goals>
353                                                                         </pluginExecutionFilter>
354                                                                         <action>
355                                                                                 <ignore />
356                                                                         </action>
357                                                                 </pluginExecution>
358                                                         </pluginExecutions>
359                                                 </lifecycleMappingMetadata>
360                                         </configuration>
361                                 </plugin>
362                                 <plugin>
363                                         <groupId>org.apache.maven.plugins</groupId>
364                                         <artifactId>maven-deploy-plugin</artifactId>
365                                         <version>2.7</version>
366                                         <configuration>
367                                                 <skip>true</skip>
368                                         </configuration>
369                                 </plugin>
370                         </plugins>
371                 </pluginManagement>
372         </build>
373
374
375         
376         <profiles>
377                 <profile>
378                         <id>Fortify</id>
379                         <activation>
380                                 <activeByDefault>false</activeByDefault>
381                         </activation>
382
383                         <build>
384                                 <plugins>
385                                         <plugin>
386                                                 <groupId>com.fortify.ps.maven.plugin</groupId>
387                                                 <artifactId>sca-maven-plugin</artifactId>
388                                                 <version>4.30</version>
389                                                 <configuration>
390                                                         <source>1.8</source>
391                                                         <buildId>${project.parent.artifactId}</buildId>
392                                                         <toplevelArtifactId>${project.parent.artifactId}</toplevelArtifactId>
393                                                 </configuration>
394                                         </plugin>
395                                 </plugins>
396                         </build>
397                 </profile>
398         </profiles>
399 </project>