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