Added a local karaf distribution for testing purposes 27/16027/1
authorEd Warnicke <eaw@cisco.com>
Wed, 4 Mar 2015 16:09:09 +0000 (08:09 -0800)
committerEd Warnicke <eaw@cisco.com>
Wed, 4 Mar 2015 16:09:09 +0000 (08:09 -0800)
Change-Id: I0e8f653df2c0c9cedab58cac6341912529da5342
Signed-off-by: Ed Warnicke <eaw@cisco.com>
karaf/pom.xml [new file with mode: 0644]
pom.xml

diff --git a/karaf/pom.xml b/karaf/pom.xml
new file mode 100644 (file)
index 0000000..c49edc1
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2014 Cisco Systems and others. All rights reserved.
+This program and the accompanying materials are made available under the
+terms of the Eclipse Public License v1.0 which accompanies this distribution,
+and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <parent>
+    <groupId>org.opendaylight.controller</groupId>
+    <artifactId>karaf-parent</artifactId>
+    <version>1.5.0-SNAPSHOT</version>
+    <relativePath/>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.opendaylight.neutron</groupId>
+  <artifactId>neutron-karaf</artifactId>
+  <version>0.5.0-SNAPSHOT</version>
+  <name>${project.artifactId}</name>
+  <prerequisites>
+    <maven>3.1.1</maven>
+  </prerequisites>
+  <properties>
+    <karaf.localFeature>odl-neutron-service</karaf.localFeature>
+  </properties>
+  <dependencies>
+    <dependency>
+      <!-- scope is compile so all features (there is only one) are installed
+      into startup.properties and the feature repo itself is not installed -->
+      <groupId>org.apache.karaf.features</groupId>
+      <artifactId>framework</artifactId>
+      <type>kar</type>
+    </dependency>
+
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>features-neutron</artifactId>
+      <version>${project.version}</version>
+      <classifier>features</classifier>
+      <type>xml</type>
+      <scope>runtime</scope>
+    </dependency>
+  </dependencies>
+</project>
diff --git a/pom.xml b/pom.xml
index 434f07ae974c6c46af470e798291ec5fa76b0aa1..6d347527e0f1e5cc5ffe610e874bb36eb0159c1f 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -17,5 +17,6 @@
     <module>northbound-api</module>
     <module>transcriber</module>
     <module>features</module>
+    <module>karaf</module>
   </modules>
 </project>