758544c1b92850ca5521a55bbdb022f3c395013e
[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.7.1</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</artifactId>
216       <version>0.5.0-SNAPSHOT</version>
217     </dependency>
218
219     <dependency>
220       <groupId>com.ckkloverdos</groupId>
221       <artifactId>maybe</artifactId>
222       <version>0.5.0-SNAPSHOT</version>
223     </dependency>
224
225     <dependency>
226       <groupId>com.ckkloverdos</groupId>
227       <artifactId>converter</artifactId>
228       <version>0.5.0-SNAPSHOT</version>
229     </dependency>
230
231     <dependency>
232       <groupId>com.ckkloverdos</groupId>
233       <artifactId>sysprop</artifactId>
234       <version>0.5.0-SNAPSHOT</version>
235     </dependency>
236
237     <dependency>
238       <groupId>com.ckkloverdos</groupId>
239       <artifactId>typedkey</artifactId>
240       <version>0.5.0-SNAPSHOT</version>
241     </dependency>
242
243     <dependency>
244       <groupId>com.thoughtworks.xstream</groupId>
245       <artifactId>xstream</artifactId>
246       <version>1.4.1</version>
247     </dependency>
248
249     <dependency>
250       <groupId>org.mongodb</groupId>
251       <artifactId>mongo-java-driver</artifactId>
252       <version>2.7.2</version>
253     </dependency>
254
255     <dependency>
256       <groupId>se.scalablesolutions.akka</groupId>
257       <artifactId>akka-actor</artifactId>
258       <version>1.3.1</version>
259     </dependency>
260
261     <dependency>
262       <groupId>se.scalablesolutions.akka</groupId>
263       <artifactId>akka-remote</artifactId>
264       <version>1.3.1</version>
265       <exclusions>
266         <exclusion>
267           <artifactId>sjson_2.9.0</artifactId>
268           <groupId>net.debasishg</groupId>
269         </exclusion>
270         <exclusion>
271           <artifactId>akka-stm</artifactId>
272           <groupId>se.scalablesolutions.akka</groupId>
273         </exclusion>
274       </exclusions>
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>cc.spray</groupId>
292       <artifactId>spray-can</artifactId>
293       <version>0.9.3</version>
294     </dependency>
295
296     <dependency>
297       <groupId>com.google.guava</groupId>
298       <artifactId>guava</artifactId>
299       <version>12.0</version>
300     </dependency>
301
302     <dependency>
303       <groupId>com.github.scopt</groupId>
304       <artifactId>scopt_${scala.version}</artifactId>
305       <version>2.0.1</version>
306     </dependency>
307
308     <dependency>
309       <groupId>joda-time</groupId>
310       <artifactId>joda-time</artifactId>
311       <version>2.0</version>
312     </dependency>
313
314     <dependency>
315       <groupId>org.joda</groupId>
316       <artifactId>joda-convert</artifactId>
317       <version>1.1</version>
318     </dependency>
319   </dependencies>
320
321   <!--Build configuration-->
322   <build>
323     <sourceDirectory>src/main/scala</sourceDirectory>
324     <testSourceDirectory>src/test/scala</testSourceDirectory>
325     <resources>
326       <resource>
327         <directory>${basedir}/src/main/resources</directory>
328       </resource>
329       <resource>
330         <directory>${project.build.directory}/generated-resources</directory>
331         <filtering>true</filtering>
332       </resource>
333     </resources>
334     <testResources>
335       <testResource>
336         <directory>${basedir}/src/test/resources</directory>
337       </testResource>
338       <testResource>
339         <directory>${project.build.directory}/generated-resources</directory>
340         <filtering>true</filtering>
341       </testResource>
342     </testResources>
343     <plugins>
344       <plugin>
345         <groupId>net.alchim31.maven</groupId>
346         <artifactId>scala-maven-plugin</artifactId>
347         <version>3.0.1</version>
348         <configuration>
349           <charset>${project.build.sourceEncoding}</charset>
350           <jvmArgs>
351             <jvmArg>-Xmx1024m</jvmArg>
352             <jvmArg>
353               -DpackageLinkDefs=file://${project.build.directory}/packageLinkDefs.properties
354             </jvmArg>
355           </jvmArgs>
356           <args>
357             <arg>-deprecation</arg>
358             <arg>-unchecked</arg>
359             <arg>-explaintypes</arg>
360           </args>
361         </configuration>
362         <executions>
363           <execution>
364             <goals>
365               <goal>compile</goal>
366               <goal>testCompile</goal>
367             </goals>
368           </execution>
369         </executions>
370       </plugin>
371       <!-- Redmine maven plugin -->
372       <plugin>
373         <groupId>org.nuiton.jredmine</groupId>
374         <artifactId>maven-jredmine-plugin</artifactId>
375         <version>1.2.2</version>
376       </plugin>
377       <!-- Produces configuration files for Intellij Idea -->
378       <plugin>
379         <groupId>org.apache.maven.plugins</groupId>
380         <artifactId>maven-idea-plugin</artifactId>
381         <version>2.2</version>
382         <configuration>
383           <downloadSources>true</downloadSources>
384           <downloadJavadocs>true</downloadJavadocs>
385         </configuration>
386       </plugin>
387       <!-- Make sure tests display failures at the console-->
388       <plugin>
389         <groupId>org.apache.maven.plugins</groupId>
390         <artifactId>maven-surefire-plugin</artifactId>
391         <version>2.9</version>
392         <configuration>
393           <useFile>false</useFile>
394           <reportFormat>plain</reportFormat>
395         </configuration>
396       </plugin>
397       <!-- Bundle up source code on release/snapshot -->
398       <plugin>
399         <groupId>org.apache.maven.plugins</groupId>
400         <artifactId>maven-source-plugin</artifactId>
401         <version>2.1.2</version>
402         <executions>
403           <execution>
404             <id>attach-sources</id>
405             <goals>
406               <goal>jar-no-fork</goal>
407             </goals>
408           </execution>
409         </executions>
410       </plugin>
411       <!-- Release plug-in configuration -->
412       <plugin>
413         <groupId>org.apache.maven.plugins</groupId>
414         <artifactId>maven-release-plugin</artifactId>
415         <version>2.2.1</version>
416         <configuration>
417           <preparationGoals>clean verify</preparationGoals>
418         </configuration>
419       </plugin>
420     </plugins>
421   </build>
422 </project>