Decouple sample apps

- Each app can now independently specify ONOS version it needs.
- All apps depend on stable version
  except for onos-app-uiref  who has dependency to 1.9.0-SNAPSHOT

Change-Id: Ib4d39901269b036eae4ceae3c41a9c5ad1a29cc1
diff --git a/database-perf/pom.xml b/database-perf/pom.xml
index 39a4dc9..11807f7 100644
--- a/database-perf/pom.xml
+++ b/database-perf/pom.xml
@@ -21,17 +21,19 @@
 
     <parent>
         <groupId>org.onosproject</groupId>
-        <artifactId>onos-app-samples</artifactId>
-        <version>1.9.0-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <artifactId>onos-dependencies</artifactId>
+        <version>1.8.0</version>
+        <relativePath/><!-- parent is remote -->
     </parent>
 
     <artifactId>onos-app-database-perf</artifactId>
+    <version>1.9.0-SNAPSHOT</version>
     <packaging>bundle</packaging>
 
     <description>Partitioned database performance test application</description>
 
     <properties>
+        <onos.version>1.8.0</onos.version>
         <onos.app.name>org.onosproject.dbperf</onos.app.name>
         <onos.app.origin>ON.Lab</onos.app.origin>
         <onos.app.title>Database Performance Test App</onos.app.title>
@@ -39,4 +41,44 @@
         <onos.app.url>http://onosproject.org</onos.app.url>
     </properties>
 
+    <dependencies>
+
+        <dependency>
+            <groupId>org.onosproject</groupId>
+            <artifactId>onos-api</artifactId>
+            <version>${onos.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.onosproject</groupId>
+            <artifactId>onlab-osgi</artifactId>
+            <version>${onos.version}</version>
+        </dependency>
+
+
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.scr.annotations</artifactId>
+        </dependency>
+
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-scr-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.onosproject</groupId>
+                <artifactId>onos-maven-plugin</artifactId>
+            </plugin>
+        </plugins>
+    </build>
+
+
 </project>