WIP Resource event handling
[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     </dependency>
164     <dependency>
165       <groupId>junit</groupId>
166       <artifactId>junit</artifactId>
167       <version>4.10</version>
168       <scope>test</scope>
169     </dependency>
170     <dependency>
171       <groupId>net.liftweb</groupId>
172       <artifactId>lift-json_2.9.1</artifactId>
173       <version>2.4</version>
174     </dependency>
175
176     <dependency>
177       <groupId>net.liftweb</groupId>
178       <artifactId>lift-json-ext_2.9.1</artifactId>
179       <version>2.4</version>
180       <exclusions>
181         <exclusion>
182           <artifactId>joda-time</artifactId>
183           <groupId>joda-time</groupId>
184         </exclusion>
185       </exclusions>
186     </dependency>
187
188     <dependency>
189       <groupId>org.yaml</groupId>
190       <artifactId>snakeyaml</artifactId>
191       <version>1.9</version>
192     </dependency>
193
194     <dependency>
195       <groupId>com.kenai.crontab-parser</groupId>
196       <artifactId>crontab-parser</artifactId>
197       <version>1.0.1</version>
198     </dependency>
199
200     <dependency>
201       <groupId>com.rabbitmq</groupId>
202       <artifactId>amqp-client</artifactId>
203       <version>2.7.1</version>
204     </dependency>
205
206     <dependency>
207       <groupId>com.ckkloverdos</groupId>
208       <artifactId>jbootstrap</artifactId>
209       <version>3.0.0</version>
210     </dependency>
211
212     <dependency>
213       <groupId>com.ckkloverdos</groupId>
214       <artifactId>streamresource</artifactId>
215       <version>0.5.1</version>
216     </dependency>
217
218     <dependency>
219       <groupId>com.ckkloverdos</groupId>
220       <artifactId>maybe</artifactId>
221       <version>0.5.0</version>
222     </dependency>
223
224     <dependency>
225       <groupId>com.ckkloverdos</groupId>
226       <artifactId>converter</artifactId>
227       <version>0.5.0</version>
228       <exclusions>
229         <exclusion>
230           <artifactId>scala-library</artifactId>
231           <groupId>org.scala-lang</groupId>
232         </exclusion>
233         <exclusion>
234           <artifactId>logback-classic</artifactId>
235           <groupId>ch.qos.logback</groupId>
236         </exclusion>
237       </exclusions>
238     </dependency>
239
240     <dependency>
241       <groupId>com.ckkloverdos</groupId>
242       <artifactId>sysprop</artifactId>
243       <version>0.5.1</version>
244       <exclusions>
245         <exclusion>
246           <artifactId>scala-library</artifactId>
247           <groupId>org.scala-lang</groupId>
248         </exclusion>
249       </exclusions>
250     </dependency>
251
252     <dependency>
253       <groupId>com.ckkloverdos</groupId>
254       <artifactId>typedkey</artifactId>
255       <version>0.5.0</version>
256       <exclusions>
257         <exclusion>
258           <artifactId>scala-library</artifactId>
259           <groupId>org.scala-lang</groupId>
260         </exclusion>
261       </exclusions>
262     </dependency>
263
264     <dependency>
265       <groupId>com.thoughtworks.xstream</groupId>
266       <artifactId>xstream</artifactId>
267       <version>1.4.1</version>
268     </dependency>
269
270     <dependency>
271       <groupId>org.mongodb</groupId>
272       <artifactId>mongo-java-driver</artifactId>
273       <version>2.7.2</version>
274     </dependency>
275
276     <dependency>
277       <groupId>se.scalablesolutions.akka</groupId>
278       <artifactId>akka-actor</artifactId>
279       <version>1.3.1</version>
280       <exclusions>
281         <exclusion>
282           <artifactId>scala-library</artifactId>
283           <groupId>org.scala-lang</groupId>
284         </exclusion>
285       </exclusions>
286     </dependency>
287
288     <dependency>
289       <groupId>se.scalablesolutions.akka</groupId>
290       <artifactId>akka-remote</artifactId>
291       <version>1.3.1</version>
292       <exclusions>
293         <exclusion>
294           <artifactId>sjson_2.9.0</artifactId>
295           <groupId>net.debasishg</groupId>
296         </exclusion>
297         <exclusion>
298           <artifactId>akka-stm</artifactId>
299           <groupId>se.scalablesolutions.akka</groupId>
300         </exclusion>
301         <exclusion>
302           <artifactId>h2-lzf</artifactId>
303           <groupId>voldemort.store.compress</groupId>
304         </exclusion>
305         <exclusion>
306           <artifactId>akka-typed-actor</artifactId>
307           <groupId>se.scalablesolutions.akka</groupId>
308         </exclusion>
309       </exclusions>
310     </dependency>
311
312     <dependency>
313       <groupId>se.scalablesolutions.akka</groupId>
314       <artifactId>akka-slf4j</artifactId>
315       <version>1.3.1</version>
316     </dependency>
317 <!--
318     <dependency>
319       <groupId>se.scalablesolutions.akka</groupId>
320       <artifactId>akka-testkit</artifactId>
321       <version>1.3</version>
322       <scope>test</scope>
323     </dependency>-->
324
325     <dependency>
326       <groupId>cc.spray</groupId>
327       <artifactId>spray-can</artifactId>
328       <version>0.9.3</version>
329     </dependency>
330
331     <dependency>
332       <groupId>com.google.guava</groupId>
333       <artifactId>guava</artifactId>
334       <version>12.0</version>
335     </dependency>
336
337     <dependency>
338       <groupId>com.github.scopt</groupId>
339       <artifactId>scopt_${scala.version}</artifactId>
340       <version>2.0.1</version>
341     </dependency>
342
343     <dependency>
344       <groupId>joda-time</groupId>
345       <artifactId>joda-time</artifactId>
346       <version>2.0</version>
347     </dependency>
348
349     <dependency>
350       <groupId>org.joda</groupId>
351       <artifactId>joda-convert</artifactId>
352       <version>1.1</version>
353     </dependency>
354   </dependencies>
355
356   <!--Build configuration-->
357   <build>
358     <sourceDirectory>src/main/scala</sourceDirectory>
359     <testSourceDirectory>src/test/scala</testSourceDirectory>
360     <resources>
361       <resource>
362         <directory>${basedir}/src/main/resources</directory>
363         <excludes>
364           <exclude>aquarium.properties</exclude>
365         </excludes>
366       </resource>
367       <resource>
368         <directory>${project.build.directory}/generated-resources</directory>
369         <filtering>true</filtering>
370       </resource>
371     </resources>
372     <testResources>
373       <testResource>
374         <directory>${basedir}/src/test/resources</directory>
375       </testResource>
376       <testResource>
377         <directory>${project.build.directory}/generated-resources</directory>
378         <filtering>true</filtering>
379       </testResource>
380     </testResources>
381     <plugins>
382       <plugin>
383         <groupId>net.alchim31.maven</groupId>
384         <artifactId>scala-maven-plugin</artifactId>
385         <version>3.0.1</version>
386         <configuration>
387           <charset>${project.build.sourceEncoding}</charset>
388           <jvmArgs>
389             <jvmArg>-Xmx1024m</jvmArg>
390             <jvmArg>
391               -DpackageLinkDefs=file://${project.build.directory}/packageLinkDefs.properties
392             </jvmArg>
393           </jvmArgs>
394           <args>
395             <arg>-deprecation</arg>
396             <arg>-unchecked</arg>
397             <arg>-explaintypes</arg>
398           </args>
399         </configuration>
400         <executions>
401           <execution>
402             <goals>
403               <goal>compile</goal>
404               <goal>testCompile</goal>
405             </goals>
406           </execution>
407         </executions>
408       </plugin>
409       <!-- Redmine maven plugin -->
410       <plugin>
411         <groupId>org.nuiton.jredmine</groupId>
412         <artifactId>maven-jredmine-plugin</artifactId>
413         <version>1.2.2</version>
414       </plugin>
415       <!-- Produces configuration files for Intellij Idea -->
416       <plugin>
417         <groupId>org.apache.maven.plugins</groupId>
418         <artifactId>maven-idea-plugin</artifactId>
419         <version>2.2</version>
420         <configuration>
421           <downloadSources>true</downloadSources>
422           <downloadJavadocs>true</downloadJavadocs>
423         </configuration>
424       </plugin>
425       <!-- Make sure tests display failures at the console-->
426       <plugin>
427         <groupId>org.apache.maven.plugins</groupId>
428         <artifactId>maven-surefire-plugin</artifactId>
429         <version>2.9</version>
430         <configuration>
431           <useFile>false</useFile>
432           <reportFormat>plain</reportFormat>
433         </configuration>
434       </plugin>
435       <!-- Bundle up source code on release/snapshot -->
436       <plugin>
437         <groupId>org.apache.maven.plugins</groupId>
438         <artifactId>maven-source-plugin</artifactId>
439         <version>2.1.2</version>
440         <executions>
441           <execution>
442             <id>attach-sources</id>
443             <goals>
444               <goal>jar-no-fork</goal>
445             </goals>
446           </execution>
447         </executions>
448       </plugin>
449       <!-- Release plug-in configuration -->
450       <plugin>
451         <groupId>org.apache.maven.plugins</groupId>
452         <artifactId>maven-release-plugin</artifactId>
453         <version>2.2.1</version>
454         <configuration>
455           <preparationGoals>clean verify</preparationGoals>
456         </configuration>
457       </plugin>
458     </plugins>
459   </build>
460 </project>