Add karaf distribution 17/97317/3
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 24 Aug 2021 13:15:07 +0000 (15:15 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 24 Aug 2021 13:52:08 +0000 (15:52 +0200)
Add a basic distribution.

Change-Id: I7685fa428e8975e46f149fcab4c088f89716303f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
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..c92d75c
--- /dev/null
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2021 PANTHEON.tech, s.r.o. 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.odlparent</groupId>
+    <artifactId>karaf4-parent</artifactId>
+    <version>9.0.5</version>
+    <relativePath/>
+</parent>
+
+  <groupId>org.opendaylight.mdsal</groupId>
+  <artifactId>mdsal-karaf</artifactId>
+  <version>8.0.4-SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>org.opendaylight.mdsal</groupId>
+        <artifactId>mdsal-artifacts</artifactId>
+        <version>8.0.4-SNAPSHOT</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>
+
+    <dependency>
+      <groupId>org.opendaylight.mdsal</groupId>
+      <artifactId>features-mdsal</artifactId>
+      <classifier>features</classifier>
+      <type>xml</type>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.mdsal</groupId>
+      <artifactId>features-mdsal-experimental</artifactId>
+      <classifier>features</classifier>
+      <type>xml</type>
+      <scope>runtime</scope>
+    </dependency>
+  </dependencies>
+
+  <scm>
+    <connection>scm:git:ssh://git.opendaylight.org:29418/mdsal.git</connection>
+    <developerConnection>scm:git:ssh://git.opendaylight.org:29418/mdsal.git</developerConnection>
+    <tag>HEAD</tag>
+    <url>https://git.opendaylight.org/gerrit/gitweb?p=mdsal.git;a=summary</url>
+  </scm>
+</project>
diff --git a/pom.xml b/pom.xml
index 577b1312ef2dd723a0cf908c20f87b4845d92fee..d88ef36fcc53a94deec55aa585db0d292fc6aa3a 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -32,6 +32,7 @@
         <module>common</module>
         <module>docs</module>
         <module>features</module>
+        <module>karaf</module>
         <module>dom</module>
         <module>binding</module>
         <module>model</module>