f2cc62cb7d6148005523a2718ab7e54253a73ada
[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.0-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     <developer>
69       <id>pgerakios</id>
70       <name>Prodromos Gerakios</name>
71       <email>pgerakios@grnet.gr</email>
72     </developer>
73   </developers>
74
75   <scm>
76     <url>http://code.grnet.gr/projects/aquarium/repository</url>
77     <connection>scm:git:https://code.grnet.gr/git/aquarium</connection>
78     <developerConnection>scm:git:https://code.grnet.gr/git/aquarium</developerConnection>
79   </scm>
80
81   <issueManagement>
82     <system>redmine</system>
83     <url>http://code.grnet.gr/projects/aquarium/issues</url>
84   </issueManagement>
85
86   <distributionManagement>
87     <repository>
88       <id>aq-release</id>
89       <name>Aquarium releases repo</name>
90       <url>http://aquarium.dev.grnet.gr:8081/nexus/content/repositories/releases</url>
91     </repository>
92     <snapshotRepository>
93       <id>aq-snapshot</id>
94       <name>Aquarium snapshots repo</name>
95       <url>http://aquarium.dev.grnet.gr:8081/nexus/content/repositories/snapshots</url>
96     </snapshotRepository>
97   </distributionManagement>
98
99   <!--Common project settings-->
100   <properties>
101     <scala.version>2.9.1</scala.version>
102     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
103     <project.reporting.outputEncoding>${project.build.sourceEncoding}
104     </project.reporting.outputEncoding>
105   </properties>
106
107   <!-- Lib and plugin repositories -->
108   <repositories>
109
110     <repository>
111       <id>java.net.maven2</id>
112       <name>java.net Maven2 Repository</name>
113       <url>http://download.java.net/maven/2/</url>
114     </repository>
115     
116     <repository>
117       <name>JBoss</name>
118       <id>jboss</id>
119       <url>http://repository.jboss.org/nexus/content/groups/public/</url>
120     </repository>
121
122     <repository>
123       <name>JBoss Scala-Tools</name>
124       <id>jboss-scala-tools</id>
125       <url>https://repository.jboss.org/nexus/content/repositories/scala-tools-releases</url>
126     </repository>
127
128     <repository>
129       <name>jcrontab</name>
130       <id>jcrontab</id>
131       <url>http://kenai.com/projects/crontab-parser/sources/maven-repo/content/</url>
132     </repository>
133
134     <repository>
135       <name>Typesafe</name>
136       <id>typesafe</id>
137       <url>http://repo.typesafe.com/typesafe/releases/</url>
138     </repository>
139
140     <repository>
141       <name>Twitter</name>
142       <id>twitter</id>
143       <url>http://maven.twttr.com/</url>
144     </repository>
145   </repositories>
146
147   <!-- Master properties (inherited by modules) -->
148   <dependencies>
149     <dependency>
150       <groupId>org.scala-lang</groupId>
151       <artifactId>scala-library</artifactId>
152       <version>${scala.version}</version>
153     </dependency>
154     <dependency>
155       <groupId>org.slf4j</groupId>
156       <artifactId>slf4j-api</artifactId>
157       <version>1.6.1</version>
158     </dependency>
159     <dependency>
160       <groupId>ch.qos.logback</groupId>
161       <artifactId>logback-classic</artifactId>
162       <version>0.9.29</version>
163     </dependency>
164     <dependency>
165       <groupId>org.scala-lang</groupId>
166       <artifactId>scala-compiler</artifactId>
167       <version>${scala.version}</version>
168     </dependency>
169     <dependency>
170       <groupId>junit</groupId>
171       <artifactId>junit</artifactId>
172       <version>4.10</version>
173       <scope>test</scope>
174     </dependency>
175
176     <dependency>
177       <groupId>com.fasterxml.jackson.core</groupId>
178       <artifactId>jackson-core</artifactId>
179       <version>2.0.2</version>
180     </dependency>
181
182     <dependency>
183       <groupId>com.fasterxml.jackson.core</groupId>
184       <artifactId>jackson-databind</artifactId>
185       <version>2.0.2</version>
186     </dependency>
187
188     <dependency>
189       <groupId>com.fasterxml.jackson.module</groupId>
190       <artifactId>jackson-module-scala</artifactId>
191       <version>2.0.2</version>
192     </dependency>
193
194     <dependency>
195       <groupId>net.liftweb</groupId>
196       <artifactId>lift-json_2.9.1</artifactId>
197       <version>2.4</version>
198     </dependency>
199
200     <dependency>
201       <groupId>net.liftweb</groupId>
202       <artifactId>lift-json-ext_2.9.1</artifactId>
203       <version>2.4</version>
204       <exclusions>
205         <exclusion>
206           <artifactId>joda-time</artifactId>
207           <groupId>joda-time</groupId>
208         </exclusion>
209       </exclusions>
210     </dependency>
211
212     <dependency>
213       <groupId>org.yaml</groupId>
214       <artifactId>snakeyaml</artifactId>
215       <version>1.9</version>
216     </dependency>
217
218     <dependency>
219       <groupId>com.kenai.crontab-parser</groupId>
220       <artifactId>crontab-parser</artifactId>
221       <version>1.0.1</version>
222     </dependency>
223
224     <dependency>
225       <groupId>com.rabbitmq</groupId>
226       <artifactId>amqp-client</artifactId>
227       <version>2.8.4</version>
228     </dependency>
229
230     <dependency>
231       <groupId>com.ckkloverdos</groupId>
232       <artifactId>jbootstrap</artifactId>
233       <version>3.0.0</version>
234     </dependency>
235
236     <dependency>
237       <groupId>com.ckkloverdos</groupId>
238       <artifactId>streamresource</artifactId>
239       <version>0.5.1</version>
240     </dependency>
241
242     <dependency>
243       <groupId>com.ckkloverdos</groupId>
244       <artifactId>maybe</artifactId>
245       <version>0.5.0</version>
246     </dependency>
247
248     <dependency>
249       <groupId>com.ckkloverdos</groupId>
250       <artifactId>converter</artifactId>
251       <version>0.5.0</version>
252       <exclusions>
253         <exclusion>
254           <artifactId>scala-library</artifactId>
255           <groupId>org.scala-lang</groupId>
256         </exclusion>
257         <exclusion>
258           <artifactId>logback-classic</artifactId>
259           <groupId>ch.qos.logback</groupId>
260         </exclusion>
261       </exclusions>
262     </dependency>
263
264     <dependency>
265       <groupId>com.ckkloverdos</groupId>
266       <artifactId>sysprop</artifactId>
267       <version>0.5.1</version>
268       <exclusions>
269         <exclusion>
270           <artifactId>scala-library</artifactId>
271           <groupId>org.scala-lang</groupId>
272         </exclusion>
273       </exclusions>
274     </dependency>
275
276     <dependency>
277       <groupId>com.ckkloverdos</groupId>
278       <artifactId>typedkey</artifactId>
279       <version>0.5.0</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>com.thoughtworks.xstream</groupId>
290       <artifactId>xstream</artifactId>
291       <version>1.4.1</version>
292     </dependency>
293
294     <dependency>
295       <groupId>org.mongodb</groupId>
296       <artifactId>mongo-java-driver</artifactId>
297       <version>2.7.2</version>
298     </dependency>
299
300     <dependency>
301       <groupId>com.typesafe.akka</groupId>
302       <artifactId>akka-actor</artifactId>
303       <version>2.0.2</version>
304     </dependency>
305
306     <dependency>
307       <groupId>com.typesafe.akka</groupId>
308       <artifactId>akka-remote</artifactId>
309       <version>2.0.2</version>
310     </dependency>
311
312     <dependency>
313       <groupId>com.typesafe.akka</groupId>
314       <artifactId>akka-slf4j</artifactId>
315       <version>2.0.2</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>com.twitter</groupId>
327       <artifactId>finagle-core_2.9.1</artifactId>
328       <version>4.0.2</version>
329     </dependency>
330
331     <dependency>
332       <groupId>com.twitter</groupId>
333       <artifactId>finagle-http_2.9.1</artifactId>
334       <version>4.0.2</version>
335     </dependency>
336
337     <dependency>
338       <groupId>com.google.guava</groupId>
339       <artifactId>guava</artifactId>
340       <version>12.0</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
355       <dependency> <!-- quartz stuff  -->
356           <groupId>org.quartz-scheduler</groupId>
357           <artifactId>quartz</artifactId>
358           <version>2.1.5</version>
359       </dependency>
360       <dependency>
361           <groupId>org.quartz-scheduler</groupId>
362           <artifactId>quartz-oracle</artifactId>
363           <version>2.1.5</version>
364       </dependency>
365       <dependency>
366           <groupId>org.quartz-scheduler</groupId>
367           <artifactId>quartz-weblogic</artifactId>
368           <version>2.1.5</version>
369       </dependency>
370       <dependency>
371           <groupId>org.quartz-scheduler</groupId>
372           <artifactId>quartz-jboss</artifactId>
373           <version>2.1.5</version>
374       </dependency>
375   </dependencies>
376
377   <!--Build configuration-->
378   <build>
379     <sourceDirectory>src/main/scala</sourceDirectory>
380     <testSourceDirectory>src/test/scala</testSourceDirectory>
381     <resources>
382       <resource>
383         <directory>${basedir}/src/main/resources</directory>
384         <excludes>
385           <exclude>aquarium.properties</exclude>
386         </excludes>
387       </resource>
388       <resource>
389         <directory>${project.build.directory}/generated-resources</directory>
390         <filtering>true</filtering>
391       </resource>
392     </resources>
393     <testResources>
394       <testResource>
395         <directory>${basedir}/src/test/resources</directory>
396       </testResource>
397       <testResource>
398         <directory>${project.build.directory}/generated-resources</directory>
399         <filtering>true</filtering>
400       </testResource>
401     </testResources>
402     <plugins>
403       <plugin>
404         <groupId>net.alchim31.maven</groupId>
405         <artifactId>scala-maven-plugin</artifactId>
406         <version>3.0.1</version>
407         <configuration>
408           <charset>${project.build.sourceEncoding}</charset>
409           <jvmArgs>
410             <jvmArg>-Xmx1024m</jvmArg>
411             <jvmArg>
412               -DpackageLinkDefs=file://${project.build.directory}/packageLinkDefs.properties
413             </jvmArg>
414           </jvmArgs>
415           <args>
416             <arg>-deprecation</arg>
417             <arg>-unchecked</arg>
418             <arg>-explaintypes</arg>
419           </args>
420         </configuration>
421         <executions>
422           <execution>
423             <goals>
424               <goal>compile</goal>
425               <goal>testCompile</goal>
426             </goals>
427           </execution>
428         </executions>
429       </plugin>
430       <!-- Redmine maven plugin -->
431       <plugin>
432         <groupId>org.nuiton.jredmine</groupId>
433         <artifactId>maven-jredmine-plugin</artifactId>
434         <version>1.2.2</version>
435       </plugin>
436       <!-- Produces configuration files for Intellij Idea -->
437       <plugin>
438         <groupId>org.apache.maven.plugins</groupId>
439         <artifactId>maven-idea-plugin</artifactId>
440         <version>2.2</version>
441         <configuration>
442           <downloadSources>true</downloadSources>
443           <downloadJavadocs>true</downloadJavadocs>
444         </configuration>
445       </plugin>
446       <!-- Make sure tests display failures at the console-->
447       <plugin>
448         <groupId>org.apache.maven.plugins</groupId>
449         <artifactId>maven-surefire-plugin</artifactId>
450         <version>2.9</version>
451         <configuration>
452           <useFile>false</useFile>
453           <reportFormat>plain</reportFormat>
454         </configuration>
455       </plugin>
456       <!-- Bundle up source code on release/snapshot -->
457       <plugin>
458         <groupId>org.apache.maven.plugins</groupId>
459         <artifactId>maven-source-plugin</artifactId>
460         <version>2.1.2</version>
461         <executions>
462           <execution>
463             <id>attach-sources</id>
464             <goals>
465               <goal>jar-no-fork</goal>
466             </goals>
467           </execution>
468         </executions>
469       </plugin>
470       <!-- Release plug-in configuration -->
471       <plugin>
472         <groupId>org.apache.maven.plugins</groupId>
473         <artifactId>maven-release-plugin</artifactId>
474         <version>2.2.1</version>
475         <configuration>
476           <preparationGoals>clean verify</preparationGoals>
477         </configuration>
478       </plugin>
479     </plugins>
480   </build>
481 </project>