Statistics
| Branch: | Tag: | Revision:

root / pom.xml @ 66171dc7

History | View | Annotate | Download (16.2 kB)

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
    <repository>
105
      <id>scala-tools.releases</id>
106
      <name>Scala-Tools Dependencies Repository for Releases</name>
107
      <url>http://scala-tools.org/repo-releases</url>
108
    </repository>
109
    
110
    <repository>
111
      <id>scala-tools.snapshots</id>
112
      <name>Scala-Tools Dependencies Repository for Snapshots</name>
113
      <url>http://scala-tools.org/repo-snapshots</url>
114
    </repository>
115

    
116
    <repository>
117
      <id>java.net.maven2</id>
118
      <name>java.net Maven2 Repository</name>
119
      <url>http://download.java.net/maven/2/</url>
120
    </repository>
121
    
122
    <repository>
123
      <name>JBoss</name>
124
      <id>jboss</id>
125
      <url>http://repository.jboss.org/nexus/content/groups/public/</url>
126
    </repository>
127

    
128
    <repository>
129
      <name>JBoss Scala-Tools</name>
130
      <id>jboss-scala-tools</id>
131
      <url>https://repository.jboss.org/nexus/content/repositories/scala-tools-releases</url>
132
    </repository>
133

    
134
    <repository>
135
      <name>jcrontab</name>
136
      <id>jcrontab</id>
137
      <url>http://kenai.com/projects/crontab-parser/sources/maven-repo/content/</url>
138
    </repository>
139

    
140
    <repository>
141
      <name>Typesafe</name>
142
      <id>typesafe</id>
143
      <url>http://repo.typesafe.com/typesafe/releases/</url>
144
    </repository>
145

    
146
    <repository>
147
      <name>Spray</name>
148
      <id>spray</id>
149
      <url>http://repo.spray.cc/</url>
150
    </repository>
151
  </repositories>
152

    
153
  <pluginRepositories>
154
    <pluginRepository>
155
      <id>scala-tools.releases</id>
156
      <name>Scala-Tools Plugins Repository for Releases</name>
157
      <url>http://scala-tools.org/repo-releases</url>
158
    </pluginRepository>
159
  </pluginRepositories>
160

    
161
  <!-- Master properties (inherited by modules) -->
162
  <dependencies>
163
    <dependency>
164
      <groupId>org.scala-lang</groupId>
165
      <artifactId>scala-library</artifactId>
166
      <version>${scala.version}</version>
167
    </dependency>
168
    <dependency>
169
      <groupId>org.slf4j</groupId>
170
      <artifactId>slf4j-api</artifactId>
171
      <version>1.6.1</version>
172
    </dependency>
173
    <dependency>
174
      <groupId>org.scala-lang</groupId>
175
      <artifactId>scala-compiler</artifactId>
176
      <version>${scala.version}</version>
177
      <scope>test</scope>
178
    </dependency>
179
    <dependency>
180
      <groupId>junit</groupId>
181
      <artifactId>junit</artifactId>
182
      <version>4.10</version>
183
      <scope>test</scope>
184
    </dependency>
185
    <dependency>
186
      <groupId>org.slf4j</groupId>
187
      <artifactId>slf4j-log4j12</artifactId>
188
      <version>1.6.3</version>
189
    </dependency>
190
    <dependency>
191
      <groupId>net.liftweb</groupId>
192
      <artifactId>lift-json_2.9.1</artifactId>
193
      <version>2.4</version>
194
    </dependency>
195

    
196
    <dependency>
197
      <groupId>net.liftweb</groupId>
198
      <artifactId>lift-json-ext_2.9.1</artifactId>
199
      <version>2.4</version>
200
      <exclusions>
201
        <exclusion>
202
          <artifactId>joda-time</artifactId>
203
          <groupId>joda-time</groupId>
204
        </exclusion>
205
      </exclusions>
206
    </dependency>
207

    
208
    <dependency>
209
      <groupId>org.yaml</groupId>
210
      <artifactId>snakeyaml</artifactId>
211
      <version>1.9</version>
212
    </dependency>
213

    
214
    <dependency>
215
      <groupId>com.kenai.crontab-parser</groupId>
216
      <artifactId>crontab-parser</artifactId>
217
      <version>1.0.1</version>
218
    </dependency>
219

    
220
    <dependency>
221
      <groupId>com.rabbitmq</groupId>
222
      <artifactId>amqp-client</artifactId>
223
      <version>2.5.0</version>
224
    </dependency>
225

    
226
    <dependency>
227
      <groupId>com.ckkloverdos</groupId>
228
      <artifactId>streamresource_2.9.1</artifactId>
229
      <version>0.2.0</version>
230
    </dependency>
231

    
232
    <dependency>
233
      <groupId>com.ckkloverdos</groupId>
234
      <artifactId>maybe_2.9.1</artifactId>
235
      <version>0.3.0</version>
236
    </dependency>
237

    
238
    <dependency>
239
      <groupId>com.ckkloverdos</groupId>
240
      <artifactId>converter_2.9.1</artifactId>
241
      <version>0.3.0</version>
242
    </dependency>
243

    
244
    <dependency>
245
      <groupId>com.ckkloverdos</groupId>
246
      <artifactId>sysprop_2.9.1</artifactId>
247
      <version>0.1.0</version>
248
    </dependency>
249

    
250
    <dependency>
251
      <groupId>com.thoughtworks.xstream</groupId>
252
      <artifactId>xstream</artifactId>
253
      <version>1.4.1</version>
254
    </dependency>
255

    
256
    <dependency>
257
      <groupId>org.mongodb</groupId>
258
      <artifactId>mongo-java-driver</artifactId>
259
      <version>2.7.2</version>
260
    </dependency>
261

    
262
    <dependency>
263
      <groupId>se.scalablesolutions.akka</groupId>
264
      <artifactId>akka-actor</artifactId>
265
      <version>1.3</version>
266
    </dependency>
267

    
268
    <dependency>
269
      <groupId>se.scalablesolutions.akka</groupId>
270
      <artifactId>akka-remote</artifactId>
271
      <version>1.3</version>
272
      <exclusions>
273
        <exclusion>
274
          <artifactId>sjson_2.9.0</artifactId>
275
          <groupId>net.debasishg</groupId>
276
        </exclusion>
277
        <exclusion>
278
          <artifactId>akka-stm</artifactId>
279
          <groupId>se.scalablesolutions.akka</groupId>
280
        </exclusion>
281
      </exclusions>
282
    </dependency>
283

    
284
    <dependency>
285
      <groupId>se.scalablesolutions.akka</groupId>
286
      <artifactId>akka-amqp</artifactId>
287
      <version>1.3</version>
288
    </dependency>
289

    
290
    <dependency>
291
      <groupId>se.scalablesolutions.akka</groupId>
292
      <artifactId>akka-slf4j</artifactId>
293
      <version>1.3</version>
294
    </dependency>
295
<!--
296
    <dependency>
297
      <groupId>se.scalablesolutions.akka</groupId>
298
      <artifactId>akka-testkit</artifactId>
299
      <version>1.3</version>
300
      <scope>test</scope>
301
    </dependency>-->
302

    
303
    <!--<dependency>-->
304
      <!--<groupId>javax.ws.rs</groupId>-->
305
      <!--<artifactId>jsr311-api</artifactId>-->
306
      <!--<version>1.1.1</version>-->
307
    <!--</dependency>-->
308

    
309
    <dependency>
310
      <groupId>cc.spray</groupId>
311
      <artifactId>spray-can</artifactId>
312
      <version>0.9.2</version>
313
    </dependency>
314

    
315
    <!--    <dependency>
316
      <groupId>com.yammer.metrics</groupId>
317
      <artifactId>metrics-core</artifactId>
318
      <version>2.0.0-BETA18-SNAPSHOT</version>
319
    </dependency>-->
320
<!--
321
    <dependency>
322
      <groupId>org.apache.lucene</groupId>
323
      <artifactId>lucene-core</artifactId>
324
      <version>3.5.0</version>
325
    </dependency>-->
326

    
327
    <dependency>
328
      <groupId>org.apache.solr</groupId>
329
      <artifactId>solr-core</artifactId>
330
      <version>3.5.0</version>
331
      <exclusions>
332

    
333
        <exclusion>
334
          <groupId>org.apache.lucene</groupId>
335
          <artifactId>lucene-analyzers</artifactId>
336
        </exclusion>
337

    
338
        <exclusion>
339
          <groupId>org.apache.lucene</groupId>
340
          <artifactId>lucene-highlighter</artifactId>
341
        </exclusion>
342

    
343
        <exclusion>
344
          <groupId>org.apache.lucene</groupId>
345
          <artifactId>lucene-memory</artifactId>
346
        </exclusion>
347

    
348
        <exclusion>
349
          <groupId>org.apache.lucene</groupId>
350
          <artifactId>lucene-misc</artifactId>
351
        </exclusion>
352

    
353
        <exclusion>
354
          <groupId>org.apache.lucene</groupId>
355
          <artifactId>lucene-queries</artifactId>
356
        </exclusion>
357

    
358
        <exclusion>
359
          <groupId>org.apache.lucene</groupId>
360
          <artifactId>lucene-spatial</artifactId>
361
        </exclusion>
362

    
363
        <exclusion>
364
          <groupId>org.apache.lucene</groupId>
365
          <artifactId>lucene-spellchecker</artifactId>
366
        </exclusion>
367

    
368
        <exclusion>
369
          <groupId>org.apache.lucene</groupId>
370
          <artifactId>lucene-grouping</artifactId>
371
        </exclusion>
372

    
373
        <exclusion>
374
          <groupId>org.apache.solr</groupId>
375
          <artifactId>solr-commons-csv</artifactId>
376
        </exclusion>
377

    
378
        <exclusion>
379
          <groupId>org.apache.solr</groupId>
380
          <artifactId>solr-noggit</artifactId>
381
        </exclusion>
382

    
383
        <exclusion>
384
          <groupId>org.apache.solr</groupId>
385
          <artifactId>solr-solrj</artifactId>
386
        </exclusion>
387

    
388
        <exclusion>
389
          <groupId>commons-fileupload</groupId>
390
          <artifactId>commons-fileupload</artifactId>
391
        </exclusion>
392

    
393
        <exclusion>
394
          <groupId>commons-httpclient</groupId>
395
          <artifactId>commons-httpclient</artifactId>
396
        </exclusion>
397

    
398
        <exclusion>
399
          <groupId>org.slf4j</groupId>
400
          <artifactId>jcl-over-slf4j</artifactId>
401
        </exclusion>
402

    
403
        <exclusion>
404
          <groupId>javax.servlet</groupId>
405
          <artifactId>servlet-api</artifactId>
406
        </exclusion>
407
      </exclusions>
408
    </dependency>
409

    
410
    <dependency>
411
      <groupId>com.github.scopt</groupId>
412
      <artifactId>scopt_${scala.version}</artifactId>
413
      <version>1.1.2</version>
414
    </dependency>
415

    
416
    <dependency>
417
      <groupId>joda-time</groupId>
418
      <artifactId>joda-time</artifactId>
419
      <version>2.0</version>
420
    </dependency>
421

    
422
    <dependency>
423
      <groupId>org.joda</groupId>
424
      <artifactId>joda-convert</artifactId>
425
      <version>1.1</version>
426
    </dependency>
427
  </dependencies>
428

    
429
  <!--Build configuration-->
430
  <build>
431
    <sourceDirectory>src/main/scala</sourceDirectory>
432
    <testSourceDirectory>src/test/scala</testSourceDirectory>
433
    <resources>
434
      <resource>
435
        <directory>${basedir}/src/main/resources</directory>
436
      </resource>
437
      <resource>
438
        <directory>${project.build.directory}/generated-resources</directory>
439
        <filtering>true</filtering>
440
      </resource>
441
    </resources>
442
    <testResources>
443
      <testResource>
444
        <directory>${basedir}/src/test/resources</directory>
445
      </testResource>
446
      <testResource>
447
        <directory>${project.build.directory}/generated-resources</directory>
448
        <filtering>true</filtering>
449
      </testResource>
450
    </testResources>
451
    <plugins>
452
      <plugin>
453
        <groupId>org.scala-tools</groupId>
454
        <artifactId>maven-scala-plugin</artifactId>
455
        <version>2.15.2</version>
456
        <configuration>
457
          <charset>${project.build.sourceEncoding}</charset>
458
          <jvmArgs>
459
            <jvmArg>-Xmx1024m</jvmArg>
460
            <jvmArg>
461
              -DpackageLinkDefs=file://${project.build.directory}/packageLinkDefs.properties
462
            </jvmArg>
463
          </jvmArgs>
464
          <args>
465
            <arg>-deprecation</arg>
466
          </args>
467
        </configuration>
468
        <executions>
469
          <execution>
470
            <goals>
471
              <goal>compile</goal>
472
              <goal>testCompile</goal>
473
            </goals>
474
          </execution>
475
        </executions>
476
      </plugin>
477
      <!-- Redmine maven plugin -->
478
      <plugin>
479
        <groupId>org.nuiton.jredmine</groupId>
480
        <artifactId>maven-jredmine-plugin</artifactId>
481
        <version>1.2.2</version>
482
      </plugin>
483
      <!-- Produces configuration files for Intellij Idea -->
484
      <plugin>
485
        <groupId>org.apache.maven.plugins</groupId>
486
        <artifactId>maven-idea-plugin</artifactId>
487
        <version>2.2</version>
488
        <configuration>
489
          <downloadSources>true</downloadSources>
490
          <downloadJavadocs>true</downloadJavadocs>
491
        </configuration>
492
      </plugin>
493
      <!-- Make sure tests display failures at the console-->
494
      <plugin>
495
        <groupId>org.apache.maven.plugins</groupId>
496
        <artifactId>maven-surefire-plugin</artifactId>
497
        <version>2.9</version>
498
        <configuration>
499
          <useFile>false</useFile>
500
          <reportFormat>plain</reportFormat>
501
        </configuration>
502
      </plugin>
503
      <!-- Bundle up source code on release/snapshot -->
504
      <plugin>
505
        <groupId>org.apache.maven.plugins</groupId>
506
        <artifactId>maven-source-plugin</artifactId>
507
        <version>2.1.2</version>
508
        <executions>
509
          <execution>
510
            <id>attach-sources</id>
511
            <goals>
512
              <goal>jar-no-fork</goal>
513
            </goals>
514
          </execution>
515
        </executions>
516
      </plugin>
517
      <!-- Release plug-in configuration -->
518
      <plugin>
519
        <groupId>org.apache.maven.plugins</groupId>
520
        <artifactId>maven-release-plugin</artifactId>
521
        <version>2.2.1</version>
522
        <configuration>
523
          <preparationGoals>clean verify</preparationGoals>
524
        </configuration>
525
      </plugin>
526
      <!--Build an executable jar with all dependencies-->
527
      <plugin>
528
        <artifactId>maven-assembly-plugin</artifactId>
529
        <version>2.2.2</version>
530
        <configuration>
531
          <archive>
532
            <manifest>
533
              <mainClass>gr.grnet.aquarium.Main</mainClass>
534
            </manifest>
535
          </archive>
536
          <descriptorRefs>
537
            <descriptorRef>jar-with-dependencies</descriptorRef>
538
          </descriptorRefs>
539
        </configuration>
540
        <executions>
541
          <execution>
542
            <id>make-assembly</id>
543
            <phase>package</phase>
544
            <goals>
545
              <goal>single</goal>
546
            </goals>
547
          </execution>
548
        </executions>
549
      </plugin>
550

    
551
    </plugins>
552
  </build>
553
</project>