A bit stricted timeslot expansion boundaries
[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.0.2-SNAPSHOT</version>
44   <packaging>pom</packaging>
45
46   <!-- Project details-->
47   <name>Aquarium</name>
48   <description>
49     Account handling, sharing and charging services for the Okeanos cloud
50   </description>
51   <url>http://code.grnet.gr/projects/aquarium</url>
52   <inceptionYear>2011</inceptionYear>
53   <organization>
54     <name>GRNet</name>
55     <url>http://www.grnet.gr/</url>
56   </organization>
57
58   <developers>
59     <developer>
60       <id>gousiosg</id>
61       <name>Georgios Gousios</name>
62       <email>gousiosg@grnet.gr</email>
63     </developer>
64     <developer>
65       <id>loverdos</id>
66       <name>Christos KK Loverdos</name>
67       <email>loverdos@grnet.gr</email>
68     </developer>
69   </developers>
70
71   <scm>
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>
75   </scm>
76
77   <issueManagement>
78     <system>redmine</system>
79     <url>http://code.grnet.gr/projects/aquarium/issues</url>
80   </issueManagement>
81
82   <distributionManagement>
83     <repository>
84       <id>aq-release</id>
85       <name>Aquarium releases repo</name>
86       <url>http://aquarium.dev.grnet.gr:8081/nexus/content/repositories/releases</url>
87     </repository>
88     <snapshotRepository>
89       <id>aq-snapshot</id>
90       <name>Aquarium snapshots repo</name>
91       <url>http://aquarium.dev.grnet.gr:8081/nexus/content/repositories/snapshots</url>
92     </snapshotRepository>
93   </distributionManagement>
94
95   <!--Common project settings-->
96   <properties>
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>
101   </properties>
102
103   <!-- Lib and plugin repositories -->
104   <repositories>
105     <repository>
106       <id>scala-tools.releases</id>
107       <name>Scala-Tools Dependencies Repository for Releases</name>
108       <url>http://scala-tools.org/repo-releases</url>
109     </repository>
110     <repository>
111       <id>java.net.maven2</id>
112       <name>java.net Maven2 Repository</name>
113       <url>http://download.java.net/maven/2/</url>
114     </repository>
115     <repository>
116       <id>EclipseLink Repo</id>
117       <url>http://www.eclipse.org/downloads/download.php?r=1&amp;nf=1&amp;file=/rt/eclipselink/maven.repo</url>
118     </repository>
119     <repository>
120       <name>JBoss</name>
121       <id>jboss</id>
122       <url>http://repository.jboss.org/nexus/content/groups/public/</url>
123     </repository>
124   </repositories>
125
126   <pluginRepositories>
127     <pluginRepository>
128       <id>scala-tools.releases</id>
129       <name>Scala-Tools Plugins Repository for Releases</name>
130       <url>http://scala-tools.org/repo-releases</url>
131     </pluginRepository>
132   </pluginRepositories>
133
134   <!-- Master properties (inherited by modules) -->
135   <dependencies>
136     <dependency>
137       <groupId>org.scala-lang</groupId>
138       <artifactId>scala-library</artifactId>
139       <version>${scala.version}</version>
140     </dependency>
141     <dependency>
142       <groupId>org.slf4j</groupId>
143       <artifactId>slf4j-api</artifactId>
144       <version>1.6.1</version>
145     </dependency>
146     <dependency>
147       <groupId>org.scala-lang</groupId>
148       <artifactId>scala-compiler</artifactId>
149       <version>${scala.version}</version>
150       <scope>test</scope>
151     </dependency>
152     <dependency>
153       <groupId>junit</groupId>
154       <artifactId>junit</artifactId>
155       <version>4.10</version>
156       <scope>test</scope>
157     </dependency>
158     <dependency>
159       <groupId>org.slf4j</groupId>
160       <artifactId>slf4j-log4j12</artifactId>
161       <version>1.6.3</version>
162     </dependency>
163   </dependencies>
164
165   <!--Configuration shared with subprojects-->
166   <build>
167     <sourceDirectory>src/main/scala</sourceDirectory>
168     <testSourceDirectory>src/test/scala</testSourceDirectory>
169     <resources>
170       <resource>
171         <directory>${basedir}/src/main/resources</directory>
172       </resource>
173       <resource>
174         <directory>${project.build.directory}/generated-resources</directory>
175         <filtering>true</filtering>
176       </resource>
177     </resources>
178     <testResources>
179       <testResource>
180         <directory>${basedir}/src/test/resources</directory>
181       </testResource>
182       <testResource>
183         <directory>${project.build.directory}/generated-resources</directory>
184         <filtering>true</filtering>
185       </testResource>
186     </testResources>
187     <plugins>
188       <plugin>
189         <groupId>org.scala-tools</groupId>
190         <artifactId>maven-scala-plugin</artifactId>
191         <version>2.15.2</version>
192         <configuration>
193           <charset>${project.build.sourceEncoding}</charset>
194           <jvmArgs>
195             <jvmArg>-Xmx1024m</jvmArg>
196             <jvmArg>
197               -DpackageLinkDefs=file://${project.build.directory}/packageLinkDefs.properties
198             </jvmArg>
199           </jvmArgs>
200           <args>
201             <arg>-deprecation</arg>
202           </args>
203         </configuration>
204         <executions>
205           <execution>
206             <goals>
207               <goal>compile</goal>
208               <goal>testCompile</goal>
209             </goals>
210           </execution>
211         </executions>
212       </plugin>
213       <plugin>
214         <groupId>org.apache.maven.plugins</groupId>
215         <artifactId>maven-resources-plugin</artifactId>
216         <version>2.5</version>
217         <executions>
218           <execution>
219             <id>default-copy-resources</id>
220             <phase>process-resources</phase>
221             <goals>
222               <goal>copy-resources</goal>
223             </goals>
224             <configuration>
225               <overwrite>true</overwrite>
226               <outputDirectory>${project.build.directory}</outputDirectory>
227               <resources>
228                 <resource>
229                   <directory>${project.basedir}/src</directory>
230                   <includes>
231                     <include>packageLinkDefs.properties</include>
232                   </includes>
233                   <filtering>true</filtering>
234                 </resource>
235               </resources>
236             </configuration>
237           </execution>
238         </executions>
239       </plugin>
240       <!-- Redmine maven plugin -->
241       <plugin>
242         <groupId>org.nuiton.jredmine</groupId>
243         <artifactId>maven-jredmine-plugin</artifactId>
244         <version>1.2.2</version>
245       </plugin>
246       <!-- Produces configuration files for Intellij Idea -->
247       <plugin>
248         <groupId>org.apache.maven.plugins</groupId>
249         <artifactId>maven-idea-plugin</artifactId>
250         <version>2.2</version>
251         <configuration>
252           <downloadSources>true</downloadSources>
253           <downloadJavadocs>true</downloadJavadocs>
254         </configuration>
255       </plugin>
256       <!-- Make sure tests display failures at the console-->
257       <plugin>
258         <groupId>org.apache.maven.plugins</groupId>
259         <artifactId>maven-surefire-plugin</artifactId>
260         <version>2.9</version>
261         <configuration>
262           <useFile>false</useFile>
263           <reportFormat>plain</reportFormat>
264         </configuration>
265       </plugin>
266       <!-- Shared resources -->
267       <plugin>
268         <groupId>org.apache.maven.plugins</groupId>
269         <artifactId>maven-dependency-plugin</artifactId>
270         <executions>
271           <execution>
272             <id>unpack-shared-resources</id>
273             <goals>
274               <goal>unpack-dependencies</goal>
275             </goals>
276             <phase>generate-resources</phase>
277             <configuration>
278               <outputDirectory>${project.build.directory}/generated-resources
279               </outputDirectory>
280               <includeArtifactIds>shared</includeArtifactIds>
281               <includeGroupIds>gr.grnet.aquarium</includeGroupIds>
282               <excludeTransitive>true</excludeTransitive>
283             </configuration>
284           </execution>
285         </executions>
286       </plugin>
287       <!-- Bundle up source code on release/snapshot -->
288       <plugin>
289         <groupId>org.apache.maven.plugins</groupId>
290         <artifactId>maven-source-plugin</artifactId>
291         <version>2.1.2</version>
292         <executions>
293           <execution>
294             <id>attach-sources</id>
295             <goals>
296               <goal>jar-no-fork</goal>
297             </goals>
298           </execution>
299         </executions>
300       </plugin>
301       <!-- Release plug-in configuration -->
302       <plugin>
303         <groupId>org.apache.maven.plugins</groupId>
304         <artifactId>maven-release-plugin</artifactId>
305         <version>2.2.1</version>
306         <configuration>
307           <preparationGoals>clean verify</preparationGoals>
308         </configuration>
309       </plugin>
310     </plugins>
311   </build>
312   <!--Sub projects-->
313   <modules>
314     <module>logic</module>
315     <module>shared</module>
316   </modules>
317 </project>