Forward only not-null events (ie parsed)
[aquarium] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ Copyright 2011 GRNET S.A. All rights reserved.
4   ~
5   ~ Redistribution and use in source and binary forms, with or
6   ~ without modification, are permitted provided that the following
7   ~ conditions are met:
8   ~
9   ~   1. Redistributions of source code must retain the above
10   ~      copyright notice, this list of conditions and the following
11   ~      disclaimer.
12   ~
13   ~   2. Redistributions in binary form must reproduce the above
14   ~      copyright notice, this list of conditions and the following
15   ~      disclaimer in the documentation and/or other materials
16   ~      provided with the distribution.
17   ~
18   ~ THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
19   ~ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20   ~ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21   ~ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
22   ~ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23   ~ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24   ~ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
25   ~ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
26   ~ AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27   ~ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
28   ~ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29   ~ POSSIBILITY OF SUCH DAMAGE.
30   ~
31   ~ The views and conclusions contained in the software and
32   ~ documentation are those of the authors and should not be
33   ~ interpreted as representing official policies, either expressed
34   ~ or implied, of GRNET S.A.
35   -->
36
37 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
38
39
40   <modelVersion>4.0.0</modelVersion>
41   <groupId>gr.grnet</groupId>
42   <artifactId>aquarium</artifactId>
43   <version>0.2-SNAPSHOT</version>
44
45   <!-- Project details-->
46   <name>Aquarium</name>
47   <description>
48     Accounting services for the Okeanos cloud
49   </description>
50   <url>http://code.grnet.gr/projects/aquarium</url>
51   <inceptionYear>2011</inceptionYear>
52   <organization>
53     <name>GRNet</name>
54     <url>http://www.grnet.gr/</url>
55   </organization>
56
57   <developers>
58     <developer>
59       <id>gousiosg</id>
60       <name>Georgios Gousios</name>
61       <email>gousiosg@grnet.gr</email>
62     </developer>
63     <developer>
64       <id>loverdos</id>
65       <name>Christos KK Loverdos</name>
66       <email>loverdos@grnet.gr</email>
67     </developer>
68   </developers>
69
70   <scm>
71     <url>http://code.grnet.gr/projects/aquarium/repository</url>
72     <connection>scm:git:https://code.grnet.gr/git/aquarium</connection>
73     <developerConnection>scm:git:https://code.grnet.gr/git/aquarium</developerConnection>
74   </scm>
75
76   <issueManagement>
77     <system>redmine</system>
78     <url>http://code.grnet.gr/projects/aquarium/issues</url>
79   </issueManagement>
80
81   <distributionManagement>
82     <repository>
83       <id>aq-release</id>
84       <name>Aquarium releases repo</name>
85       <url>http://aquarium.dev.grnet.gr:8081/nexus/content/repositories/releases</url>
86     </repository>
87     <snapshotRepository>
88       <id>aq-snapshot</id>
89       <name>Aquarium snapshots repo</name>
90       <url>http://aquarium.dev.grnet.gr:8081/nexus/content/repositories/snapshots</url>
91     </snapshotRepository>
92   </distributionManagement>
93
94   <!--Common project settings-->
95   <properties>
96     <scala.version>2.9.1</scala.version>
97     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
98     <project.reporting.outputEncoding>${project.build.sourceEncoding}
99     </project.reporting.outputEncoding>
100   </properties>
101
102   <!-- Lib and plugin repositories -->
103   <repositories>
104
105     <repository>
106       <id>java.net.maven2</id>
107       <name>java.net Maven2 Repository</name>
108       <url>http://download.java.net/maven/2/</url>
109     </repository>
110     
111     <repository>
112       <name>JBoss</name>
113       <id>jboss</id>
114       <url>http://repository.jboss.org/nexus/content/groups/public/</url>
115     </repository>
116
117     <repository>
118       <name>JBoss Scala-Tools</name>
119       <id>jboss-scala-tools</id>
120       <url>https://repository.jboss.org/nexus/content/repositories/scala-tools-releases</url>
121     </repository>
122
123     <repository>
124       <name>jcrontab</name>
125       <id>jcrontab</id>
126       <url>http://kenai.com/projects/crontab-parser/sources/maven-repo/content/</url>
127     </repository>
128
129     <repository>
130       <name>Typesafe</name>
131       <id>typesafe</id>
132       <url>http://repo.typesafe.com/typesafe/releases/</url>
133     </repository>
134
135     <repository>
136       <name>Spray</name>
137       <id>spray</id>
138       <url>http://repo.spray.cc/</url>
139     </repository>
140   </repositories>
141
142   <!-- Master properties (inherited by modules) -->
143   <dependencies>
144     <dependency>
145       <groupId>org.scala-lang</groupId>
146       <artifactId>scala-library</artifactId>
147       <version>${scala.version}</version>
148     </dependency>
149     <dependency>
150       <groupId>org.slf4j</groupId>
151       <artifactId>slf4j-api</artifactId>
152       <version>1.6.1</version>
153     </dependency>
154     <dependency>
155       <groupId>ch.qos.logback</groupId>
156       <artifactId>logback-classic</artifactId>
157       <version>0.9.29</version>
158     </dependency>
159     <dependency>
160       <groupId>org.scala-lang</groupId>
161       <artifactId>scala-compiler</artifactId>
162       <version>${scala.version}</version>
163       <scope>test</scope>
164     </dependency>
165     <dependency>
166       <groupId>junit</groupId>
167       <artifactId>junit</artifactId>
168       <version>4.10</version>
169       <scope>test</scope>
170     </dependency>
171     <dependency>
172       <groupId>net.liftweb</groupId>
173       <artifactId>lift-json_2.9.1</artifactId>
174       <version>2.4</version>
175     </dependency>
176
177     <dependency>
178       <groupId>net.liftweb</groupId>
179       <artifactId>lift-json-ext_2.9.1</artifactId>
180       <version>2.4</version>
181       <exclusions>
182         <exclusion>
183           <artifactId>joda-time</artifactId>
184           <groupId>joda-time</groupId>
185         </exclusion>
186       </exclusions>
187     </dependency>
188
189     <dependency>
190       <groupId>org.yaml</groupId>
191       <artifactId>snakeyaml</artifactId>
192       <version>1.9</version>
193     </dependency>
194
195     <dependency>
196       <groupId>com.kenai.crontab-parser</groupId>
197       <artifactId>crontab-parser</artifactId>
198       <version>1.0.1</version>
199     </dependency>
200
201     <dependency>
202       <groupId>com.rabbitmq</groupId>
203       <artifactId>amqp-client</artifactId>
204       <version>2.5.0</version>
205     </dependency>
206
207     <dependency>
208       <groupId>com.ckkloverdos</groupId>
209       <artifactId>jbootstrap</artifactId>
210       <version>3.0.0</version>
211     </dependency>
212
213     <dependency>
214       <groupId>com.ckkloverdos</groupId>
215       <artifactId>streamresource_2.9.1</artifactId>
216       <version>0.2.0</version>
217     </dependency>
218
219     <dependency>
220       <groupId>com.ckkloverdos</groupId>
221       <artifactId>maybe_2.9.1</artifactId>
222       <version>0.3.0</version>
223     </dependency>
224
225     <dependency>
226       <groupId>com.ckkloverdos</groupId>
227       <artifactId>converter_2.9.1</artifactId>
228       <version>0.3.0</version>
229     </dependency>
230
231     <dependency>
232       <groupId>com.ckkloverdos</groupId>
233       <artifactId>sysprop_2.9.1</artifactId>
234       <version>0.1.0</version>
235     </dependency>
236
237     <dependency>
238       <groupId>com.thoughtworks.xstream</groupId>
239       <artifactId>xstream</artifactId>
240       <version>1.4.1</version>
241     </dependency>
242
243     <dependency>
244       <groupId>org.mongodb</groupId>
245       <artifactId>mongo-java-driver</artifactId>
246       <version>2.7.2</version>
247     </dependency>
248
249     <dependency>
250       <groupId>se.scalablesolutions.akka</groupId>
251       <artifactId>akka-actor</artifactId>
252       <version>1.3.1</version>
253     </dependency>
254
255     <dependency>
256       <groupId>se.scalablesolutions.akka</groupId>
257       <artifactId>akka-remote</artifactId>
258       <version>1.3.1</version>
259       <exclusions>
260         <exclusion>
261           <artifactId>sjson_2.9.0</artifactId>
262           <groupId>net.debasishg</groupId>
263         </exclusion>
264         <exclusion>
265           <artifactId>akka-stm</artifactId>
266           <groupId>se.scalablesolutions.akka</groupId>
267         </exclusion>
268       </exclusions>
269     </dependency>
270
271     <dependency>
272       <groupId>se.scalablesolutions.akka</groupId>
273       <artifactId>akka-amqp</artifactId>
274       <version>1.3.1</version>
275     </dependency>
276
277     <dependency>
278       <groupId>se.scalablesolutions.akka</groupId>
279       <artifactId>akka-slf4j</artifactId>
280       <version>1.3.1</version>
281     </dependency>
282 <!--
283     <dependency>
284       <groupId>se.scalablesolutions.akka</groupId>
285       <artifactId>akka-testkit</artifactId>
286       <version>1.3</version>
287       <scope>test</scope>
288     </dependency>-->
289
290     <!--<dependency>-->
291       <!--<groupId>javax.ws.rs</groupId>-->
292       <!--<artifactId>jsr311-api</artifactId>-->
293       <!--<version>1.1.1</version>-->
294     <!--</dependency>-->
295
296     <dependency>
297       <groupId>cc.spray</groupId>
298       <artifactId>spray-can</artifactId>
299       <version>0.9.3</version>
300     </dependency>
301
302     <!--    <dependency>
303       <groupId>com.yammer.metrics</groupId>
304       <artifactId>metrics-core</artifactId>
305       <version>2.0.0-BETA18-SNAPSHOT</version>
306     </dependency>-->
307 <!--
308     <dependency>
309       <groupId>org.apache.lucene</groupId>
310       <artifactId>lucene-core</artifactId>
311       <version>3.5.0</version>
312     </dependency>-->
313
314     <dependency>
315       <groupId>com.google.guava</groupId>
316       <artifactId>guava</artifactId>
317       <version>11.0.2</version>
318     </dependency>
319
320     <dependency>
321       <groupId>org.apache.solr</groupId>
322       <artifactId>solr-core</artifactId>
323       <version>3.5.0</version>
324       <exclusions>
325
326         <exclusion>
327           <groupId>org.apache.lucene</groupId>
328           <artifactId>lucene-analyzers</artifactId>
329         </exclusion>
330
331         <exclusion>
332           <groupId>org.apache.lucene</groupId>
333           <artifactId>lucene-highlighter</artifactId>
334         </exclusion>
335
336         <exclusion>
337           <groupId>org.apache.lucene</groupId>
338           <artifactId>lucene-memory</artifactId>
339         </exclusion>
340
341         <exclusion>
342           <groupId>org.apache.lucene</groupId>
343           <artifactId>lucene-misc</artifactId>
344         </exclusion>
345
346         <exclusion>
347           <groupId>org.apache.lucene</groupId>
348           <artifactId>lucene-queries</artifactId>
349         </exclusion>
350
351         <exclusion>
352           <groupId>org.apache.lucene</groupId>
353           <artifactId>lucene-spatial</artifactId>
354         </exclusion>
355
356         <exclusion>
357           <groupId>org.apache.lucene</groupId>
358           <artifactId>lucene-spellchecker</artifactId>
359         </exclusion>
360
361         <exclusion>
362           <groupId>org.apache.lucene</groupId>
363           <artifactId>lucene-grouping</artifactId>
364         </exclusion>
365
366         <exclusion>
367           <groupId>org.apache.solr</groupId>
368           <artifactId>solr-commons-csv</artifactId>
369         </exclusion>
370
371         <exclusion>
372           <groupId>org.apache.solr</groupId>
373           <artifactId>solr-noggit</artifactId>
374         </exclusion>
375
376         <exclusion>
377           <groupId>org.apache.solr</groupId>
378           <artifactId>solr-solrj</artifactId>
379         </exclusion>
380
381         <exclusion>
382           <groupId>commons-fileupload</groupId>
383           <artifactId>commons-fileupload</artifactId>
384         </exclusion>
385
386         <exclusion>
387           <groupId>commons-httpclient</groupId>
388           <artifactId>commons-httpclient</artifactId>
389         </exclusion>
390
391         <exclusion>
392           <groupId>org.slf4j</groupId>
393           <artifactId>jcl-over-slf4j</artifactId>
394         </exclusion>
395
396         <exclusion>
397           <groupId>javax.servlet</groupId>
398           <artifactId>servlet-api</artifactId>
399         </exclusion>
400       </exclusions>
401     </dependency>
402
403     <dependency>
404       <groupId>com.github.scopt</groupId>
405       <artifactId>scopt_${scala.version}</artifactId>
406       <version>2.0.1</version>
407     </dependency>
408
409     <dependency>
410       <groupId>joda-time</groupId>
411       <artifactId>joda-time</artifactId>
412       <version>2.0</version>
413     </dependency>
414
415     <dependency>
416       <groupId>org.joda</groupId>
417       <artifactId>joda-convert</artifactId>
418       <version>1.1</version>
419     </dependency>
420   </dependencies>
421
422   <!--Build configuration-->
423   <build>
424     <sourceDirectory>src/main/scala</sourceDirectory>
425     <testSourceDirectory>src/test/scala</testSourceDirectory>
426     <resources>
427       <resource>
428         <directory>${basedir}/src/main/resources</directory>
429       </resource>
430       <resource>
431         <directory>${project.build.directory}/generated-resources</directory>
432         <filtering>true</filtering>
433       </resource>
434     </resources>
435     <testResources>
436       <testResource>
437         <directory>${basedir}/src/test/resources</directory>
438       </testResource>
439       <testResource>
440         <directory>${project.build.directory}/generated-resources</directory>
441         <filtering>true</filtering>
442       </testResource>
443     </testResources>
444     <plugins>
445       <plugin>
446         <groupId>net.alchim31.maven</groupId>
447         <artifactId>scala-maven-plugin</artifactId>
448         <version>3.0.1</version>
449         <configuration>
450           <charset>${project.build.sourceEncoding}</charset>
451           <jvmArgs>
452             <jvmArg>-Xmx1024m</jvmArg>
453             <jvmArg>
454               -DpackageLinkDefs=file://${project.build.directory}/packageLinkDefs.properties
455             </jvmArg>
456           </jvmArgs>
457           <args>
458             <arg>-deprecation</arg>
459             <arg>-unchecked</arg>
460             <arg>-explaintypes</arg>
461           </args>
462         </configuration>
463         <executions>
464           <execution>
465             <goals>
466               <goal>compile</goal>
467               <goal>testCompile</goal>
468             </goals>
469           </execution>
470         </executions>
471       </plugin>
472       <!-- Redmine maven plugin -->
473       <plugin>
474         <groupId>org.nuiton.jredmine</groupId>
475         <artifactId>maven-jredmine-plugin</artifactId>
476         <version>1.2.2</version>
477       </plugin>
478       <!-- Produces configuration files for Intellij Idea -->
479       <plugin>
480         <groupId>org.apache.maven.plugins</groupId>
481         <artifactId>maven-idea-plugin</artifactId>
482         <version>2.2</version>
483         <configuration>
484           <downloadSources>true</downloadSources>
485           <downloadJavadocs>true</downloadJavadocs>
486         </configuration>
487       </plugin>
488       <!-- Make sure tests display failures at the console-->
489       <plugin>
490         <groupId>org.apache.maven.plugins</groupId>
491         <artifactId>maven-surefire-plugin</artifactId>
492         <version>2.9</version>
493         <configuration>
494           <useFile>false</useFile>
495           <reportFormat>plain</reportFormat>
496         </configuration>
497       </plugin>
498       <!-- Bundle up source code on release/snapshot -->
499       <plugin>
500         <groupId>org.apache.maven.plugins</groupId>
501         <artifactId>maven-source-plugin</artifactId>
502         <version>2.1.2</version>
503         <executions>
504           <execution>
505             <id>attach-sources</id>
506             <goals>
507               <goal>jar-no-fork</goal>
508             </goals>
509           </execution>
510         </executions>
511       </plugin>
512       <!-- Release plug-in configuration -->
513       <plugin>
514         <groupId>org.apache.maven.plugins</groupId>
515         <artifactId>maven-release-plugin</artifactId>
516         <version>2.2.1</version>
517         <configuration>
518           <preparationGoals>clean verify</preparationGoals>
519         </configuration>
520       </plugin>
521     </plugins>
522   </build>
523 </project>