BUG-5058: BGPCEP karaf distribution 48/33548/3
authorIveta Halanova <ihalanov@cisco.com>
Tue, 26 Jan 2016 11:16:27 +0000 (12:16 +0100)
committerIveta Halanova <ihalanov@cisco.com>
Tue, 26 Jan 2016 14:44:26 +0000 (15:44 +0100)
Installs lightweighted Karaf distribution for developement and testing.

Change-Id: I68239bb18218b92ee0a8b64e72e0cf57fd903d9e
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
distribution-karaf/pom.xml [new file with mode: 0644]
pom.xml

diff --git a/distribution-karaf/pom.xml b/distribution-karaf/pom.xml
new file mode 100644 (file)
index 0000000..2042330
--- /dev/null
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (c) 2016 Cisco Systems, Inc. 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 -->
+<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">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.opendaylight.controller</groupId>
+    <artifactId>karaf-parent</artifactId>
+    <version>1.7.0-SNAPSHOT</version>
+    <relativePath />
+  </parent>
+
+  <artifactId>distribution-karaf</artifactId>
+  <groupId>org.opendaylight.bgpcep</groupId>
+  <version>0.6.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <prerequisites>
+    <maven>3.1.1</maven>
+  </prerequisites>
+
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>${project.groupId}</groupId>
+        <artifactId>bgpcep-artifacts</artifactId>
+        <version>${project.version}</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
+  <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>
+
+    <!-- Project local feautures -->
+    <dependency>
+      <groupId>org.opendaylight.bgpcep</groupId>
+      <artifactId>features-bgp</artifactId>
+      <classifier>features</classifier>
+      <version>${project.version}</version>
+      <type>xml</type>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.bgpcep</groupId>
+      <artifactId>features-bmp</artifactId>
+      <classifier>features</classifier>
+      <version>${project.version}</version>
+      <type>xml</type>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.bgpcep</groupId>
+      <artifactId>features-extras</artifactId>
+      <classifier>features</classifier>
+      <version>${project.version}</version>
+      <type>xml</type>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.bgpcep</groupId>
+      <artifactId>features-pcep</artifactId>
+      <classifier>features</classifier>
+      <version>${project.version}</version>
+      <type>xml</type>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.bgpcep</groupId>
+      <artifactId>features-rsvp</artifactId>
+      <classifier>features</classifier>
+      <version>${project.version}</version>
+      <type>xml</type>
+      <scope>runtime</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-deploy-plugin</artifactId>
+                <configuration>
+                    <skip>true</skip>
+                </configuration>
+            </plugin>
+        </plugins>
+  </build>
+
+  <scm>
+    <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
+    <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
+    <tag>HEAD</tag>
+    <url>https://git.opendaylight.org/gerrit/gitweb?p=bgpcep.git;a=summary</url>
+  </scm>
+</project>
diff --git a/pom.xml b/pom.xml
index 474e6309b294f3116be5018d42489738ebbc67d0..6b5a4d4b45a1a374cecbadb94aa2e4908dc48d80 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -53,6 +53,8 @@
         <module>data-change-counter</module>
         <module>data-change-counter-controller-config</module>
 
+        <module>distribution-karaf</module>
+
     </modules>
 
     <build>