Change Doubles to Strings in messages
[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
376     <dependency>
377       <groupId>org.apache.avro</groupId>
378       <artifactId>avro</artifactId>
379       <version>1.7.2</version>
380     </dependency>
381
382     <dependency>
383       <groupId>org.apache.avro</groupId>
384       <artifactId>avro-ipc</artifactId>
385       <version>1.7.2</version>
386     </dependency>
387   </dependencies>
388
389   <!--Build configuration-->
390   <build>
391     <sourceDirectory>src/main/scala</sourceDirectory>
392     <testSourceDirectory>src/test/scala</testSourceDirectory>
393     <resources>
394       <resource>
395         <directory>${basedir}/src/main/resources</directory>
396         <excludes>
397           <exclude>aquarium.properties</exclude>
398         </excludes>
399       </resource>
400       <resource>
401         <directory>${project.build.directory}/generated-resources</directory>
402         <filtering>true</filtering>
403       </resource>
404     </resources>
405     <testResources>
406       <testResource>
407         <directory>${basedir}/src/test/resources</directory>
408       </testResource>
409       <testResource>
410         <directory>${project.build.directory}/generated-resources</directory>
411         <filtering>true</filtering>
412       </testResource>
413     </testResources>
414     <plugins>
415       <plugin>
416         <groupId>org.apache.maven.plugins</groupId>
417         <artifactId>maven-compiler-plugin</artifactId>
418         <version>2.5.1</version>
419         <configuration>
420           <source>1.6</source>
421           <target>1.6</target>
422         </configuration>
423       </plugin>
424       <plugin>
425         <groupId>net.alchim31.maven</groupId>
426         <artifactId>scala-maven-plugin</artifactId>
427         <version>3.1.0</version>
428         <configuration>
429           <recompileMode>incremental</recompileMode>
430           <javacArgs>
431             <!--<javacArg>-Xlint:unchecked</javacArg>-->
432             <javacArg>-Xlint:deprecation</javacArg>
433           </javacArgs>
434
435           <charset>${project.build.sourceEncoding}</charset>
436
437           <jvmArgs>
438             <jvmArg>-Xmx1024m</jvmArg>
439             <jvmArg>
440               -DpackageLinkDefs=file://${project.build.directory}/packageLinkDefs.properties
441             </jvmArg>
442           </jvmArgs>
443
444           <args>
445             <arg>-deprecation</arg>
446             <arg>-unchecked</arg>
447             <arg>-explaintypes</arg>
448           </args>
449         </configuration>
450         <executions>
451           <execution>
452             <goals>
453               <goal>compile</goal>
454               <goal>testCompile</goal>
455             </goals>
456           </execution>
457         </executions>
458       </plugin>
459       <!-- Redmine maven plugin -->
460       <plugin>
461         <groupId>org.nuiton.jredmine</groupId>
462         <artifactId>maven-jredmine-plugin</artifactId>
463         <version>1.2.2</version>
464       </plugin>
465       <!-- Produces configuration files for Intellij Idea -->
466       <plugin>
467         <groupId>org.apache.maven.plugins</groupId>
468         <artifactId>maven-idea-plugin</artifactId>
469         <version>2.2</version>
470         <configuration>
471           <downloadSources>true</downloadSources>
472           <downloadJavadocs>true</downloadJavadocs>
473         </configuration>
474       </plugin>
475       <!-- Make sure tests display failures at the console-->
476       <plugin>
477         <groupId>org.apache.maven.plugins</groupId>
478         <artifactId>maven-surefire-plugin</artifactId>
479         <version>2.12.3</version>
480         <configuration>
481           <useFile>false</useFile>
482           <reportFormat>plain</reportFormat>
483         </configuration>
484       </plugin>
485       <!-- Bundle up source code on release/snapshot -->
486       <plugin>
487         <groupId>org.apache.maven.plugins</groupId>
488         <artifactId>maven-source-plugin</artifactId>
489         <version>2.2</version>
490         <executions>
491           <execution>
492             <id>attach-sources</id>
493             <goals>
494               <goal>jar-no-fork</goal>
495             </goals>
496           </execution>
497         </executions>
498       </plugin>
499       <!-- Release plug-in configuration -->
500       <plugin>
501         <groupId>org.apache.maven.plugins</groupId>
502         <artifactId>maven-release-plugin</artifactId>
503         <version>2.2.1</version>
504         <configuration>
505           <preparationGoals>clean verify</preparationGoals>
506         </configuration>
507       </plugin>
508
509       <plugin>
510         <groupId>org.apache.avro</groupId>
511         <artifactId>avro-maven-plugin</artifactId>
512         <version>1.7.1</version>
513         <executions>
514           <execution>
515             <id>schemas</id>
516             <phase>generate-sources</phase>
517             <goals>
518               <goal>schema</goal>
519               <goal>protocol</goal>
520               <goal>idl-protocol</goal>
521             </goals>
522             <configuration>
523               <excludes>
524                 <exclude>**/mapred/tether/**</exclude>
525               </excludes>
526               <stringType>String</stringType>
527               <sourceDirectory>${project.basedir}/src/main/avro/</sourceDirectory>
528               <outputDirectory>${project.basedir}/src/main/java/</outputDirectory>
529               <!--<outputDirectory>${project.build.directory}/generated-sources/java</outputDirectory>-->
530               <testSourceDirectory>${project.basedir}/src/test/avro/</testSourceDirectory>
531               <testOutputDirectory>${project.basedir}/src/test/java/</testOutputDirectory>
532             </configuration>
533           </execution>
534         </executions>
535       </plugin>
536       <!--<plugin>-->
537         <!--<groupId>org.apache.maven.plugins</groupId>-->
538         <!--<artifactId>maven-shade-plugin</artifactId>-->
539         <!--<version>1.7.1</version>-->
540         <!--<configuration>-->
541           <!--&lt;!&ndash; put your configurations here &ndash;&gt;-->
542         <!--</configuration>-->
543         <!--<executions>-->
544           <!--<execution>-->
545             <!--<phase>package</phase>-->
546             <!--<goals>-->
547               <!--<goal>shade</goal>-->
548             <!--</goals>-->
549           <!--</execution>-->
550         <!--</executions>-->
551       <!--</plugin>-->
552     </plugins>
553   </build>
554 </project>