ebc0350103945ff3c41b43c86033aeb6630edb6b
[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.1</version>
247     </dependency>
248
249     <dependency>
250       <groupId>se.scalablesolutions.akka</groupId>
251       <artifactId>akka-remote</artifactId>
252       <version>1.3.1</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.1</version>
269     </dependency>
270
271     <dependency>
272       <groupId>se.scalablesolutions.akka</groupId>
273       <artifactId>akka-slf4j</artifactId>
274       <version>1.3.1</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>com.google.guava</groupId>
310       <artifactId>guava</artifactId>
311       <version>11.0.2</version>
312     </dependency>
313
314     <dependency>
315       <groupId>org.apache.solr</groupId>
316       <artifactId>solr-core</artifactId>
317       <version>3.5.0</version>
318       <exclusions>
319
320         <exclusion>
321           <groupId>org.apache.lucene</groupId>
322           <artifactId>lucene-analyzers</artifactId>
323         </exclusion>
324
325         <exclusion>
326           <groupId>org.apache.lucene</groupId>
327           <artifactId>lucene-highlighter</artifactId>
328         </exclusion>
329
330         <exclusion>
331           <groupId>org.apache.lucene</groupId>
332           <artifactId>lucene-memory</artifactId>
333         </exclusion>
334
335         <exclusion>
336           <groupId>org.apache.lucene</groupId>
337           <artifactId>lucene-misc</artifactId>
338         </exclusion>
339
340         <exclusion>
341           <groupId>org.apache.lucene</groupId>
342           <artifactId>lucene-queries</artifactId>
343         </exclusion>
344
345         <exclusion>
346           <groupId>org.apache.lucene</groupId>
347           <artifactId>lucene-spatial</artifactId>
348         </exclusion>
349
350         <exclusion>
351           <groupId>org.apache.lucene</groupId>
352           <artifactId>lucene-spellchecker</artifactId>
353         </exclusion>
354
355         <exclusion>
356           <groupId>org.apache.lucene</groupId>
357           <artifactId>lucene-grouping</artifactId>
358         </exclusion>
359
360         <exclusion>
361           <groupId>org.apache.solr</groupId>
362           <artifactId>solr-commons-csv</artifactId>
363         </exclusion>
364
365         <exclusion>
366           <groupId>org.apache.solr</groupId>
367           <artifactId>solr-noggit</artifactId>
368         </exclusion>
369
370         <exclusion>
371           <groupId>org.apache.solr</groupId>
372           <artifactId>solr-solrj</artifactId>
373         </exclusion>
374
375         <exclusion>
376           <groupId>commons-fileupload</groupId>
377           <artifactId>commons-fileupload</artifactId>
378         </exclusion>
379
380         <exclusion>
381           <groupId>commons-httpclient</groupId>
382           <artifactId>commons-httpclient</artifactId>
383         </exclusion>
384
385         <exclusion>
386           <groupId>org.slf4j</groupId>
387           <artifactId>jcl-over-slf4j</artifactId>
388         </exclusion>
389
390         <exclusion>
391           <groupId>javax.servlet</groupId>
392           <artifactId>servlet-api</artifactId>
393         </exclusion>
394       </exclusions>
395     </dependency>
396
397     <dependency>
398       <groupId>com.github.scopt</groupId>
399       <artifactId>scopt_${scala.version}</artifactId>
400       <version>2.0.1</version>
401     </dependency>
402
403     <dependency>
404       <groupId>joda-time</groupId>
405       <artifactId>joda-time</artifactId>
406       <version>2.0</version>
407     </dependency>
408
409     <dependency>
410       <groupId>org.joda</groupId>
411       <artifactId>joda-convert</artifactId>
412       <version>1.1</version>
413     </dependency>
414   </dependencies>
415
416   <!--Build configuration-->
417   <build>
418     <sourceDirectory>src/main/scala</sourceDirectory>
419     <testSourceDirectory>src/test/scala</testSourceDirectory>
420     <resources>
421       <resource>
422         <directory>${basedir}/src/main/resources</directory>
423       </resource>
424       <resource>
425         <directory>${project.build.directory}/generated-resources</directory>
426         <filtering>true</filtering>
427       </resource>
428     </resources>
429     <testResources>
430       <testResource>
431         <directory>${basedir}/src/test/resources</directory>
432       </testResource>
433       <testResource>
434         <directory>${project.build.directory}/generated-resources</directory>
435         <filtering>true</filtering>
436       </testResource>
437     </testResources>
438     <plugins>
439       <plugin>
440         <groupId>net.alchim31.maven</groupId>
441         <artifactId>scala-maven-plugin</artifactId>
442         <version>3.0.1</version>
443         <configuration>
444           <charset>${project.build.sourceEncoding}</charset>
445           <jvmArgs>
446             <jvmArg>-Xmx1024m</jvmArg>
447             <jvmArg>
448               -DpackageLinkDefs=file://${project.build.directory}/packageLinkDefs.properties
449             </jvmArg>
450           </jvmArgs>
451           <args>
452             <arg>-deprecation</arg>
453             <arg>-unchecked</arg>
454             <arg>-explaintypes</arg>
455           </args>
456         </configuration>
457         <executions>
458           <execution>
459             <goals>
460               <goal>compile</goal>
461               <goal>testCompile</goal>
462             </goals>
463           </execution>
464         </executions>
465       </plugin>
466       <!-- Redmine maven plugin -->
467       <plugin>
468         <groupId>org.nuiton.jredmine</groupId>
469         <artifactId>maven-jredmine-plugin</artifactId>
470         <version>1.2.2</version>
471       </plugin>
472       <!-- Produces configuration files for Intellij Idea -->
473       <plugin>
474         <groupId>org.apache.maven.plugins</groupId>
475         <artifactId>maven-idea-plugin</artifactId>
476         <version>2.2</version>
477         <configuration>
478           <downloadSources>true</downloadSources>
479           <downloadJavadocs>true</downloadJavadocs>
480         </configuration>
481       </plugin>
482       <!-- Make sure tests display failures at the console-->
483       <plugin>
484         <groupId>org.apache.maven.plugins</groupId>
485         <artifactId>maven-surefire-plugin</artifactId>
486         <version>2.9</version>
487         <configuration>
488           <useFile>false</useFile>
489           <reportFormat>plain</reportFormat>
490         </configuration>
491       </plugin>
492       <!-- Bundle up source code on release/snapshot -->
493       <plugin>
494         <groupId>org.apache.maven.plugins</groupId>
495         <artifactId>maven-source-plugin</artifactId>
496         <version>2.1.2</version>
497         <executions>
498           <execution>
499             <id>attach-sources</id>
500             <goals>
501               <goal>jar-no-fork</goal>
502             </goals>
503           </execution>
504         </executions>
505       </plugin>
506       <!-- Release plug-in configuration -->
507       <plugin>
508         <groupId>org.apache.maven.plugins</groupId>
509         <artifactId>maven-release-plugin</artifactId>
510         <version>2.2.1</version>
511         <configuration>
512           <preparationGoals>clean verify</preparationGoals>
513         </configuration>
514       </plugin>
515     </plugins>
516   </build>
517 </project>