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