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