Add some toXXXString utility methods
[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>org.scala-lang</groupId>
156       <artifactId>scala-compiler</artifactId>
157       <version>${scala.version}</version>
158       <scope>test</scope>
159     </dependency>
160     <dependency>
161       <groupId>junit</groupId>
162       <artifactId>junit</artifactId>
163       <version>4.10</version>
164       <scope>test</scope>
165     </dependency>
166     <dependency>
167       <groupId>org.slf4j</groupId>
168       <artifactId>slf4j-log4j12</artifactId>
169       <version>1.6.3</version>
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>streamresource_2.9.1</artifactId>
210       <version>0.2.0</version>
211     </dependency>
212
213     <dependency>
214       <groupId>com.ckkloverdos</groupId>
215       <artifactId>maybe_2.9.1</artifactId>
216       <version>0.3.0</version>
217     </dependency>
218
219     <dependency>
220       <groupId>com.ckkloverdos</groupId>
221       <artifactId>converter_2.9.1</artifactId>
222       <version>0.3.0</version>
223     </dependency>
224
225     <dependency>
226       <groupId>com.ckkloverdos</groupId>
227       <artifactId>sysprop_2.9.1</artifactId>
228       <version>0.1.0</version>
229     </dependency>
230
231     <dependency>
232       <groupId>com.thoughtworks.xstream</groupId>
233       <artifactId>xstream</artifactId>
234       <version>1.4.1</version>
235     </dependency>
236
237     <dependency>
238       <groupId>org.mongodb</groupId>
239       <artifactId>mongo-java-driver</artifactId>
240       <version>2.7.2</version>
241     </dependency>
242
243     <dependency>
244       <groupId>se.scalablesolutions.akka</groupId>
245       <artifactId>akka-actor</artifactId>
246       <version>1.3</version>
247     </dependency>
248
249     <dependency>
250       <groupId>se.scalablesolutions.akka</groupId>
251       <artifactId>akka-remote</artifactId>
252       <version>1.3</version>
253       <exclusions>
254         <exclusion>
255           <artifactId>sjson_2.9.0</artifactId>
256           <groupId>net.debasishg</groupId>
257         </exclusion>
258         <exclusion>
259           <artifactId>akka-stm</artifactId>
260           <groupId>se.scalablesolutions.akka</groupId>
261         </exclusion>
262       </exclusions>
263     </dependency>
264
265     <dependency>
266       <groupId>se.scalablesolutions.akka</groupId>
267       <artifactId>akka-amqp</artifactId>
268       <version>1.3</version>
269     </dependency>
270
271     <dependency>
272       <groupId>se.scalablesolutions.akka</groupId>
273       <artifactId>akka-slf4j</artifactId>
274       <version>1.3</version>
275     </dependency>
276 <!--
277     <dependency>
278       <groupId>se.scalablesolutions.akka</groupId>
279       <artifactId>akka-testkit</artifactId>
280       <version>1.3</version>
281       <scope>test</scope>
282     </dependency>-->
283
284     <!--<dependency>-->
285       <!--<groupId>javax.ws.rs</groupId>-->
286       <!--<artifactId>jsr311-api</artifactId>-->
287       <!--<version>1.1.1</version>-->
288     <!--</dependency>-->
289
290     <dependency>
291       <groupId>cc.spray</groupId>
292       <artifactId>spray-can</artifactId>
293       <version>0.9.2</version>
294     </dependency>
295
296     <!--    <dependency>
297       <groupId>com.yammer.metrics</groupId>
298       <artifactId>metrics-core</artifactId>
299       <version>2.0.0-BETA18-SNAPSHOT</version>
300     </dependency>-->
301 <!--
302     <dependency>
303       <groupId>org.apache.lucene</groupId>
304       <artifactId>lucene-core</artifactId>
305       <version>3.5.0</version>
306     </dependency>-->
307
308     <dependency>
309       <groupId>org.apache.solr</groupId>
310       <artifactId>solr-core</artifactId>
311       <version>3.5.0</version>
312       <exclusions>
313
314         <exclusion>
315           <groupId>org.apache.lucene</groupId>
316           <artifactId>lucene-analyzers</artifactId>
317         </exclusion>
318
319         <exclusion>
320           <groupId>org.apache.lucene</groupId>
321           <artifactId>lucene-highlighter</artifactId>
322         </exclusion>
323
324         <exclusion>
325           <groupId>org.apache.lucene</groupId>
326           <artifactId>lucene-memory</artifactId>
327         </exclusion>
328
329         <exclusion>
330           <groupId>org.apache.lucene</groupId>
331           <artifactId>lucene-misc</artifactId>
332         </exclusion>
333
334         <exclusion>
335           <groupId>org.apache.lucene</groupId>
336           <artifactId>lucene-queries</artifactId>
337         </exclusion>
338
339         <exclusion>
340           <groupId>org.apache.lucene</groupId>
341           <artifactId>lucene-spatial</artifactId>
342         </exclusion>
343
344         <exclusion>
345           <groupId>org.apache.lucene</groupId>
346           <artifactId>lucene-spellchecker</artifactId>
347         </exclusion>
348
349         <exclusion>
350           <groupId>org.apache.lucene</groupId>
351           <artifactId>lucene-grouping</artifactId>
352         </exclusion>
353
354         <exclusion>
355           <groupId>org.apache.solr</groupId>
356           <artifactId>solr-commons-csv</artifactId>
357         </exclusion>
358
359         <exclusion>
360           <groupId>org.apache.solr</groupId>
361           <artifactId>solr-noggit</artifactId>
362         </exclusion>
363
364         <exclusion>
365           <groupId>org.apache.solr</groupId>
366           <artifactId>solr-solrj</artifactId>
367         </exclusion>
368
369         <exclusion>
370           <groupId>commons-fileupload</groupId>
371           <artifactId>commons-fileupload</artifactId>
372         </exclusion>
373
374         <exclusion>
375           <groupId>commons-httpclient</groupId>
376           <artifactId>commons-httpclient</artifactId>
377         </exclusion>
378
379         <exclusion>
380           <groupId>org.slf4j</groupId>
381           <artifactId>jcl-over-slf4j</artifactId>
382         </exclusion>
383
384         <exclusion>
385           <groupId>javax.servlet</groupId>
386           <artifactId>servlet-api</artifactId>
387         </exclusion>
388       </exclusions>
389     </dependency>
390
391     <dependency>
392       <groupId>com.github.scopt</groupId>
393       <artifactId>scopt_${scala.version}</artifactId>
394       <version>1.1.2</version>
395     </dependency>
396
397     <dependency>
398       <groupId>joda-time</groupId>
399       <artifactId>joda-time</artifactId>
400       <version>2.0</version>
401     </dependency>
402
403     <dependency>
404       <groupId>org.joda</groupId>
405       <artifactId>joda-convert</artifactId>
406       <version>1.1</version>
407     </dependency>
408   </dependencies>
409
410   <!--Build configuration-->
411   <build>
412     <sourceDirectory>src/main/scala</sourceDirectory>
413     <testSourceDirectory>src/test/scala</testSourceDirectory>
414     <resources>
415       <resource>
416         <directory>${basedir}/src/main/resources</directory>
417       </resource>
418       <resource>
419         <directory>${project.build.directory}/generated-resources</directory>
420         <filtering>true</filtering>
421       </resource>
422     </resources>
423     <testResources>
424       <testResource>
425         <directory>${basedir}/src/test/resources</directory>
426       </testResource>
427       <testResource>
428         <directory>${project.build.directory}/generated-resources</directory>
429         <filtering>true</filtering>
430       </testResource>
431     </testResources>
432     <plugins>
433       <plugin>
434         <groupId>org.scala-tools</groupId>
435         <artifactId>maven-scala-plugin</artifactId>
436         <version>2.15.2</version>
437         <configuration>
438           <charset>${project.build.sourceEncoding}</charset>
439           <jvmArgs>
440             <jvmArg>-Xmx1024m</jvmArg>
441             <jvmArg>
442               -DpackageLinkDefs=file://${project.build.directory}/packageLinkDefs.properties
443             </jvmArg>
444           </jvmArgs>
445           <args>
446             <arg>-deprecation</arg>
447           </args>
448         </configuration>
449         <executions>
450           <execution>
451             <goals>
452               <goal>compile</goal>
453               <goal>testCompile</goal>
454             </goals>
455           </execution>
456         </executions>
457       </plugin>
458       <!-- Redmine maven plugin -->
459       <plugin>
460         <groupId>org.nuiton.jredmine</groupId>
461         <artifactId>maven-jredmine-plugin</artifactId>
462         <version>1.2.2</version>
463       </plugin>
464       <!-- Produces configuration files for Intellij Idea -->
465       <plugin>
466         <groupId>org.apache.maven.plugins</groupId>
467         <artifactId>maven-idea-plugin</artifactId>
468         <version>2.2</version>
469         <configuration>
470           <downloadSources>true</downloadSources>
471           <downloadJavadocs>true</downloadJavadocs>
472         </configuration>
473       </plugin>
474       <!-- Make sure tests display failures at the console-->
475       <plugin>
476         <groupId>org.apache.maven.plugins</groupId>
477         <artifactId>maven-surefire-plugin</artifactId>
478         <version>2.9</version>
479         <configuration>
480           <useFile>false</useFile>
481           <reportFormat>plain</reportFormat>
482         </configuration>
483       </plugin>
484       <!-- Bundle up source code on release/snapshot -->
485       <plugin>
486         <groupId>org.apache.maven.plugins</groupId>
487         <artifactId>maven-source-plugin</artifactId>
488         <version>2.1.2</version>
489         <executions>
490           <execution>
491             <id>attach-sources</id>
492             <goals>
493               <goal>jar-no-fork</goal>
494             </goals>
495           </execution>
496         </executions>
497       </plugin>
498       <!-- Release plug-in configuration -->
499       <plugin>
500         <groupId>org.apache.maven.plugins</groupId>
501         <artifactId>maven-release-plugin</artifactId>
502         <version>2.2.1</version>
503         <configuration>
504           <preparationGoals>clean verify</preparationGoals>
505         </configuration>
506       </plugin>
507       <!--Build an executable jar with all dependencies-->
508       <plugin>
509         <artifactId>maven-assembly-plugin</artifactId>
510         <version>2.2.2</version>
511         <configuration>
512           <archive>
513             <manifest>
514               <mainClass>gr.grnet.aquarium.Main</mainClass>
515             </manifest>
516           </archive>
517           <descriptorRefs>
518             <descriptorRef>jar-with-dependencies</descriptorRef>
519           </descriptorRefs>
520         </configuration>
521         <executions>
522           <execution>
523             <id>make-assembly</id>
524             <phase>package</phase>
525             <goals>
526               <goal>single</goal>
527             </goals>
528           </execution>
529         </executions>
530       </plugin>
531
532     </plugins>
533   </build>
534 </project>