1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ Copyright 2011 GRNET S.A. All rights reserved.
5 ~ Redistribution and use in source and binary forms, with or
6 ~ without modification, are permitted provided that the following
9 ~ 1. Redistributions of source code must retain the above
10 ~ copyright notice, this list of conditions and the following
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.
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.
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.
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">
40 <modelVersion>4.0.0</modelVersion>
41 <groupId>gr.grnet</groupId>
42 <artifactId>aquarium</artifactId>
43 <version>0.0.2-SNAPSHOT</version>
44 <packaging>pom</packaging>
46 <!-- Project details-->
49 Account handling, sharing and charging services for the Okeanos cloud
51 <url>http://code.grnet.gr/projects/aquarium</url>
52 <inceptionYear>2011</inceptionYear>
55 <url>http://www.grnet.gr/</url>
61 <name>Georgios Gousios</name>
62 <email>gousiosg@grnet.gr</email>
66 <name>Christos KK Loverdos</name>
67 <email>loverdos@grnet.gr</email>
72 <url>http://code.grnet.gr/projects/aquarium/repository</url>
73 <connection>scm:git:https://code.grnet.gr/git/aquarium</connection>
74 <developerConnection>scm:git:https://code.grnet.gr/git/aquarium</developerConnection>
78 <system>redmine</system>
79 <url>http://code.grnet.gr/projects/aquarium/issues</url>
82 <distributionManagement>
85 <name>Aquarium releases repo</name>
86 <url>http://aquarium.dev.grnet.gr:8081/nexus/content/repositories/releases</url>
90 <name>Aquarium snapshots repo</name>
91 <url>http://aquarium.dev.grnet.gr:8081/nexus/content/repositories/snapshots</url>
93 </distributionManagement>
95 <!--Common project settings-->
97 <scala.version>2.9.1</scala.version>
98 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
99 <project.reporting.outputEncoding>${project.build.sourceEncoding}
100 </project.reporting.outputEncoding>
103 <!-- Lib and plugin repositories -->
106 <id>scala-tools.releases</id>
107 <name>Scala-Tools Dependencies Repository for Releases</name>
108 <url>http://scala-tools.org/repo-releases</url>
111 <id>java.net.maven2</id>
112 <name>java.net Maven2 Repository</name>
113 <url>http://download.java.net/maven/2/</url>
116 <id>EclipseLink Repo</id>
117 <url>http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/rt/eclipselink/maven.repo</url>
122 <url>http://repository.jboss.org/nexus/content/groups/public/</url>
128 <id>scala-tools.releases</id>
129 <name>Scala-Tools Plugins Repository for Releases</name>
130 <url>http://scala-tools.org/repo-releases</url>
132 </pluginRepositories>
134 <!-- Master properties (inherited by modules) -->
137 <groupId>org.scala-lang</groupId>
138 <artifactId>scala-library</artifactId>
139 <version>${scala.version}</version>
142 <groupId>org.slf4j</groupId>
143 <artifactId>slf4j-api</artifactId>
144 <version>1.6.1</version>
147 <groupId>org.scala-lang</groupId>
148 <artifactId>scala-compiler</artifactId>
149 <version>${scala.version}</version>
153 <groupId>junit</groupId>
154 <artifactId>junit</artifactId>
155 <version>4.10</version>
159 <groupId>org.slf4j</groupId>
160 <artifactId>slf4j-log4j12</artifactId>
161 <version>1.6.3</version>
165 <!--Configuration shared with subprojects-->
167 <sourceDirectory>src/main/scala</sourceDirectory>
168 <testSourceDirectory>src/test/scala</testSourceDirectory>
171 <directory>${basedir}/src/main/resources</directory>
174 <directory>${project.build.directory}/generated-resources</directory>
175 <filtering>true</filtering>
180 <directory>${basedir}/src/test/resources</directory>
183 <directory>${project.build.directory}/generated-resources</directory>
184 <filtering>true</filtering>
189 <groupId>org.scala-tools</groupId>
190 <artifactId>maven-scala-plugin</artifactId>
191 <version>2.15.2</version>
193 <charset>${project.build.sourceEncoding}</charset>
195 <jvmArg>-Xmx1024m</jvmArg>
197 -DpackageLinkDefs=file://${project.build.directory}/packageLinkDefs.properties
201 <arg>-deprecation</arg>
208 <goal>testCompile</goal>
214 <groupId>org.apache.maven.plugins</groupId>
215 <artifactId>maven-resources-plugin</artifactId>
216 <version>2.5</version>
219 <id>default-copy-resources</id>
220 <phase>process-resources</phase>
222 <goal>copy-resources</goal>
225 <overwrite>true</overwrite>
226 <outputDirectory>${project.build.directory}</outputDirectory>
229 <directory>${project.basedir}/src</directory>
231 <include>packageLinkDefs.properties</include>
233 <filtering>true</filtering>
240 <!-- Redmine maven plugin -->
242 <groupId>org.nuiton.jredmine</groupId>
243 <artifactId>maven-jredmine-plugin</artifactId>
244 <version>1.2.2</version>
246 <!-- Produces configuration files for Intellij Idea -->
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-idea-plugin</artifactId>
250 <version>2.2</version>
252 <downloadSources>true</downloadSources>
253 <downloadJavadocs>true</downloadJavadocs>
256 <!-- Make sure tests display failures at the console-->
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-surefire-plugin</artifactId>
260 <version>2.9</version>
262 <useFile>false</useFile>
263 <reportFormat>plain</reportFormat>
266 <!-- Shared resources -->
268 <groupId>org.apache.maven.plugins</groupId>
269 <artifactId>maven-dependency-plugin</artifactId>
272 <id>unpack-shared-resources</id>
274 <goal>unpack-dependencies</goal>
276 <phase>generate-resources</phase>
278 <outputDirectory>${project.build.directory}/generated-resources
280 <includeArtifactIds>shared</includeArtifactIds>
281 <includeGroupIds>gr.grnet.aquarium</includeGroupIds>
282 <excludeTransitive>true</excludeTransitive>
287 <!-- Bundle up source code on release/snapshot -->
289 <groupId>org.apache.maven.plugins</groupId>
290 <artifactId>maven-source-plugin</artifactId>
291 <version>2.1.2</version>
294 <id>attach-sources</id>
296 <goal>jar-no-fork</goal>
301 <!-- Release plug-in configuration -->
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-release-plugin</artifactId>
305 <version>2.2.1</version>
307 <preparationGoals>clean verify</preparationGoals>
314 <module>logic</module>
315 <module>shared</module>