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>com.h2database</groupId>
160 <artifactId>h2</artifactId>
161 <version>1.3.160</version>
164 <groupId>mysql</groupId>
165 <artifactId>mysql-connector-java</artifactId>
166 <version>5.1.17</version>
169 <groupId>org.scala-libs</groupId>
170 <artifactId>scalajpa_2.9.1</artifactId>
171 <version>1.4</version>
174 <groupId>org.eclipse.persistence</groupId>
175 <artifactId>eclipselink</artifactId>
176 <version>2.2.0</version>
179 <groupId>org.hibernate</groupId>
180 <artifactId>hibernate-entitymanager</artifactId>
181 <version>3.6.7.Final</version>
184 <groupId>org.apache.openjpa</groupId>
185 <artifactId>openjpa-all</artifactId>
186 <version>2.1.1</version>
189 <groupId>org.slf4j</groupId>
190 <artifactId>slf4j-log4j12</artifactId>
191 <version>1.6.3</version>
195 <!--Configuration shared with subprojects-->
197 <sourceDirectory>src/main/scala</sourceDirectory>
198 <testSourceDirectory>src/test/scala</testSourceDirectory>
201 <directory>${basedir}/src/main/resources</directory>
204 <directory>${project.build.directory}/generated-resources</directory>
205 <filtering>true</filtering>
210 <directory>${basedir}/src/test/resources</directory>
213 <directory>${project.build.directory}/generated-resources</directory>
214 <filtering>true</filtering>
219 <groupId>org.scala-tools</groupId>
220 <artifactId>maven-scala-plugin</artifactId>
221 <version>2.15.2</version>
223 <charset>${project.build.sourceEncoding}</charset>
225 <jvmArg>-Xmx1024m</jvmArg>
227 -DpackageLinkDefs=file://${project.build.directory}/packageLinkDefs.properties
231 <arg>-deprecation</arg>
238 <goal>testCompile</goal>
244 <groupId>org.apache.maven.plugins</groupId>
245 <artifactId>maven-resources-plugin</artifactId>
246 <version>2.5</version>
249 <id>default-copy-resources</id>
250 <phase>process-resources</phase>
252 <goal>copy-resources</goal>
255 <overwrite>true</overwrite>
256 <outputDirectory>${project.build.directory}</outputDirectory>
259 <directory>${project.basedir}/src</directory>
261 <include>packageLinkDefs.properties</include>
263 <filtering>true</filtering>
270 <!-- Redmine maven plugin -->
272 <groupId>org.nuiton.jredmine</groupId>
273 <artifactId>maven-jredmine-plugin</artifactId>
274 <version>1.2.2</version>
276 <!-- Produces configuration files for Intellij Idea -->
278 <groupId>org.apache.maven.plugins</groupId>
279 <artifactId>maven-idea-plugin</artifactId>
280 <version>2.2</version>
282 <downloadSources>true</downloadSources>
283 <downloadJavadocs>true</downloadJavadocs>
286 <!-- Make sure tests display failures at the console-->
288 <groupId>org.apache.maven.plugins</groupId>
289 <artifactId>maven-surefire-plugin</artifactId>
290 <version>2.9</version>
292 <useFile>false</useFile>
293 <reportFormat>plain</reportFormat>
296 <!-- Shared resources -->
298 <groupId>org.apache.maven.plugins</groupId>
299 <artifactId>maven-dependency-plugin</artifactId>
302 <id>unpack-shared-resources</id>
304 <goal>unpack-dependencies</goal>
306 <phase>generate-resources</phase>
308 <outputDirectory>${project.build.directory}/generated-resources
310 <includeArtifactIds>shared</includeArtifactIds>
311 <includeGroupIds>gr.grnet.aquarium</includeGroupIds>
312 <excludeTransitive>true</excludeTransitive>
317 <!-- Bundle up source code on release/snapshot -->
319 <groupId>org.apache.maven.plugins</groupId>
320 <artifactId>maven-source-plugin</artifactId>
321 <version>2.1.2</version>
324 <id>attach-sources</id>
326 <goal>jar-no-fork</goal>
331 <!-- Release plug-in configuration -->
333 <groupId>org.apache.maven.plugins</groupId>
334 <artifactId>maven-release-plugin</artifactId>
335 <version>2.2.1</version>
337 <preparationGoals>clean verify</preparationGoals>
344 <module>model</module>
345 <module>logic</module>
346 <module>shared</module>