Author: bdekruijff at gmail.com
Date: Fri Oct 29 16:33:58 2010
New Revision: 220

Log:
AMDATU-117 Split of parent pom from reactor pom under pom/pom.xml

Added:
   trunk/pom/
   trunk/pom/pom.xml
Modified:
   trunk/amdatu-release/pom.xml
   trunk/amdatu-release/src/main/assembly/bin-release.xml
   trunk/amdatu-release/src/main/assembly/src-release.xml
   trunk/application-bundles/pom.xml
   trunk/example-bundles/pom.xml
   trunk/gadget-bundles/pom.xml
   trunk/integration-tests/pom.xml
   trunk/libraries/pom.xml
   trunk/platform-bundles/pom.xml
   trunk/pom.xml

Modified: trunk/amdatu-release/pom.xml
==============================================================================
--- trunk/amdatu-release/pom.xml        (original)
+++ trunk/amdatu-release/pom.xml        Fri Oct 29 16:33:58 2010
@@ -2,12 +2,13 @@
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.amdatu</groupId>
-    <artifactId>amdatu</artifactId>
-    <version>0.0.6-SNAPSHOT</version> <!-- There is not yet an easy way to 
inherit this version from its parent -->
+    <artifactId>amdatu-parent</artifactId>
+    <version>0.0.6-SNAPSHOT</version>
+    <relativePath>../pom/pom.xml</relativePath>
   </parent>
   <packaging>pom</packaging>
   <artifactId>amdatu-release</artifactId>
-  <name>Amdatu release</name>
+  <name>Amdatu Release</name>
   
   <dependencies>
     <!-- Application bundles -->

Modified: trunk/amdatu-release/src/main/assembly/bin-release.xml
==============================================================================
--- trunk/amdatu-release/src/main/assembly/bin-release.xml      (original)
+++ trunk/amdatu-release/src/main/assembly/bin-release.xml      Fri Oct 29 
16:33:58 2010
@@ -5,7 +5,7 @@
 
   <id>bin</id>
   <formats>
-    <format>tar</format>
+    <format>dir</format>
     <format>tar.gz</format>
     <format>zip</format>
   </formats>

Modified: trunk/amdatu-release/src/main/assembly/src-release.xml
==============================================================================
--- trunk/amdatu-release/src/main/assembly/src-release.xml      (original)
+++ trunk/amdatu-release/src/main/assembly/src-release.xml      Fri Oct 29 
16:33:58 2010
@@ -5,7 +5,7 @@
 
        <id>src</id>
        <formats>
-               <format>tar</format>
+               <format>dir</format>
                <format>tar.gz</format>
                <format>zip</format>
        </formats>

Modified: trunk/application-bundles/pom.xml
==============================================================================
--- trunk/application-bundles/pom.xml   (original)
+++ trunk/application-bundles/pom.xml   Fri Oct 29 16:33:58 2010
@@ -2,26 +2,26 @@
 <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/maven-v4_0_0.xsd";>
   <modelVersion>4.0.0</modelVersion>
-  <groupId>org.amdatu</groupId>
-  <artifactId>org.amdatu.application-bundles</artifactId>
-  <name>Amdatu application</name>
-  <description>This module consists of all Amdatu application 
bundles</description>
-  <packaging>pom</packaging>
   <parent>
     <groupId>org.amdatu</groupId>
-    <artifactId>amdatu</artifactId>
-    <version>0.0.6-SNAPSHOT</version> <!-- There is not yet an easy way to 
inherit this version from its parent -->
+    <artifactId>amdatu-parent</artifactId>
+    <version>0.0.6-SNAPSHOT</version>
+    <relativePath>../pom/pom.xml</relativePath>
   </parent>
-  
-  <dependencies>    
+  <artifactId>org.amdatu.application-bundles</artifactId>
+  <name>Amdatu Application</name>
+  <description>This module consists of all Amdatu application 
bundles</description>
+  <packaging>pom</packaging>
+
+  <dependencies>
     <dependency>
       <groupId>org.amdatu.platform</groupId>
       <artifactId>httpcontext</artifactId>
-      <scope>provided</scope> 
+      <scope>provided</scope>
       <type>bundle</type>
-    </dependency>   
-  </dependencies>   
-  
+    </dependency>
+  </dependencies>
+
   <modules>
     <module>dashboard-bundle</module>
     <module>gadget-management</module>
@@ -30,25 +30,26 @@
   <build>
     <pluginManagement>
       <plugins>
-        <!-- This plugin ensures that the resulting jar is also copied to the 
proper
-             target directory, bound to the package phase -->
+        <!-- This plugin ensures that the resulting jar is also copied to the 
proper target directory, bound to the package 
+          phase -->
         <plugin>
           <artifactId>maven-antrun-plugin</artifactId>
-            <executions>
-              <execution>
+          <executions>
+            <execution>
               <phase>package</phase>
               <goals>
                 <goal>run</goal>
               </goals>
               <configuration>
                 <tasks>
-                  <copy 
file="${project.build.directory}/${project.build.finalName}.jar" 
todir="${root.directory}/application-bundles" overwrite="true" />
+                  <copy 
file="${project.build.directory}/${project.build.finalName}.jar" 
todir="${root.directory}/application-bundles"
+                    overwrite="true" />
                 </tasks>
               </configuration>
             </execution>
           </executions>
-        </plugin> 
-      </plugins>        
-    </pluginManagement> 
+        </plugin>
+      </plugins>
+    </pluginManagement>
   </build>
 </project>
\ No newline at end of file

Modified: trunk/example-bundles/pom.xml
==============================================================================
--- trunk/example-bundles/pom.xml       (original)
+++ trunk/example-bundles/pom.xml       Fri Oct 29 16:33:58 2010
@@ -2,54 +2,55 @@
 <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/maven-v4_0_0.xsd";>
   <modelVersion>4.0.0</modelVersion>
-  <groupId>org.amdatu</groupId>
-  <artifactId>org.amdatu.example-bundles</artifactId>
-  <name>Amdatu examples</name>
-  <description>This module holds several examples</description>
-  <packaging>pom</packaging>
   <parent>
     <groupId>org.amdatu</groupId>
-    <artifactId>amdatu</artifactId>
-    <version>0.0.6-SNAPSHOT</version> <!-- There is not yet an easy way to 
inherit this version from its parent -->
+    <artifactId>amdatu-parent</artifactId>
+    <version>0.0.6-SNAPSHOT</version>
+    <relativePath>../pom/pom.xml</relativePath>
   </parent>
-  
-  <dependencies>    
+  <artifactId>org.amdatu.example-bundles</artifactId>
+  <name>Amdatu Examples</name>
+  <description>This module holds several examples</description>
+  <packaging>pom</packaging>
+
+  <dependencies>
     <dependency>
       <groupId>org.amdatu.platform</groupId>
       <artifactId>httpcontext</artifactId>
-      <scope>provided</scope> 
+      <scope>provided</scope>
       <type>bundle</type>
-    </dependency>   
-  </dependencies>   
+    </dependency>
+  </dependencies>
 
   <modules>
     <module>course-gadget</module>
     <module>course-service</module>
     <module>friends-gadget</module>
   </modules>
-  
+
   <build>
     <pluginManagement>
       <plugins>
-        <!-- This plugin ensures that the resulting jar is also copied to the 
proper
-             target directory, bound to the package phase -->
+        <!-- This plugin ensures that the resulting jar is also copied to the 
proper target directory, bound to the package 
+          phase -->
         <plugin>
           <artifactId>maven-antrun-plugin</artifactId>
-            <executions>
-              <execution>
+          <executions>
+            <execution>
               <phase>package</phase>
               <goals>
                 <goal>run</goal>
               </goals>
               <configuration>
                 <tasks>
-                  <copy 
file="${project.build.directory}/${project.build.finalName}.jar" 
todir="${root.directory}/example-bundles" overwrite="true" />
+                  <copy 
file="${project.build.directory}/${project.build.finalName}.jar" 
todir="${root.directory}/example-bundles"
+                    overwrite="true" />
                 </tasks>
               </configuration>
             </execution>
           </executions>
-        </plugin> 
-      </plugins>        
-    </pluginManagement> 
-  </build>  
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
 </project>
\ No newline at end of file

Modified: trunk/gadget-bundles/pom.xml
==============================================================================
--- trunk/gadget-bundles/pom.xml        (original)
+++ trunk/gadget-bundles/pom.xml        Fri Oct 29 16:33:58 2010
@@ -2,16 +2,17 @@
 <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/maven-v4_0_0.xsd";>
   <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.amdatu</groupId>
+    <artifactId>amdatu-parent</artifactId>
+    <version>0.0.6-SNAPSHOT</version>
+    <relativePath>../pom/pom.xml</relativePath>
+  </parent>
   <groupId>org.amdatu</groupId>
   <artifactId>org.amdatu.gadget-bundles</artifactId>
-  <name>Amdatu gadgets</name>
+  <name>Amdatu Gadgets</name>
   <description>This module consists of all Amdatu gadgets.</description>
   <packaging>pom</packaging>
-  <parent>
-    <groupId>org.amdatu</groupId>
-    <artifactId>amdatu</artifactId>
-    <version>0.0.6-SNAPSHOT</version> <!-- There is not yet an easy way to 
inherit this version from its parent -->
-  </parent>
   
   <dependencies>
     <dependency>

Modified: trunk/integration-tests/pom.xml
==============================================================================
--- trunk/integration-tests/pom.xml     (original)
+++ trunk/integration-tests/pom.xml     Fri Oct 29 16:33:58 2010
@@ -4,8 +4,9 @@
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.amdatu</groupId>
-    <artifactId>amdatu</artifactId>
+    <artifactId>amdatu-parent</artifactId>
     <version>0.0.6-SNAPSHOT</version>
+    <relativePath>../pom/pom.xml</relativePath>
   </parent>
   <groupId>org.amdatu.platform</groupId>
   <artifactId>integration-tests</artifactId>

Modified: trunk/libraries/pom.xml
==============================================================================
--- trunk/libraries/pom.xml     (original)
+++ trunk/libraries/pom.xml     Fri Oct 29 16:33:58 2010
@@ -2,16 +2,17 @@
 <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/maven-v4_0_0.xsd";>
   <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.amdatu</groupId>
+    <artifactId>amdatu-parent</artifactId>
+    <version>0.0.6-SNAPSHOT</version>
+    <relativePath>../pom/pom.xml</relativePath>
+  </parent>
   <groupId>org.amdatu</groupId>
   <artifactId>org.amdatu.libraries</artifactId>
-  <name>Amdatu libraries</name>
+  <name>Amdatu Libraries</name>
   <description>This module consists of all Amdatu libraries. Amdatu libraries 
are a set of utility classes which should be embedded by bundles using 
them.</description>
   <packaging>pom</packaging>
-  <parent>
-    <groupId>org.amdatu</groupId>
-    <artifactId>amdatu</artifactId>
-    <version>0.0.6-SNAPSHOT</version> <!-- There is not yet an easy way to 
inherit this version from its parent -->
-  </parent>
   
   <modules>
     <module>amdatu-utilities</module>

Modified: trunk/platform-bundles/pom.xml
==============================================================================
--- trunk/platform-bundles/pom.xml      (original)
+++ trunk/platform-bundles/pom.xml      Fri Oct 29 16:33:58 2010
@@ -2,16 +2,17 @@
 <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/maven-v4_0_0.xsd";>
   <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.amdatu</groupId>
+    <artifactId>amdatu-parent</artifactId>
+    <version>0.0.6-SNAPSHOT</version>
+    <relativePath>../pom/pom.xml</relativePath>
+  </parent>
   <groupId>org.amdatu</groupId>
   <artifactId>org.amdatu.platform-bundles</artifactId>
   <packaging>pom</packaging>
-  <name>Amdatu platform</name>
+  <name>Amdatu Platform</name>
   <description>This module consists of all bundles that are part of the Amdatu 
platform.</description>
-  <parent>
-    <groupId>org.amdatu</groupId>
-    <artifactId>amdatu</artifactId>
-    <version>0.0.6-SNAPSHOT</version> <!-- There is not yet an easy way to 
inherit this version from its parent -->
-  </parent>
   
   <modules>
     <module>authorization-service</module>

Modified: trunk/pom.xml
==============================================================================
--- trunk/pom.xml       (original)
+++ trunk/pom.xml       Fri Oct 29 16:33:58 2010
@@ -1,184 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<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/maven-v4_0_0.xsd";>
+<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/maven-v4_0_0.xsd";>
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.amdatu</groupId>
-  <artifactId>amdatu</artifactId>
+  <artifactId>reactor</artifactId>
   <version>0.0.6-SNAPSHOT</version>
   <packaging>pom</packaging>
-  <name>Amdatu</name>
-  <description>Amdatu framework</description>
-  <url>http://www.amdatu.org</url>
-  <inceptionYear>2010</inceptionYear>
-  
-  <distributionManagement>
-    <snapshotRepository>
-      <name>Amdatu Nightly Builds</name>
-      <id>amdatu.nightly</id>
-      <url>${repository.url}/nightly</url>
-    </snapshotRepository>
-    <repository>
-      <name>Amdatu Distributions</name>
-      <id>amdatu.releases</id>
-      <url>${repository.url}/releases</url>
-    </repository>
-    <site>
-      <name>Amdatu Sites</name>
-      <id>amdatu.sites</id>
-      <url>${repository.url}/sites</url>
-    </site>
-  </distributionManagement>      
+  <name>Amdatu Reactor</name>
+  <description>Amdatu Reactor POM</description>
 
-  <issueManagement>
-    <system>JIRA</system>
-    <url>http://jira.amdatu.org/jira</url>
-  </issueManagement>  
-  
-  <mailingLists>
-    <mailingList>
-      <name>Amdatu users</name>
-      
<subscribe>http://lists.amdatu.org/mailman/listinfo/amdatu-users</subscribe>
-      
<unsubscribe>http://lists.amdatu.org/mailman/listinfo/amdatu-users</unsubscribe>
-      <post>amdatu-users at amdatu.org</post>
-      <archive>http://lists.amdatu.org/pipermail/amdatu-users</archive>
-    </mailingList>
-    <mailingList>
-      <name>Amdatu developers</name>
-      
<subscribe>http://lists.amdatu.org/mailman/listinfo/amdatu-developers</subscribe>
-      
<unsubscribe>http://lists.amdatu.org/mailman/listinfo/amdatu-developers</unsubscribe>
-      <post>amdatu-developers at amdatu.org</post>
-      <archive>http://lists.amdatu.org/pipermail/amdatu-developers</archive>
-    </mailingList>
-    <mailingList>
-      <name>Subversion commits</name>
-      
<subscribe>http://lists.amdatu.org/mailman/listinfo/amdatu-commits</subscribe>
-      
<unsubscribe>http://lists.amdatu.org/mailman/listinfo/amdatu-commits</unsubscribe>
-      <post>amdatu-commits at amdatu.org</post>
-      <archive>http://lists.amdatu.org/pipermail/amdatu-commits</archive>
-    </mailingList>    
-  </mailingLists>
-
-  <licenses>
-    <license>
-      <name>GNU General Public License version 3</name>
-      <url>http://www.gnu.org/licenses/gpl.html</url>
-      <distribution>repo</distribution>
-      <comments>The GNU General Public License is a free, copyleft license for 
software and other kinds of works.</comments>
-    </license>
-  </licenses>
-  
-  <scm>
-    <connection>scm:svn:http://subversion.amdatu.org/svn/amdatu</connection>
-    
<developerConnection>scm:svn:http://subversion.amdatu.org/svn/amdatu</developerConnection>
-    <url>http://subversion.amdatu.org/viewvc/amdatu</url>
-  </scm>
-  
- <ciManagement>
-    <system>bamboo</system>
-    <url>http://bamboo.amdatu.org/bamboo/</url>
-    <notifiers>
-      <notifier>
-        <type>mail</type>
-        <sendOnError>true</sendOnError>
-        <sendOnFailure>true</sendOnFailure>
-        <sendOnSuccess>false</sendOnSuccess>
-        <sendOnWarning>false</sendOnWarning>
-        <configuration><address>bamboo at amdatu.org</address></configuration>
-      </notifier>
-    </notifiers>
-  </ciManagement>
-  
-  <developers>
-    <developer>
-      <id>ivol</id>
-      <name>Ivo Ladage-van Doorn</name>
-      <email>ivo.ladage-vandoorn at gxsoftware.com</email>
-      <organization>GX Software</organization>
-      <organizationUrl>http://gxsoftware.com</organizationUrl>
-      <roles>
-        <role>Developer</role>
-      </roles>
-    </developer>
-    <developer>
-      <id>angelos</id>
-      <name>Angelo van der Sijpt</name>
-      <email>angelo.vandersijpt at luminis.eu</email>
-      <organization>Luminis</organization>
-      <organizationUrl>http://luminis.eu</organizationUrl>
-      <roles>
-        <role>Developer</role>
-      </roles>
-    </developer>
-    <developer>
-      <id>marcelo</id>
-      <name>Marcel Offermans</name>
-      <email>marcel.offermans at luminis.eu</email>
-      <organization>Luminis</organization>
-      <organizationUrl>http://luminis.eu</organizationUrl>
-      <roles>
-        <role>Developer</role>
-      </roles>
-    </developer>  
-    <developer>
-      <id>bramk</id>
-      <name>Bram de Kruijff</name>
-      <email>bram.dekruijff at gxsoftware.com</email>
-      <organization>GX Software</organization>
-      <organizationUrl>http://gxsoftware.com</organizationUrl>
-      <roles>
-        <role>Developer</role>
-      </roles>
-    </developer>  
-  </developers>
-  
-  <!-- List op prerequisites -->
-  <prerequisites>
-    <maven>2.2.1</maven>
-  </prerequisites>
-
-  <!-- Global properties specific for the entire platform build -->
-  <properties>
-    <!-- Platform version -->
-    <platform.version>0.0.6-SNAPSHOT</platform.version>
-    
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-  
-    <!-- Version numbers of dependent libraries -->
-    <org.apache.felix.main.version>2.0.5</org.apache.felix.main.version>
-    <org.osgi.version>1.0.0</org.osgi.version>
-    
<org.apache.felix.configadmin.version>1.2.4</org.apache.felix.configadmin.version>
-    <org.apache.felix.log.version>1.0.0</org.apache.felix.log.version>
-    
<org.apache.felix.file.install.version>3.0.0</org.apache.felix.file.install.version>
-    <org.apache.felix.scr.version>1.6.0</org.apache.felix.scr.version>
-    <pax-web.version>0.7.1</pax-web.version>
-    
<org.apache.sling.commons.mime.version>2.1.4</org.apache.sling.commons.mime.version>
-    
<org.apache.sling.commons.osgi.version>2.0.6</org.apache.sling.commons.osgi.version>
-    
<org.apache.felix.dependencymanager.version>3.0.0-SNAPSHOT</org.apache.felix.dependencymanager.version>
-    
<org.apache.felix.metatype.version>1.0.4</org.apache.felix.metatype.version>
-    
<org.apache.felix.webconsole.version>3.1.2</org.apache.felix.webconsole.version>
-    
<org.apache.felix.shell.tui.version>1.4.1</org.apache.felix.shell.tui.version>
-    <org.apache.felix.shell.version>1.4.2</org.apache.felix.shell.version>
-    <org.apache.felix.gogo.version>0.6.0</org.apache.felix.gogo.version>
-    
<org.apache.felix.eventadmin.version>1.2.2</org.apache.felix.eventadmin.version>
-    <org.apache.wink.version>1.1.1-incubating</org.apache.wink.version>
-    <org.openrdf.sesame.version>2.3.1</org.openrdf.sesame.version>
-    <org.openrdf.elmo.version>1.5</org.openrdf.elmo.version>
-    <jsr311-api.version>1.1.1</jsr311-api.version>
-    <jstl.version>1.1.2</jstl.version>
-    <taglibs.version>1.1.2</taglibs.version>
-    
<net.kornr.osgi.commons-logging-osgi.version>20081215</net.kornr.osgi.commons-logging-osgi.version>
-    <pax.useradmin.version>0.0.1-SNAPSHOT</pax.useradmin.version>
-    <junit.version>4.8.1</junit.version>
-    <jmock.version>2.5.1</jmock.version>
-    <pax.exam.version>1.2.2</pax.exam.version>
-    
-    <!-- Version numbers of platform bundles -->
-    <shindig.version>1.1-BETA5-incubating</shindig.version>
-    <cassandra.version>0.7.0-beta2</cassandra.version>
-    <openrdf.version>2.3.1</openrdf.version>
-
-  </properties>
-
-  <!-- Modules are configured in different modules (see below) -->
+  <!--
+    This is the Amdatu Reactor POM for managing build and deployment 
configuration only. Project metadata must be
+    placed in the Amdatu Parent POM under pom/pom.xml.
+  -->
   <modules>
     <module>amdatu-release</module>
     <module>platform-bundles</module>
@@ -186,740 +20,8 @@
     <module>gadget-bundles</module>
     <module>libraries</module>
     <module>example-bundles</module>
-    <module>integration-tests</module>
-  </modules>
-  
-  <repositories>
-    <repository>
-      <id>com.springsource.repository.bundles.release</id>  
-      <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle 
Releases</name>  
-      <url>http://repository.springsource.com/maven/bundles/release</url> 
-    </repository> 
-    <repository> 
-      <id>com.springsource.repository.bundles.external</id>  
-      <name>SpringSource Enterprise Bundle Repository - External Bundle 
Releases</name>  
-      <url>http://repository.springsource.com/maven/bundles/external</url> 
-    </repository> 
-    <repository>
-      <id>shorrockin.com</id>
-      <name>Shorrockin Repository</name>
-      <url>http://maven.shorrockin.com/</url>
-    </repository>   
-    <repository>
-      <id>java.net.com</id>
-      <name>Download java.net</name>
-      <url>http://download.java.net/maven/2</url>
-    </repository>     
-    <repository>
-      <id>openrdf</id>
-      <name>OpenRDF</name>
-      <url>http://repo.aduna-software.org/maven2/releases</url>
-    </repository>     
-    <repository>
-      <id>repo1</id>
-      <name>repo1</name>
-      <url>http://repo1.maven.org/maven2</url>
-    </repository>   
-    <repository>
-      <id>maven.scale7.org</id>
-      <name>Scale7 Maven Repo</name>
-      <url>http://github.com/s7/mvnrepo/raw/master</url>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-    </repository>
-  </repositories>
-  
-  <dependencies>
-    <!-- This is required to be first so that pax-exam classloader is not 
messed up with a newer version of felix
-              which would lead to java.lang.NoSuchMethodError: 
org.apache.felix.framework.Logger.<init>(I)V -->
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.framework</artifactId>
-      <version>${org.apache.felix.main.version}</version>
-      <scope>test</scope>
-    </dependency>
-    
-    <!-- The main Felix framework -->
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.main</artifactId>
-      <version>${org.apache.felix.main.version}</version>
-      <scope>runtime</scope>
-    </dependency>   
-    
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.osgi.core</artifactId>
-      <version>${org.osgi.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.osgi.compendium</artifactId>
-      <version>${org.osgi.version}</version>
-      <scope>provided</scope>
-      <exclusions>
-        <exclusion>
-          <groupId> org.apache.felix</groupId>
-          <artifactId>org.osgi.foundation</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.scr</artifactId>
-      <version>${org.apache.felix.scr.version}</version>
-      <scope>provided</scope>
-    </dependency>    
-
-    <!-- Event admin service -->
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.eventadmin</artifactId>
-      <version>${org.apache.felix.eventadmin.version}</version>
-      <scope>provided</scope>
-    </dependency>
-
-    <!-- Configuration administration service -->
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.configadmin</artifactId>
-      <version>${org.apache.felix.configadmin.version}</version>
-      <scope>runtime</scope>
-    </dependency>   
-
-    <!-- Log service bundle -->
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.log</artifactId>
-      <version>${org.apache.felix.log.version}</version>
-      <scope>runtime</scope>
-    </dependency> 
-    
-    <!-- File install bundle -->
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.fileinstall</artifactId>
-      <version>${org.apache.felix.file.install.version}</version>
-      <scope>runtime</scope>
-    </dependency>       
-    
-    <!-- Use Pax Web as HTTP service implementation -->
-    <dependency>
-      <groupId>org.ops4j.pax.web</groupId>
-      <artifactId>pax-web-jetty-bundle</artifactId>
-      <version>${pax-web.version}</version>
-      <scope>provided</scope>
-    </dependency> 
-    <dependency>
-      <groupId>org.ops4j.pax.web</groupId>
-      <artifactId>pax-web-jsp</artifactId>
-      <version>${pax-web.version}</version>
-      <scope>provided</scope>
-    </dependency> 
-    
-    <!-- Include Apache Sling mimetype service -->
-    <dependency>
-      <groupId>org.apache.sling</groupId>
-      <artifactId>org.apache.sling.commons.mime</artifactId>
-      <version>${org.apache.sling.commons.mime.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.sling</groupId>
-      <artifactId>org.apache.sling.commons.osgi</artifactId>
-      <version>${org.apache.sling.commons.osgi.version}</version>
-      <scope>provided</scope>
-    </dependency>
-
-    <!-- Dependency manager -->
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.dependencymanager</artifactId>
-      <version>${org.apache.felix.dependencymanager.version}</version>
-      <scope>provided</scope>
-    </dependency>   
-    
-    <!-- The metatype service -->
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.metatype</artifactId>
-      <version>${org.apache.felix.metatype.version}</version>
-      <scope>runtime</scope>
-    </dependency> 
-    
-    <!-- Web Console -->
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.webconsole</artifactId>
-      <version>${org.apache.felix.webconsole.version}</version>
-      <scope>runtime</scope>
-    </dependency> 
-
-    <!-- Enable this section to enable standard Felix shell -->
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.shell.tui</artifactId>
-      <version>${org.apache.felix.shell.tui.version}</version>
-      <scope>runtime</scope>
-    </dependency> 
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.shell</artifactId>
-      <version>${org.apache.felix.shell.version}</version>
-      <scope>runtime</scope>
-    </dependency>   
-
-    <!-- Enable this section to enable the Gogo shell -->
     <!--
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.gogo.runtime</artifactId>
-      <version>${org.apache.felix.gogo.version}</version>
-      <scope>runtime</scope>
-    </dependency>     
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.gogo.shell</artifactId>
-      <version>${org.apache.felix.gogo.version}</version>
-      <scope>runtime</scope>
-    </dependency>   
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.gogo.command</artifactId>
-      <version>${org.apache.felix.gogo.version}</version>
-      <scope>runtime</scope>
-    </dependency>   
-    -->   
-    
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>${junit.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.jmock</groupId>
-      <artifactId>jmock-junit4</artifactId>
-      <version>${jmock.version}</version>
-    </dependency>
-    
-    <!-- UserAdmin implementation -->
-    <dependency>
-      <groupId>org.ops4j.pax.useradmin</groupId>
-      <artifactId>pax-useradmin-service</artifactId>
-      <version>${pax.useradmin.version}</version>
-      <scope>runtime</scope>
-    </dependency>   
-  </dependencies>
-
-  <!-- Here we manage the dependencies of all child projects -->
-  <dependencyManagement>
-    <dependencies>
-      <dependency>
-       <groupId>javax.servlet</groupId>
-        <artifactId>jstl</artifactId>
-        <version>${jstl.version}</version>
-        <scope>provided</scope>
-      </dependency> 
-      <dependency>
-        <groupId>taglibs</groupId>
-        <artifactId>standard</artifactId>
-        <version>${taglibs.version}</version>
-        <scope>provided</scope>
-      </dependency>   
-    
-      <!-- Platform bundles (start level 5) -->
-      <dependency>
-        <groupId>org.amdatu.platform</groupId>
-        <artifactId>authorization</artifactId>
-        <version>${platform.version}</version>
-        <scope>provided</scope>
-        <type>bundle</type>
-      </dependency>
-      <dependency>
-        <groupId>org.amdatu.platform</groupId>
-        <artifactId>cassandra-application</artifactId>
-        <version>${platform.version}</version>
-        <scope>provided</scope>   
-        <type>bundle</type>
-      </dependency> 
-      <dependency>
-        <groupId>org.amdatu.platform</groupId>
-        <artifactId>cassandra-listener</artifactId>
-        <version>${platform.version}</version>
-        <scope>provided</scope>
-        <type>bundle</type>
-      </dependency>       
-      <dependency>
-        <groupId>org.amdatu.platform</groupId>
-        <artifactId>cassandra-persistencemanager</artifactId>
-        <version>${platform.version}</version>
-        <scope>provided</scope>   
-        <type>bundle</type>
-      </dependency>
-      <dependency>
-        <groupId>org.amdatu.libraries</groupId>
-        <artifactId>amdatu-utilities</artifactId>
-        <version>${platform.version}</version>
-        <scope>provided</scope>   
-      </dependency>       
-      <dependency>    
-        <groupId>org.amdatu.application</groupId>
-        <artifactId>gadgetmanagement</artifactId> 
-        <version>${platform.version}</version>
-        <scope>provided</scope>
-        <type>bundle</type>
-      </dependency> 
-      <dependency>
-        <groupId>org.amdatu.platform</groupId>
-        <artifactId>config-template-manager</artifactId>
-        <version>${platform.version}</version>
-        <scope>provided</scope>
-        <type>bundle</type>
-      </dependency> 
-      <dependency>
-        <groupId>org.amdatu.platform</groupId>
-        <artifactId>httpcontext</artifactId>
-        <version>${platform.version}</version>
-        <scope>provided</scope> 
-        <type>bundle</type>
-      </dependency>   
-      <dependency>
-        <groupId>org.amdatu.platform</groupId>
-        <artifactId>profile-service</artifactId>
-        <version>${platform.version}</version>
-        <scope>provided</scope>
-        <type>bundle</type>
-      </dependency> 
-      <dependency>
-        <groupId>org.amdatu.platform</groupId>
-        <artifactId>sesame-application</artifactId>
-        <version>${platform.version}</version>
-        <scope>provided</scope>   
-        <type>bundle</type>
-      </dependency>     
-      <dependency>
-        <groupId>org.amdatu.platform</groupId>
-        <artifactId>filebased-configuration</artifactId>
-        <version>${platform.version}</version>
-        <scope>provided</scope>   
-        <type>bundle</type>
-      </dependency>
-      <dependency>
-        <groupId>org.amdatu.platform</groupId>
-        <artifactId>shindig-application</artifactId>
-        <version>${platform.version}</version>
-        <scope>provided</scope>   
-        <type>bundle</type>
-      </dependency>    
-      <dependency>
-        <groupId>org.amdatu.platform</groupId>
-        <artifactId>tenant-service</artifactId>
-        <version>${platform.version}</version>
-        <scope>provided</scope>   
-        <type>bundle</type>
-      </dependency>  
-      <dependency>
-        <groupId>org.amdatu.platform</groupId>
-        <artifactId>wink-application</artifactId>
-        <version>${platform.version}</version>
-        <scope>provided</scope>
-        <type>bundle</type>
-      </dependency> 
-      <dependency>
-        <groupId>org.amdatu.platform</groupId>
-        <artifactId>useradmin-cassandra-store</artifactId>
-        <version>${platform.version}</version>
-        <scope>provided</scope>
-        <type>bundle</type>
-      </dependency>      
-      <dependency>
-         <groupId>org.apache.wink</groupId>
-         <artifactId>wink-server</artifactId>
-         <version>${org.apache.wink.version}</version>
-         <scope>provided</scope>
-      </dependency>
-      <dependency>
-         <groupId>org.apache.wink</groupId>
-         <artifactId>wink-common</artifactId>
-         <version>${org.apache.wink.version}</version>
-         <scope>provided</scope>
-      </dependency>
-      <dependency>
-        <groupId>javax.ws.rs</groupId>
-        <artifactId>jsr311-api</artifactId>
-        <version>${jsr311-api.version}</version>
-        <scope>provided</scope>
-      </dependency>     
-      <dependency>
-        <groupId>org.ops4j.pax.useradmin</groupId>
-        <artifactId>pax-useradmin-service</artifactId>
-        <version>${pax.useradmin.version}</version>
-        <scope>provided</scope>
-      </dependency>           
-      <dependency>
-        <groupId>junit</groupId>
-        <artifactId>junit</artifactId>
-        <version>${junit.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jmock</groupId>
-        <artifactId>jmock-junit4</artifactId>
-        <version>${jmock.version}</version>
-      </dependency>     
-    </dependencies>
-  </dependencyManagement>
-
-  <!-- Build section, handles project's directory structure and plugins -->
-  <build>
-    
<finalName>${project.groupId}.${project.artifactId}-${platform.version}</finalName>
-
-    <plugins>
-      <!-- Specify the exact maven plugin version here, since some versions 
have issues with
-           resource filtering in versions 2.7 and 2.8 (see 
-           
http://stackoverflow.com/questions/1397903/setting-project-for-eclipse-using-maven)
 -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-eclipse-plugin</artifactId>
-        <version>2.6</version>
-      </plugin>
-    
-    <!-- Since the Felix dependency manager 3.0.0 is not yet available in
-         online maven repositories, it must be installed to the local maven
-         repository. We use the maven-install-plugin to do so during build -->
-     <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-install-plugin</artifactId>
-        <inherited>false</inherited>
-        <executions>
-          <execution>
-            <id>install-felix-dependency-manager</id>
-            <phase>initialize</phase>
-            <goals>
-              <goal>install-file</goal>
-            </goals>
-            <configuration>
-              
<file>${basedir}/src/main/resources/lib/org.apache.felix.dependencymanager-3.0.0-SNAPSHOT.jar</file>
-              <groupId>org.apache.felix</groupId>
-              <artifactId>org.apache.felix.dependencymanager</artifactId>     
-              <version>${org.apache.felix.dependencymanager.version}</version>
-              <packaging>jar</packaging>
-            </configuration>
-          </execution>
-          
-          <execution>
-            <id>install-commons-logging-osgi-adapter</id>
-            <phase>initialize</phase>
-            <goals>
-              <goal>install-file</goal>
-            </goals>
-            <configuration>
-              
<file>${basedir}/src/main/resources/lib/commons-logging-osgi-20081215.jar</file>
-              <groupId>net.kornr.osgi</groupId>
-              <artifactId>commons-logging-osgi</artifactId>     
-              <version>${net.kornr.osgi.commons-logging-osgi.version}</version>
-              <packaging>jar</packaging>
-            </configuration>
-          </execution>
-          
-          <execution>
-            <id>install-felix-dependency-manager-shell</id>
-            <phase>initialize</phase>
-            <goals>
-              <goal>install-file</goal>
-            </goals>
-            <configuration>
-              
<file>${basedir}/src/main/resources/lib/org.apache.felix.dependencymanager.shell-3.0.0-SNAPSHOT.jar</file>
-              <groupId>org.apache.felix</groupId>
-              
<artifactId>org.apache.felix.dependencymanager.shell</artifactId>     
-              <version>${org.apache.felix.dependencymanager.version}</version>
-              <packaging>jar</packaging>
-            </configuration>
-          </execution>  
-          
-          <execution>
-            <id>install-pax-dependency-manager</id>
-            <phase>initialize</phase>
-            <goals>
-              <goal>install-file</goal>
-            </goals>
-            <configuration>
-              
<file>${basedir}/src/main/resources/lib/pax-useradmin-service-0.0.1-SNAPSHOT.jar</file>
-              <groupId>org.ops4j.pax.useradmin</groupId>
-              <artifactId>pax-useradmin-service</artifactId>      
-              <version>${pax.useradmin.version}</version>
-              <packaging>jar</packaging>
-            </configuration>
-          </execution>          
-        </executions>
-      </plugin>
-
-    
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-dependency-plugin</artifactId>
-        <inherited>false</inherited>
-        <executions>
-          <!-- Copy all system bundles -->
-          <execution>
-            <id>copy-system-runtime-bundles</id>
-            <phase>compile</phase>
-            <goals>
-              <goal>copy-dependencies</goal>
-            </goals>
-            <configuration>
-              
<outputDirectory>${root.directory}/system-bundles</outputDirectory>
-              <excludeTransitive>true</excludeTransitive>
-              <includeScope>runtime</includeScope>
-              
<includeGroupIds>org.apache.felix,org.ops4j.pax.web,org.ops4j.pax.useradmin,org.apache.sling</includeGroupIds>
-            </configuration>
-          </execution>
-          <execution>
-            <id>copy-system-provided-bundles</id>
-            <phase>compile</phase>
-            <goals>
-              <goal>copy-dependencies</goal>
-            </goals>
-            <configuration>
-              
<outputDirectory>${root.directory}/system-bundles</outputDirectory>
-              <excludeTransitive>true</excludeTransitive>
-              <includeScope>provided</includeScope>
-              
<includeGroupIds>org.apache.felix,org.ops4j.pax.web,org.apache.sling</includeGroupIds>
-            </configuration>
-          </execution>
-                
-          <!-- Copy all platform bundles -->
-          <execution>
-            <id>copy-platform-bundles</id>
-            <phase>package</phase>
-            <goals>
-              <goal>copy-dependencies</goal>
-            </goals>
-            <configuration>
-              
<outputDirectory>${root.directory}/platform-bundles</outputDirectory>
-              <excludeTransitive>true</excludeTransitive>
-              <includeScope>provided</includeScope>
-              <includeGroupIds>org.amdatu.platform-bundles</includeGroupIds>
-              <excludeTypes>jar</excludeTypes>
-            </configuration>
-          </execution>        
-        </executions>
-      </plugin>
-      
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-        </configuration>
-      </plugin> 
-      
-      <!-- Copy configuration files -->
-      <plugin>
-        <artifactId>maven-resources-plugin</artifactId>
-        <inherited>false</inherited>
-        <version>2.4.3</version>
-        <executions>
-          <execution>
-            <id>copy-conf</id>
-            <phase>install</phase>
-            <goals>
-              <goal>copy-resources</goal>
-            </goals>
-            <configuration>
-              <outputDirectory>${conf.directory}</outputDirectory>
-              <resources>          
-                <resource>
-                  <directory>src/main/resources/conf</directory>
-                  <filtering>true</filtering>
-                </resource>                
-              </resources>              
-            </configuration>            
-          </execution>
-          <execution>
-            <id>copy-shell</id>
-            <phase>install</phase>
-            <goals>
-              <goal>copy-resources</goal>
-            </goals>
-            <configuration>
-              <outputDirectory>${root.directory}</outputDirectory>
-              <resources>          
-                <resource>
-                  <directory>src/main/resources/shell</directory>
-                  <filtering>true</filtering>
-                </resource>
-              </resources>              
-            </configuration>            
-          </execution> 
-          <execution>
-            <id>copy-shortcuts</id>
-            <phase>install</phase>
-            <goals>
-              <goal>copy-resources</goal>
-            </goals>
-            <configuration>
-              <outputDirectory>${root.directory}</outputDirectory>
-              <resources>          
-                <resource>
-                  <directory>src/main/resources/shortcuts</directory>
-                  <filtering>true</filtering>
-                </resource>
-              </resources>              
-            </configuration>            
-          </execution>     
-          <execution>
-            <id>copy-configs</id>
-            <phase>install</phase>
-            <goals>
-              <goal>copy-resources</goal>
-            </goals>
-            <configuration>
-              <outputDirectory>${deploy.directory}</outputDirectory>
-              <resources>          
-                <resource>
-                  
<directory>platform-bundles/cassandra-application/src/main/resources/conf</directory>
-                  <filtering>true</filtering>
-                </resource>
-                <resource>
-                  
<directory>example-bundles/course-gadget/src/main/resources/conf</directory>
-                  <filtering>true</filtering>
-                </resource>       
-                <resource>
-                  
<directory>example-bundles/course-service/src/main/resources/conf</directory>
-                  <filtering>true</filtering>
-                </resource>       
-                <resource>
-                  
<directory>example-bundles/friends-gadget/src/main/resources/conf</directory>
-                  <filtering>true</filtering>
-                </resource>       
-                <resource>
-                  
<directory>gadget-bundles/login-gadget/src/main/resources/conf</directory>
-                  <filtering>true</filtering>
-                </resource>       
-                <resource>
-                  
<directory>gadget-bundles/sparqlendpoint-gadget/src/main/resources/conf</directory>
-                  <filtering>true</filtering>
-                </resource>
-                <resource>
-                  
<directory>platform-bundles/loghandler/src/main/resources/conf</directory>
-                  <filtering>true</filtering>
-                </resource>
-                <resource>
-                  
<directory>platform-bundles/config-template-manager/src/main/resources/conf</directory>
-                  <filtering>true</filtering>
-                </resource>                  
-              </resources>              
-            </configuration>            
-          </execution>             
-        </executions>
-      </plugin>    
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-site-plugin</artifactId>
-        <version>2.1.1</version>
-      </plugin>
-      <!--
-        Activate bundle plugin globally so it can handle bundle extensions.
-      -->
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-      </plugin>
-    </plugins>
-    
-    <!-- Here we manage the plugins of all child projects -->
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <groupId>org.apache.felix</groupId>
-          <artifactId>maven-bundle-plugin</artifactId>
-          <extensions>true</extensions>
-          <version>2.1.0</version>
-        </plugin>
-        
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-compiler-plugin</artifactId>  
-          <version>2.3.2</version>
-        </plugin>
-        
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-install-plugin</artifactId> 
-          <version>2.3.1</version>
-        </plugin>       
-      </plugins>
-    </pluginManagement>
-  </build>
-  
-  <reporting>
-    <outputDirectory>target/site</outputDirectory>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>2.2</version>
-        <reportSets>
-          <reportSet>
-            <inherited>false</inherited>
-            <reports>
-              <report>cim</report>
-              <!-- <report>dependencies</report> -->
-              <!-- <report>dependency-convergence</report>-->
-              <report>dependency-management</report>
-              <report>index</report>
-              <report>issue-tracking</report>
-              <report>license</report>
-              <report>mailing-list</report>
-              <report>plugin-management</report>
-              <report>plugins</report>
-              <report>project-team</report>
-              <report>scm</report>
-              <report>summary</report>
-            </reports>
-          </reportSet>
-        </reportSets>
-      </plugin>
-    </plugins>
-  </reporting>
-  
-  <profiles>
-    <profile>
-      <!-- Profile active in all modes, overrule properties in own 
settings.xml if needed -->
-      <id>default</id>
-      <activation>
-        <activeByDefault>true</activeByDefault>
-      </activation>
-      <properties>
-        <server.hostname>localhost</server.hostname>
-        <server.port>3737</server.port>
-        <server.port.secure>9090</server.port.secure>
-        <root.directory>./target</root.directory>
-        <conf.directory>${root.directory}/conf</conf.directory>
-        <work.directory.name>work</work.directory.name>
-        
<work.directory>${root.directory}/${work.directory.name}</work.directory>
-        <deploy.directory.name>deploy</deploy.directory.name>
-        
<deploy.directory>${root.directory}/${deploy.directory.name}</deploy.directory>
-        <compiler.debug>true</compiler.debug>
-        <compiler.optimize>false</compiler.optimize>
-      </properties>   
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-compiler-plugin</artifactId>
-            <configuration>
-              <debug>${compiler.debug}</debug>
-              <optimize>${compiler.optimize}</optimize>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>   
-  </profiles> 
+      <module>integration-tests</module>
+    -->
+  </modules>
 </project>

Added: trunk/pom/pom.xml
==============================================================================
--- (empty file)
+++ trunk/pom/pom.xml   Fri Oct 29 16:33:58 2010
@@ -0,0 +1,902 @@
+<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/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.amdatu</groupId>
+  <artifactId>amdatu-parent</artifactId>
+  <packaging>pom</packaging>
+  <name>Amdatu</name>
+  <version>0.0.6-SNAPSHOT</version>
+  <url>http://wwwm.amdatu.org/</url>
+  <inceptionYear>2010</inceptionYear>
+  <description>Amdatu is an application platform</description>
+
+  <!--
+    Global properties specific for the entire platform build.
+    FIXME: Subproject specific configuration should not be here. Move it when 
they split off
+  -->
+  <properties>
+    <!--
+      Platform version
+    -->
+    <platform.version>0.0.6-SNAPSHOT</platform.version>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+
+    <!--
+      Build properties
+    -->
+    <server.hostname>localhost</server.hostname>
+    <server.port>3737</server.port>
+    <server.port.secure>9090</server.port.secure>
+    <root.directory>./target</root.directory>
+    <conf.directory>${root.directory}/conf</conf.directory>
+    <work.directory.name>work</work.directory.name>
+    <work.directory>${root.directory}/${work.directory.name}</work.directory>
+    <deploy.directory.name>deploy</deploy.directory.name>
+    
<deploy.directory>${root.directory}/${deploy.directory.name}</deploy.directory>
+    <compiler.debug>true</compiler.debug>
+    <compiler.optimize>false</compiler.optimize>
+
+    <!--
+      Version numbers of dependent libraries
+    -->
+    <org.apache.felix.main.version>2.0.5</org.apache.felix.main.version>
+    <org.osgi.version>1.0.0</org.osgi.version>
+    
<org.apache.felix.configadmin.version>1.2.4</org.apache.felix.configadmin.version>
+    <org.apache.felix.log.version>1.0.0</org.apache.felix.log.version>
+    
<org.apache.felix.file.install.version>3.0.0</org.apache.felix.file.install.version>
+    <org.apache.felix.scr.version>1.6.0</org.apache.felix.scr.version>
+    <pax-web.version>0.7.1</pax-web.version>
+    
<org.apache.sling.commons.mime.version>2.1.4</org.apache.sling.commons.mime.version>
+    
<org.apache.sling.commons.osgi.version>2.0.6</org.apache.sling.commons.osgi.version>
+    
<org.apache.felix.dependencymanager.version>3.0.0-SNAPSHOT</org.apache.felix.dependencymanager.version>
+    
<org.apache.felix.metatype.version>1.0.4</org.apache.felix.metatype.version>
+    
<org.apache.felix.webconsole.version>3.1.2</org.apache.felix.webconsole.version>
+    
<org.apache.felix.shell.tui.version>1.4.1</org.apache.felix.shell.tui.version>
+    <org.apache.felix.shell.version>1.4.2</org.apache.felix.shell.version>
+    <org.apache.felix.gogo.version>0.6.0</org.apache.felix.gogo.version>
+    
<org.apache.felix.eventadmin.version>1.2.2</org.apache.felix.eventadmin.version>
+    <org.apache.wink.version>1.1.1-incubating</org.apache.wink.version>
+    <org.openrdf.sesame.version>2.3.1</org.openrdf.sesame.version>
+    <org.openrdf.elmo.version>1.5</org.openrdf.elmo.version>
+    <jsr311-api.version>1.1.1</jsr311-api.version>
+    <jstl.version>1.1.2</jstl.version>
+    <taglibs.version>1.1.2</taglibs.version>
+    
<net.kornr.osgi.commons-logging-osgi.version>20081215</net.kornr.osgi.commons-logging-osgi.version>
+    <pax.useradmin.version>0.0.1-SNAPSHOT</pax.useradmin.version>
+    <junit.version>4.8.1</junit.version>
+    <jmock.version>2.5.1</jmock.version>
+    <pax.exam.version>1.2.2</pax.exam.version>
+
+    <!--
+      Version numbers of platform bundles
+    -->
+    <shindig.version>1.1-BETA5-incubating</shindig.version>
+    <cassandra.version>0.7.0-beta2</cassandra.version>
+    <openrdf.version>2.3.1</openrdf.version>
+  </properties>
+
+  <prerequisites>
+    <maven>2.2.1</maven>
+  </prerequisites>
+
+  <licenses>
+    <license>
+      <name>GNU General Public License version 3</name>
+      <url>http://www.gnu.org/licenses/gpl.html</url>
+      <distribution>repo</distribution>
+      <comments>The GNU General Public License is a free, copyleft license for 
software and other kinds of works.</comments>
+    </license>
+  </licenses>
+
+  <ciManagement>
+    <system>bamboo</system>
+    <url>http://bamboo.amdatu.org/bamboo/</url>
+    <notifiers>
+      <notifier>
+        <type>mail</type>
+        <sendOnError>true</sendOnError>
+        <sendOnFailure>true</sendOnFailure>
+        <sendOnSuccess>false</sendOnSuccess>
+        <sendOnWarning>false</sendOnWarning>
+        <configuration>
+          <address>bamboo at amdatu.org</address>
+        </configuration>
+      </notifier>
+    </notifiers>
+  </ciManagement>
+
+  <distributionManagement>
+    <snapshotRepository>
+      <name>Amdatu Nightly Builds</name>
+      <id>amdatu.nightly</id>
+      <url>${repository.url}/nightly</url>
+    </snapshotRepository>
+    <repository>
+      <name>Amdatu Distributions</name>
+      <id>amdatu.releases</id>
+      <url>${repository.url}/releases</url>
+    </repository>
+    <site>
+      <name>Amdatu Sites</name>
+      <id>amdatu.sites</id>
+      <url>${repository.url}/sites</url>
+    </site>
+  </distributionManagement>
+
+  <issueManagement>
+    <system>JIRA</system>
+    <url>http://jira.amdatu.org/jira</url>
+  </issueManagement>
+
+  <mailingLists>
+    <mailingList>
+      <name>Amdatu users</name>
+      
<subscribe>http://lists.amdatu.org/mailman/listinfo/amdatu-users</subscribe>
+      
<unsubscribe>http://lists.amdatu.org/mailman/listinfo/amdatu-users</unsubscribe>
+      <post>amdatu-users at amdatu.org</post>
+      <archive>http://lists.amdatu.org/pipermail/amdatu-users</archive>
+    </mailingList>
+    <mailingList>
+      <name>Amdatu developers</name>
+      
<subscribe>http://lists.amdatu.org/mailman/listinfo/amdatu-developers</subscribe>
+      
<unsubscribe>http://lists.amdatu.org/mailman/listinfo/amdatu-developers</unsubscribe>
+      <post>amdatu-developers at amdatu.org</post>
+      <archive>http://lists.amdatu.org/pipermail/amdatu-developers</archive>
+    </mailingList>
+    <mailingList>
+      <name>Subversion commits</name>
+      
<subscribe>http://lists.amdatu.org/mailman/listinfo/amdatu-commits</subscribe>
+      
<unsubscribe>http://lists.amdatu.org/mailman/listinfo/amdatu-commits</unsubscribe>
+      <post>amdatu-commits at amdatu.org</post>
+      <archive>http://lists.amdatu.org/pipermail/amdatu-commits</archive>
+    </mailingList>
+  </mailingLists>
+
+  <scm>
+    <connection>scm:svn:http://subversion.amdatu.org/svn/amdatu</connection>
+    
<developerConnection>scm:svn:http://subversion.amdatu.org/svn/amdatu</developerConnection>
+    <url>http://subversion.amdatu.org/viewvc/amdatu</url>
+  </scm>
+
+  <developers>
+    <developer>
+      <id>ivol</id>
+      <name>Ivo Ladage-van Doorn</name>
+      <email>ivo.ladage-vandoorn at gxsoftware.com</email>
+      <organization>GX Software</organization>
+      <organizationUrl>http://gxsoftware.com</organizationUrl>
+      <roles>
+        <role>Developer</role>
+      </roles>
+    </developer>
+    <developer>
+      <id>angelos</id>
+      <name>Angelo van der Sijpt</name>
+      <email>angelo.vandersijpt at luminis.eu</email>
+      <organization>Luminis</organization>
+      <organizationUrl>http://luminis.eu</organizationUrl>
+      <roles>
+        <role>Developer</role>
+      </roles>
+    </developer>
+    <developer>
+      <id>marcelo</id>
+      <name>Marcel Offermans</name>
+      <email>marcel.offermans at luminis.eu</email>
+      <organization>Luminis</organization>
+      <organizationUrl>http://luminis.eu</organizationUrl>
+      <roles>
+        <role>Developer</role>
+      </roles>
+    </developer>
+    <developer>
+      <id>bramk</id>
+      <name>Bram de Kruijff</name>
+      <email>bram.dekruijff at gxsoftware.com</email>
+      <organization>GX Software</organization>
+      <organizationUrl>http://gxsoftware.com</organizationUrl>
+      <roles>
+        <role>Developer</role>
+      </roles>
+    </developer>
+  </developers>
+
+  <repositories>
+    <repository>
+      <id>com.springsource.repository.bundles.release</id>
+      <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle 
Releases</name>
+      <url>http://repository.springsource.com/maven/bundles/release</url>
+    </repository>
+    <repository>
+      <id>com.springsource.repository.bundles.external</id>
+      <name>SpringSource Enterprise Bundle Repository - External Bundle 
Releases</name>
+      <url>http://repository.springsource.com/maven/bundles/external</url>
+    </repository>
+    <repository>
+      <id>shorrockin.com</id>
+      <name>Shorrockin Repository</name>
+      <url>http://maven.shorrockin.com/</url>
+    </repository>
+    <repository>
+      <id>java.net.com</id>
+      <name>Download java.net</name>
+      <url>http://download.java.net/maven/2</url>
+    </repository>
+    <repository>
+      <id>openrdf</id>
+      <name>OpenRDF</name>
+      <url>http://repo.aduna-software.org/maven2/releases</url>
+    </repository>
+    <repository>
+      <id>repo1</id>
+      <name>repo1</name>
+      <url>http://repo1.maven.org/maven2</url>
+    </repository>
+    <repository>
+      <id>maven.scale7.org</id>
+      <name>Scale7 Maven Repo</name>
+      <url>http://github.com/s7/mvnrepo/raw/master</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+    </repository>
+  </repositories>
+
+  <!--
+    Here we manage the dependencies of all child projects
+  -->
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>javax.servlet</groupId>
+        <artifactId>jstl</artifactId>
+        <version>${jstl.version}</version>
+        <scope>provided</scope>
+      </dependency>
+      <dependency>
+        <groupId>taglibs</groupId>
+        <artifactId>standard</artifactId>
+        <version>${taglibs.version}</version>
+        <scope>provided</scope>
+      </dependency>
+
+      <!--
+        Platform bundles (start level 5)
+      -->
+      <dependency>
+        <groupId>org.amdatu.platform</groupId>
+        <artifactId>authorization</artifactId>
+        <version>${platform.version}</version>
+        <scope>provided</scope>
+        <type>bundle</type>
+      </dependency>
+      <dependency>
+        <groupId>org.amdatu.platform</groupId>
+        <artifactId>cassandra-application</artifactId>
+        <version>${platform.version}</version>
+        <scope>provided</scope>
+        <type>bundle</type>
+      </dependency>
+      <dependency>
+        <groupId>org.amdatu.platform</groupId>
+        <artifactId>cassandra-listener</artifactId>
+        <version>${platform.version}</version>
+        <scope>provided</scope>
+        <type>bundle</type>
+      </dependency>
+      <dependency>
+        <groupId>org.amdatu.platform</groupId>
+        <artifactId>cassandra-persistencemanager</artifactId>
+        <version>${platform.version}</version>
+        <scope>provided</scope>
+        <type>bundle</type>
+      </dependency>
+      <dependency>
+        <groupId>org.amdatu.libraries</groupId>
+        <artifactId>amdatu-utilities</artifactId>
+        <version>${platform.version}</version>
+        <scope>provided</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.amdatu.application</groupId>
+        <artifactId>gadgetmanagement</artifactId>
+        <version>${platform.version}</version>
+        <scope>provided</scope>
+        <type>bundle</type>
+      </dependency>
+      <dependency>
+        <groupId>org.amdatu.platform</groupId>
+        <artifactId>config-template-manager</artifactId>
+        <version>${platform.version}</version>
+        <scope>provided</scope>
+        <type>bundle</type>
+      </dependency>
+      <dependency>
+        <groupId>org.amdatu.platform</groupId>
+        <artifactId>httpcontext</artifactId>
+        <version>${platform.version}</version>
+        <scope>provided</scope>
+        <type>bundle</type>
+      </dependency>
+      <dependency>
+        <groupId>org.amdatu.platform</groupId>
+        <artifactId>profile-service</artifactId>
+        <version>${platform.version}</version>
+        <scope>provided</scope>
+        <type>bundle</type>
+      </dependency>
+      <dependency>
+        <groupId>org.amdatu.platform</groupId>
+        <artifactId>sesame-application</artifactId>
+        <version>${platform.version}</version>
+        <scope>provided</scope>
+        <type>bundle</type>
+      </dependency>
+      <dependency>
+        <groupId>org.amdatu.platform</groupId>
+        <artifactId>filebased-configuration</artifactId>
+        <version>${platform.version}</version>
+        <scope>provided</scope>
+        <type>bundle</type>
+      </dependency>
+      <dependency>
+        <groupId>org.amdatu.platform</groupId>
+        <artifactId>shindig-application</artifactId>
+        <version>${platform.version}</version>
+        <scope>provided</scope>
+        <type>bundle</type>
+      </dependency>
+      <dependency>
+        <groupId>org.amdatu.platform</groupId>
+        <artifactId>tenant-service</artifactId>
+        <version>${platform.version}</version>
+        <scope>provided</scope>
+        <type>bundle</type>
+      </dependency>
+      <dependency>
+        <groupId>org.amdatu.platform</groupId>
+        <artifactId>wink-application</artifactId>
+        <version>${platform.version}</version>
+        <scope>provided</scope>
+        <type>bundle</type>
+      </dependency>
+      <dependency>
+        <groupId>org.amdatu.platform</groupId>
+        <artifactId>useradmin-cassandra-store</artifactId>
+        <version>${platform.version}</version>
+        <scope>provided</scope>
+        <type>bundle</type>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.wink</groupId>
+        <artifactId>wink-server</artifactId>
+        <version>${org.apache.wink.version}</version>
+        <scope>provided</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.wink</groupId>
+        <artifactId>wink-common</artifactId>
+        <version>${org.apache.wink.version}</version>
+        <scope>provided</scope>
+      </dependency>
+      <dependency>
+        <groupId>javax.ws.rs</groupId>
+        <artifactId>jsr311-api</artifactId>
+        <version>${jsr311-api.version}</version>
+        <scope>provided</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.ops4j.pax.useradmin</groupId>
+        <artifactId>pax-useradmin-service</artifactId>
+        <version>${pax.useradmin.version}</version>
+        <scope>provided</scope>
+      </dependency>
+      <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <version>${junit.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jmock</groupId>
+        <artifactId>jmock-junit4</artifactId>
+        <version>${jmock.version}</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
+  <dependencies>
+    <!--
+      This is required to be first so that pax-exam classloader is not messed 
up with a newer version of felix which
+      would lead to java.lang.NoSuchMethodError: 
org.apache.felix.framework.Logger.<init>(I)V
+    -->
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.framework</artifactId>
+      <version>${org.apache.felix.main.version}</version>
+      <scope>test</scope>
+    </dependency>
+
+    <!-- The main Felix framework -->
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.main</artifactId>
+      <version>${org.apache.felix.main.version}</version>
+      <scope>runtime</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.osgi.core</artifactId>
+      <version>${org.osgi.version}</version>
+      <scope>provided</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.osgi.compendium</artifactId>
+      <version>${org.osgi.version}</version>
+      <scope>provided</scope>
+      <exclusions>
+        <exclusion>
+          <groupId> org.apache.felix</groupId>
+          <artifactId>org.osgi.foundation</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.scr</artifactId>
+      <version>${org.apache.felix.scr.version}</version>
+      <scope>provided</scope>
+    </dependency>
+
+    <!-- Event admin service -->
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.eventadmin</artifactId>
+      <version>${org.apache.felix.eventadmin.version}</version>
+      <scope>provided</scope>
+    </dependency>
+
+    <!-- Configuration administration service -->
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.configadmin</artifactId>
+      <version>${org.apache.felix.configadmin.version}</version>
+      <scope>runtime</scope>
+    </dependency>
+
+    <!-- Log service bundle -->
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.log</artifactId>
+      <version>${org.apache.felix.log.version}</version>
+      <scope>runtime</scope>
+    </dependency>
+
+    <!-- File install bundle -->
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.fileinstall</artifactId>
+      <version>${org.apache.felix.file.install.version}</version>
+      <scope>runtime</scope>
+    </dependency>
+
+    <!-- Use Pax Web as HTTP service implementation -->
+    <dependency>
+      <groupId>org.ops4j.pax.web</groupId>
+      <artifactId>pax-web-jetty-bundle</artifactId>
+      <version>${pax-web.version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.ops4j.pax.web</groupId>
+      <artifactId>pax-web-jsp</artifactId>
+      <version>${pax-web.version}</version>
+      <scope>provided</scope>
+    </dependency>
+
+    <!-- Include Apache Sling mimetype service -->
+    <dependency>
+      <groupId>org.apache.sling</groupId>
+      <artifactId>org.apache.sling.commons.mime</artifactId>
+      <version>${org.apache.sling.commons.mime.version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.sling</groupId>
+      <artifactId>org.apache.sling.commons.osgi</artifactId>
+      <version>${org.apache.sling.commons.osgi.version}</version>
+      <scope>provided</scope>
+    </dependency>
+
+    <!-- Dependency manager -->
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.dependencymanager</artifactId>
+      <version>${org.apache.felix.dependencymanager.version}</version>
+      <scope>provided</scope>
+    </dependency>
+
+    <!-- The metatype service -->
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.metatype</artifactId>
+      <version>${org.apache.felix.metatype.version}</version>
+      <scope>runtime</scope>
+    </dependency>
+
+    <!-- Web Console -->
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.webconsole</artifactId>
+      <version>${org.apache.felix.webconsole.version}</version>
+      <scope>runtime</scope>
+    </dependency>
+
+    <!-- Enable this section to enable standard Felix shell -->
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.shell.tui</artifactId>
+      <version>${org.apache.felix.shell.tui.version}</version>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.shell</artifactId>
+      <version>${org.apache.felix.shell.version}</version>
+      <scope>runtime</scope>
+    </dependency>
+
+    <!-- Enable this section to enable the Gogo shell -->
+    <!-- <dependency> <groupId>org.apache.felix</groupId> 
<artifactId>org.apache.felix.gogo.runtime</artifactId> 
<version>${org.apache.felix.gogo.version}</version>
+      <scope>runtime</scope> </dependency> <dependency> 
<groupId>org.apache.felix</groupId> 
<artifactId>org.apache.felix.gogo.shell</artifactId>
+      <version>${org.apache.felix.gogo.version}</version> 
<scope>runtime</scope> </dependency> <dependency> 
<groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.gogo.command</artifactId> 
<version>${org.apache.felix.gogo.version}</version> <scope>runtime</scope>
+      </dependency> -->
+
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>${junit.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.jmock</groupId>
+      <artifactId>jmock-junit4</artifactId>
+      <version>${jmock.version}</version>
+    </dependency>
+
+    <!-- UserAdmin implementation -->
+    <dependency>
+      <groupId>org.ops4j.pax.useradmin</groupId>
+      <artifactId>pax-useradmin-service</artifactId>
+      <version>${pax.useradmin.version}</version>
+      <scope>runtime</scope>
+    </dependency>
+  </dependencies>
+
+
+  <!--
+    Build section, handles project's directory structure and plugins
+  -->
+  <build>
+    
<finalName>${project.groupId}.${project.artifactId}-${platform.version}</finalName>
+
+    <plugins>
+      <!--
+        Specify the exact maven plugin version here, since some versions have 
issues with resource filtering in
+        versions 2.7 and 2.8 (see 
http://stackoverflow.com/questions/1397903/setting-project-for-eclipse-using-maven)
+      -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-eclipse-plugin</artifactId>
+        <version>2.6</version>
+      </plugin>
+
+      <!--
+        Since the Felix dependency manager 3.0.0 is not yet available in 
online maven repositories, it must be
+        installed to the local maven repository. We use the 
maven-install-plugin to do so during build
+      -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-install-plugin</artifactId>
+        <inherited>false</inherited>
+        <executions>
+          <execution>
+            <id>install-felix-dependency-manager</id>
+            <phase>initialize</phase>
+            <goals>
+              <goal>install-file</goal>
+            </goals>
+            <configuration>
+              
<file>${basedir}/src/main/resources/lib/org.apache.felix.dependencymanager-3.0.0-SNAPSHOT.jar</file>
+              <groupId>org.apache.felix</groupId>
+              <artifactId>org.apache.felix.dependencymanager</artifactId>
+              <version>${org.apache.felix.dependencymanager.version}</version>
+              <packaging>jar</packaging>
+            </configuration>
+          </execution>
+
+          <execution>
+            <id>install-commons-logging-osgi-adapter</id>
+            <phase>initialize</phase>
+            <goals>
+              <goal>install-file</goal>
+            </goals>
+            <configuration>
+              
<file>${basedir}/src/main/resources/lib/commons-logging-osgi-20081215.jar</file>
+              <groupId>net.kornr.osgi</groupId>
+              <artifactId>commons-logging-osgi</artifactId>
+              <version>${net.kornr.osgi.commons-logging-osgi.version}</version>
+              <packaging>jar</packaging>
+            </configuration>
+          </execution>
+
+          <execution>
+            <id>install-felix-dependency-manager-shell</id>
+            <phase>initialize</phase>
+            <goals>
+              <goal>install-file</goal>
+            </goals>
+            <configuration>
+              
<file>${basedir}/src/main/resources/lib/org.apache.felix.dependencymanager.shell-3.0.0-SNAPSHOT.jar</file>
+              <groupId>org.apache.felix</groupId>
+              <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
+              <version>${org.apache.felix.dependencymanager.version}</version>
+              <packaging>jar</packaging>
+            </configuration>
+          </execution>
+
+          <execution>
+            <id>install-pax-dependency-manager</id>
+            <phase>initialize</phase>
+            <goals>
+              <goal>install-file</goal>
+            </goals>
+            <configuration>
+              
<file>${basedir}/src/main/resources/lib/pax-useradmin-service-0.0.1-SNAPSHOT.jar</file>
+              <groupId>org.ops4j.pax.useradmin</groupId>
+              <artifactId>pax-useradmin-service</artifactId>
+              <version>${pax.useradmin.version}</version>
+              <packaging>jar</packaging>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <inherited>false</inherited>
+        <executions>
+          <!-- Copy all system bundles -->
+          <execution>
+            <id>copy-system-runtime-bundles</id>
+            <phase>compile</phase>
+            <goals>
+              <goal>copy-dependencies</goal>
+            </goals>
+            <configuration>
+              
<outputDirectory>${root.directory}/system-bundles</outputDirectory>
+              <excludeTransitive>true</excludeTransitive>
+              <includeScope>runtime</includeScope>
+              
<includeGroupIds>org.apache.felix,org.ops4j.pax.web,org.ops4j.pax.useradmin,org.apache.sling</includeGroupIds>
+            </configuration>
+          </execution>
+          <execution>
+            <id>copy-system-provided-bundles</id>
+            <phase>compile</phase>
+            <goals>
+              <goal>copy-dependencies</goal>
+            </goals>
+            <configuration>
+              
<outputDirectory>${root.directory}/system-bundles</outputDirectory>
+              <excludeTransitive>true</excludeTransitive>
+              <includeScope>provided</includeScope>
+              
<includeGroupIds>org.apache.felix,org.ops4j.pax.web,org.apache.sling</includeGroupIds>
+            </configuration>
+          </execution>
+
+          <!-- Copy all platform bundles -->
+          <execution>
+            <id>copy-platform-bundles</id>
+            <phase>package</phase>
+            <goals>
+              <goal>copy-dependencies</goal>
+            </goals>
+            <configuration>
+              
<outputDirectory>${root.directory}/platform-bundles</outputDirectory>
+              <excludeTransitive>true</excludeTransitive>
+              <includeScope>provided</includeScope>
+              <includeGroupIds>org.amdatu.platform-bundles</includeGroupIds>
+              <excludeTypes>jar</excludeTypes>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+          <debug>${compiler.debug}</debug>
+          <optimize>${compiler.optimize}</optimize>
+        </configuration>
+      </plugin>
+
+      <!-- Copy configuration files -->
+      <plugin>
+        <artifactId>maven-resources-plugin</artifactId>
+        <inherited>false</inherited>
+        <version>2.4.3</version>
+        <executions>
+          <execution>
+            <id>copy-conf</id>
+            <phase>install</phase>
+            <goals>
+              <goal>copy-resources</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${conf.directory}</outputDirectory>
+              <resources>
+                <resource>
+                  <directory>src/main/resources/conf</directory>
+                  <filtering>true</filtering>
+                </resource>
+              </resources>
+            </configuration>
+          </execution>
+          <execution>
+            <id>copy-shell</id>
+            <phase>install</phase>
+            <goals>
+              <goal>copy-resources</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${root.directory}</outputDirectory>
+              <resources>
+                <resource>
+                  <directory>src/main/resources/shell</directory>
+                  <filtering>true</filtering>
+                </resource>
+              </resources>
+            </configuration>
+          </execution>
+          <execution>
+            <id>copy-shortcuts</id>
+            <phase>install</phase>
+            <goals>
+              <goal>copy-resources</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${root.directory}</outputDirectory>
+              <resources>
+                <resource>
+                  <directory>src/main/resources/shortcuts</directory>
+                  <filtering>true</filtering>
+                </resource>
+              </resources>
+            </configuration>
+          </execution>
+          <execution>
+            <id>copy-configs</id>
+            <phase>install</phase>
+            <goals>
+              <goal>copy-resources</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${deploy.directory}</outputDirectory>
+              <resources>
+                <resource>
+                  
<directory>platform-bundles/cassandra-application/src/main/resources/conf</directory>
+                  <filtering>true</filtering>
+                </resource>
+                <resource>
+                  
<directory>example-bundles/course-gadget/src/main/resources/conf</directory>
+                  <filtering>true</filtering>
+                </resource>
+                <resource>
+                  
<directory>example-bundles/course-service/src/main/resources/conf</directory>
+                  <filtering>true</filtering>
+                </resource>
+                <resource>
+                  
<directory>example-bundles/friends-gadget/src/main/resources/conf</directory>
+                  <filtering>true</filtering>
+                </resource>
+                <resource>
+                  
<directory>gadget-bundles/login-gadget/src/main/resources/conf</directory>
+                  <filtering>true</filtering>
+                </resource>
+                <resource>
+                  
<directory>gadget-bundles/sparqlendpoint-gadget/src/main/resources/conf</directory>
+                  <filtering>true</filtering>
+                </resource>
+                <resource>
+                  
<directory>platform-bundles/loghandler/src/main/resources/conf</directory>
+                  <filtering>true</filtering>
+                </resource>
+                <resource>
+                  
<directory>platform-bundles/config-template-manager/src/main/resources/conf</directory>
+                  <filtering>true</filtering>
+                </resource>
+              </resources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>2.1.1</version>
+      </plugin>
+
+      <!--
+        Activate bundle plugin for handling bundle extension
+      -->
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+      </plugin>
+    </plugins>
+
+    <!-- Here we manage the plugins of all child projects -->
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.felix</groupId>
+          <artifactId>maven-bundle-plugin</artifactId>
+          <extensions>true</extensions>
+          <version>2.1.0</version>
+        </plugin>
+
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>2.3.2</version>
+        </plugin>
+
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-install-plugin</artifactId>
+          <version>2.3.1</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
+  <reporting>
+    <outputDirectory>target/site</outputDirectory>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <version>2.2</version>
+        <reportSets>
+          <reportSet>
+            <inherited>false</inherited>
+            <reports>
+              <report>cim</report>
+              <!-- <report>dependencies</report> -->
+              <!-- <report>dependency-convergence</report> -->
+              <report>dependency-management</report>
+              <report>index</report>
+              <report>issue-tracking</report>
+              <report>license</report>
+              <report>mailing-list</report>
+              <report>plugin-management</report>
+              <report>plugins</report>
+              <report>project-team</report>
+              <report>scm</report>
+              <report>summary</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+    </plugins>
+  </reporting>
+
+</project>

Reply via email to