Build added to Releng Sandbox
diff --git a/build/about.html b/build/about.html
new file mode 100644
index 0000000..b92d1c9
--- /dev/null
+++ b/build/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
+<html xmlns="http://www.w3.org/1999/xhtml"> 
+<head> 
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> 
+<title>About</title> 
+</head> 
+<body lang="EN-US"> 
+<h2>About This Content</h2> 
+ 
+<p>June 6, 2011</p>
+<h3>License</h3> 
+ 
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;).  Unless otherwise 
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;).  A copy of the EPL is available 
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p> 
+ 
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is 
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content.  Check the Redistributor's license that was 
+provided with the Content.  If no such license exists, contact the Redistributor.  Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> 
+ 
+</body> 
+</html>
diff --git a/build/pom-test.xml b/build/pom-test.xml
new file mode 100644
index 0000000..1ff3c47
--- /dev/null
+++ b/build/pom-test.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<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">
+
+  <parent>
+    <groupId>org.eclipse.ecr.build</groupId>
+    <artifactId>org.eclipse.ecr.build.tycho</artifactId>
+    <version>0.5.4-SNAPSHOT</version>
+    <relativePath>.</relativePath>
+  </parent>
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.eclipse.ecr.build</groupId>
+  <artifactId>org.eclipse.ecr.build.test</artifactId>
+  <packaging>pom</packaging>
+  <name>Eclipse ECR Test Build</name>
+  <description>Configure test project layout.</description>
+
+  <build>
+    <resources>
+      <resource>
+        <directory></directory>
+        <includes>
+          <include>META-INF/**</include>
+          <include>OSGI-INF/**</include>
+          <include>resources/**</include>
+        </includes>
+      </resource>
+      <resource>
+        <directory>src</directory>
+        <excludes>
+          <exclude>**/*.java</exclude>
+        </excludes>
+      </resource>
+    </resources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.5</version>
+        <executions>
+          <execution>
+            <id>test</id>
+            <phase>test</phase>
+            <configuration>
+              <testClassesDirectory>${project.build.outputDirectory}</testClassesDirectory>
+              <!--testClassesDirectory>target/test-classes</testClassesDirectory-->
+            </configuration>
+            <goals>
+              <goal>test</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+</project>
diff --git a/build/pom.xml b/build/pom.xml
new file mode 100644
index 0000000..e5c8456
--- /dev/null
+++ b/build/pom.xml
@@ -0,0 +1,215 @@
+<?xml version="1.0"?>
+<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.eclipse.uomo.build</groupId>
+  <artifactId>org.eclipse.uomo.build.tycho</artifactId>
+  <version>0.6.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+  <name>Eclipse UOMo Tycho Build</name>
+  <description>Provide common OSGi tycho build directives.</description>
+
+  <modules>
+    <module>./pom-test.xml</module>
+    <module>../bundles/org.eclipse.uomo.core</module>
+    <module>../bundles/org.eclipse.uomo.business</module>
+    <module>../bundles/org.eclipse.ecr.platform.audit.api</module>
+    <!--module>../plugins/org.eclipse.ecr.testlib</module-->
+    <!--module>../plugins/org.eclipse.ecr.core.storage.sql.testlib</module-->
+
+    <!--module>../tests/org.eclipse.ecr.convert.test</module>
+    <module>../tests/org.eclipse.ecr.core.api.test</module>
+    <module>../tests/org.eclipse.ecr.core.event.test</module>
+    <module>../tests/org.eclipse.ecr.core.io.test</module>
+    <module>../tests/org.eclipse.ecr.core.query.test</module>
+    <module>../tests/org.eclipse.ecr.core.schema.test</module>
+    <module>../tests/org.eclipse.ecr.core.storage.sql.test</module>
+    <module>../tests/org.eclipse.ecr.core.test</module>
+    <module>../tests/org.eclipse.ecr.runtime.test</module-->
+
+    <!--module>../features/org.eclipse.ecr.test</module-->
+
+    <module>repository</module>
+  </modules>
+
+  <scm>
+    <connection>scm:hg:http://hg.nuxeo.org/sandbox/nuxeo-osgi</connection>
+    <developerConnection>scm:hg:https://hg.nuxeo.org/sandbox/nuxeo-osgi</developerConnection>
+    <url>http://hg.nuxeo.org/nuxeo/</url>
+  </scm>
+
+  <properties>
+    <tycho-version>0.14.0</tycho-version>
+    <orbit-version>current</orbit-version>
+    <eclipse-version>current</eclipse-version>
+  </properties>
+
+  <profiles>
+    <profile>
+      <id>tycho-offline</id>
+      <properties>
+	<nuxeo-osgi-url>http://localhost/p2</nuxeo-osgi-url>
+      </properties>
+    </profile>
+  </profiles>
+
+  <repositories>
+    <repository>
+      <id>equinox-site</id>
+      <layout>p2</layout>
+      <url>${equinox-site}</url>
+    </repository>
+    <repository>
+      <id>libs-site</id>
+      <layout>p2</layout>
+      <url>${libs-site}</url>
+    </repository>
+    
+    		<repository>
+			<id>eclipse-public</id>
+			<name>Public Eclipse.org Nexus</name>
+			<url>http://maven.eclipse.org/nexus/content/groups/public/</url>
+		</repository>
+
+		<repository>
+			<id>eclipse-central</id>
+			<name>Central Eclipse.org Nexus</name>
+			<url>http://maven.eclipse.org/nexus/content/groups/central/</url>
+		</repository>
+		
+		<repository>
+			<id>maven-geotoolkit.org</id>
+			<name>GeoToolkit Repository for Maven</name>
+			<url>http://maven.geotoolkit.org/</url>
+		</repository>
+    
+  <!--   <repository>
+      <id>public</id>
+      <url>http://maven.nuxeo.org/nexus/content/groups/public</url>
+      <releases>
+        <enabled>true</enabled>
+      </releases>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+    </repository>
+    <repository>
+      <id>public-snapshot</id>
+      <url>http://maven.nuxeo.org/nexus/content/groups/public-snapshot</url>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <snapshots>
+        <updatePolicy>always</updatePolicy>
+        <enabled>true</enabled>
+      </snapshots>
+    </repository> -->
+  </repositories>
+
+  <build>
+    <plugins>
+      <plugin>
+	<groupId>org.eclipse.tycho</groupId>
+	<artifactId>tycho-maven-plugin</artifactId>
+	<version>${tycho-version}</version>
+	<extensions>true</extensions>
+      </plugin>
+      <plugin>
+	<groupId>org.eclipse.tycho</groupId>
+	<artifactId>target-platform-configuration</artifactId>
+	<version>${tycho-version}</version>
+	<configuration>
+	  <resolver>p2</resolver>
+<!--
+          <environments>
+            <environment>
+              <os>linux</os>
+              <ws>gtk</ws>
+              <arch>x86</arch>
+            </environment>
+            <environment>
+              <os>linux</os>
+              <ws>gtk</ws>
+              <arch>x86_64</arch>
+            </environment>
+            <environment>
+              <os>win32</os>
+              <ws>win32</ws>
+              <arch>x86_64</arch>
+            </environment>
+            <environment>
+              <os>win32</os>
+              <ws>win32</ws>
+              <arch>x86</arch>
+            </environment>
+            <environment>
+              <os>macosx</os>
+              <ws>carbon</ws>
+              <arch>x86</arch>
+            </environment>
+            <environment>
+              <os>macosx</os>
+              <ws>cocoa</ws>
+              <arch>x86</arch>
+            </environment>
+            <environment>
+              <os>macosx</os>
+              <ws>cocoa</ws>
+              <arch>x86_64</arch>
+            </environment>
+	  </environments>
+ -->
+	</configuration>
+      </plugin>
+      <plugin>
+	<groupId>org.eclipse.tycho</groupId>
+	<artifactId>tycho-packaging-plugin</artifactId>
+	<version>${tycho-version}</version>
+	<configuration>
+	  <archiveSite>true</archiveSite>
+	</configuration>
+      </plugin>
+      <plugin>
+	<groupId>org.eclipse.tycho</groupId>
+	<artifactId>tycho-source-plugin</artifactId>
+	<version>${tycho-version}</version>
+	<executions>
+	  <execution>
+	    <id>plugin-source</id>
+	    <goals>
+	      <goal>plugin-source</goal>
+	    </goals>
+	  </execution>
+	</executions>
+      </plugin>
+      <plugin>
+	<inherited>true</inherited>
+	<groupId>org.eclipse.tycho</groupId>
+	<artifactId>tycho-p2-publisher-plugin</artifactId>
+	<version>${tycho-version}</version>
+	<configuration>
+	  <publishArtifacts>true</publishArtifacts>
+	</configuration>
+      </plugin>
+      <plugin>
+	<groupId>org.eclipse.tycho</groupId>
+	<artifactId>tycho-p2-director-plugin</artifactId>
+	<version>${tycho-version}</version>
+      </plugin>
+    </plugins>
+  </build>
+
+  <dependencyManagement>
+    <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.7</version>
+    </dependency>
+    </dependencies>
+  </dependencyManagement>
+
+</project>
diff --git a/build/repository/about.html b/build/repository/about.html
new file mode 100644
index 0000000..b92d1c9
--- /dev/null
+++ b/build/repository/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
+<html xmlns="http://www.w3.org/1999/xhtml"> 
+<head> 
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> 
+<title>About</title> 
+</head> 
+<body lang="EN-US"> 
+<h2>About This Content</h2> 
+ 
+<p>June 6, 2011</p>
+<h3>License</h3> 
+ 
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;).  Unless otherwise 
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;).  A copy of the EPL is available 
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p> 
+ 
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is 
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content.  Check the Redistributor's license that was 
+provided with the Content.  If no such license exists, contact the Redistributor.  Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> 
+ 
+</body> 
+</html>
diff --git a/build/repository/category.xml b/build/repository/category.xml
new file mode 100644
index 0000000..fa3393b
--- /dev/null
+++ b/build/repository/category.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<site>
+
+   <feature url="features/org.eclipse.ecr.core_0.5.4.qualifier.jar" id="org.eclipse.ecr.core" version="0.5.4.qualifier">
+      <category name="org.eclipse.ecr"/>
+   </feature>
+   <feature url="features/org.eclipse.ecr.core.sdk_0.5.4.qualifier.jar" id="org.eclipse.ecr.core.sdk" version="0.5.4.qualifier">
+      <category name="org.eclipse.ecr.sdk"/>
+   </feature>
+
+   <feature url="features/org.eclipse.ecr.equinox_0.5.4.qualifier.jar" id="org.eclipse.ecr.equinox" version="0.5.4.qualifier">
+      <category name="org.eclipse.ecr"/>
+   </feature>
+   <feature url="features/org.eclipse.ecr.equinox.sdk_0.5.4.qualifier.jar" id="org.eclipse.ecr.equinox.sdk" version="0.5.4.qualifier">
+      <category name="org.eclipse.ecr.sdk"/>
+   </feature>
+
+   <feature url="features/org.eclipse.ecr.dependencies_0.5.4.qualifier.jar" id="org.eclipse.ecr.dependencies" version="0.5.4.qualifier">
+      <category name="org.eclipse.ecr"/>
+   </feature>
+
+   <feature url="features/org.eclipse.ecr.h2_0.5.4.qualifier.jar" id="org.eclipse.ecr.h2" version="0.5.4.qualifier">
+      <category name="org.eclipse.ecr"/>
+   </feature>
+   <feature url="features/org.eclipse.ecr.h2.sdk_0.5.4.qualifier.jar" id="org.eclipse.ecr.h2.sdk" version="0.5.4.qualifier">
+      <category name="org.eclipse.ecr.sdk"/>
+   </feature>
+
+   <feature url="features/org.eclipse.ecr.web_0.5.4.qualifier.jar" id="org.eclipse.ecr.web" version="0.5.4.qualifier">
+      <category name="org.eclipse.ecr"/>
+   </feature>
+   <feature url="features/org.eclipse.ecr.web.sdk_0.5.4.qualifier.jar" id="org.eclipse.ecr.web.sdk" version="0.5.4.qualifier">
+      <category name="org.eclipse.ecr.sdk"/>
+   </feature>
+
+   <feature url="features/org.eclipse.ecr.opencmis_0.5.4.qualifier.jar" id="org.eclipse.ecr.opencmis" version="0.5.4.qualifier">
+      <category name="org.eclipse.ecr"/>
+   </feature>
+   <feature url="features/org.eclipse.ecr.opencmis.sdk_0.5.4.qualifier.jar" id="org.eclipse.ecr.opencmis.sdk" version="0.5.4.qualifier">
+      <category name="org.eclipse.ecr.sdk"/>
+   </feature>
+
+   <!--feature url="features/org.eclipse.ecr.test_0.5.4.qualifier.jar" id="org.eclipse.ecr.test" version="0.5.4.qualifier">
+      <category name="org.eclipse.ecr.test"/>
+   </feature-->
+
+   <feature url="features/org.eclipse.ecr.psql_0.5.4.qualifier.jar" id="org.eclipse.ecr.psql" version="0.5.4.qualifier">
+      <category name="org.eclipse.ecr.psql"/>
+   </feature>
+
+   <category-def name="org.eclipse.ecr" label="Eclipse Content Repository (ECR)"/>
+   <category-def name="org.eclipse.ecr.sdk" label="Eclipse Content Repository (ECR) SDK"/>
+   <!--category-def name="org.eclipse.ecr.test" label="Eclipse Content Repository (ECR) Tests"/-->
+
+   <category-def name="org.eclipse.ecr.psql" label="ECR Postgresql Support"/>
+
+</site>
diff --git a/build/repository/pom.xml b/build/repository/pom.xml
new file mode 100644
index 0000000..f294f49
--- /dev/null
+++ b/build/repository/pom.xml
@@ -0,0 +1,40 @@
+<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.eclipse.uomo.build</groupId>
+  <artifactId>org.eclipse.uomo.build.repository</artifactId>
+  <name>Eclipse UOMo Tycho Repository Build</name>
+  <packaging>eclipse-repository</packaging>
+
+  <parent>
+    <groupId>org.eclipse.uomo.build</groupId>
+    <artifactId>org.eclipse.uomo.build.tycho</artifactId>
+    <version>0.6.0-SNAPSHOT</version>
+    <relativePath>..</relativePath>
+  </parent>
+
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <version>1.6</version>
+        <executions>
+          <execution>
+            <phase>process-resources</phase>
+            <configuration>
+              <target>
+                <echo>Adding profiles.xml file</echo>
+                <copy file="profiles.xml" todir="target/repository"/>
+              </target>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>
diff --git a/build/repository/profiles.xml b/build/repository/profiles.xml
new file mode 100644
index 0000000..0b4d23e
--- /dev/null
+++ b/build/repository/profiles.xml
@@ -0,0 +1,99 @@
+<profiles>
+
+  <system>
+    <package name="javax.swing" />
+    <package name="javax.xml.ws" />
+    <package name="javax.jws" />
+    <package name="com.sun.xml.ws" />
+    <package name="javax.xml.bind" />
+    <package name="javax.xml.transform" />
+    <package name="javax.naming" />
+    <package name="javax.management" />
+    <package name="javax.sql" />
+    <package name="javax.imageio" />
+    <package name="javax.net" />
+    <package name="javax.script" />
+    <package name="javax.security" />
+    <package name="org.ietf.jgss" />
+  </system>
+
+  <profile name="core">
+    <artifact name="org.eclipse.osgi" />
+    <artifact name="org.eclipse.osgi.services" />
+    <artifact name="org.eclipse.equinox.launcher" />
+    <artifact name="org.eclipse.equinox.http.servlet" />
+    <artifact name="ch.qos.logback.slf4j" />
+
+    <artifact name="org.eclipse.ecr.runtime" />
+    <artifact name="org.eclipse.ecr.runtime.jtajca" />
+
+    <artifact name="org.eclipse.ecr.application" autostart="true"/>
+    <artifact name="org.eclipse.ecr.configuration.base" />
+
+    <artifact name="org.eclipse.ecr.core.api" />
+    <artifact name="org.eclipse.ecr.core.schema" />
+    <artifact name="org.eclipse.ecr.core.query" />
+    <artifact name="org.eclipse.ecr.core" />
+    <artifact name="org.eclipse.ecr.core.event" />
+    <artifact name="org.eclipse.ecr.core.io" />
+    <artifact name="org.eclipse.ecr.core.storage.sql" />
+    <artifact name="org.eclipse.ecr.core.storage.sql.extensions" />
+    <artifact name="org.eclipse.ecr.core.storage.sql.ra" />
+    <artifact name="org.eclipse.ecr.core.convert.api" />
+    <artifact name="org.eclipse.ecr.core.convert" />
+
+    <artifact name="org.eclipse.ecr.auth" />
+    <artifact name="org.eclipse.ecr.dublincore" />
+    <artifact name="org.eclipse.ecr.automation.core" />
+  </profile>
+
+  <profile name="web">
+    <require>core</require>
+    <artifact name="org.eclipse.ecr.configuration.jetty" />
+    <artifact name="org.eclipse.ecr.configuration.web" />
+
+    <artifact name="org.eclipse.equinox.http.jetty" />
+    <artifact name="org.mortbay.jetty.server" />
+    <artifact name="org.mortbay.jetty.util" />
+
+    <artifact name="org.eclipse.ecr.web.jaxrs" />
+    <artifact name="org.eclipse.ecr.web.rendering" />
+
+    <artifact name="org.eclipse.ecr.automation.server" />
+
+    <artifact name="org.eclipse.ecr.web.framework" />
+
+    <!-- jersey bundles require auto-start=true - TODO must put by default auto-start=true for the entire application -->
+    <artifact name="com.sun.jersey.jersey-core" autostart="true"/>
+    <artifact name="com.sun.jersey.jersey-server" autostart="true"/>
+    <artifact name="com.sun.jersey.jersey-servlet" autostart="true"/>
+  </profile>
+
+  <profile name="cmis">
+    <require>web</require>
+    <artifact name="org.eclipse.ecr.configuration.cmis" />
+    <artifact name="org.eclipse.ecr.opencmis.bindings" />
+    <artifact name="org.eclipse.ecr.opencmis.impl" />
+    <artifact name="org.eclipse.ecr.platform.audit.api" />
+    <artifact name="org.eclipse.ecr.platform.query.api" />
+    <artifact name="org.eclipse.ecr.platform.search.api" />
+  </profile>
+
+  <profile name="h2">
+    <require>core</require>
+    <artifact name="org.h2" />
+    <artifact name="org.eclipse.ecr.core.h2.extensions" />
+  </profile>
+
+  <profile name="psql">
+    <require>core</require>
+    <artifact name="org.postgresql" />
+  </profile>
+
+  <profile name="default">
+    <require>cmis</require>
+    <require>h2</require>
+    <require>psql</require>
+  </profile>
+
+</profiles>
diff --git a/build/repository/project.txt b/build/repository/project.txt
new file mode 100644
index 0000000..db3a926
--- /dev/null
+++ b/build/repository/project.txt
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.eclipse.uomo.build.repository</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+	</buildSpec>
+	<natures>
+	</natures>
+</projectDescription>