Add a test distribution to test karaf4-parent 84/65884/3
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 24 Nov 2017 11:47:42 +0000 (12:47 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 24 Nov 2017 12:01:52 +0000 (13:01 +0100)
This adds a simple distribution, containing just odl-guava.

Change-Id: I65a9d85238f358072d595e7523a17f2a6eab8fc6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
karaf/pom.xml
karaf/test-distribution/pom.xml [new file with mode: 0644]

index f7f1e67285ee8f37994dec43dbfc2a06a88548b8..e4d8323302e7936bc2766c9e76634167e1c13ecb 100644 (file)
@@ -23,5 +23,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
     <module>karaf4-parent</module>
     <module>opendaylight-karaf-resources</module>
     <module>opendaylight-karaf-empty</module>
+    <module>test-distribution</module>
   </modules>
 </project>
diff --git a/karaf/test-distribution/pom.xml b/karaf/test-distribution/pom.xml
new file mode 100644 (file)
index 0000000..e657b97
--- /dev/null
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2015 Brocade Communications 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.odlparent</groupId>
+        <artifactId>karaf4-parent</artifactId>
+        <version>3.0.1-SNAPSHOT</version>
+        <relativePath>../karaf4-parent</relativePath>
+    </parent>
+
+    <groupId>org.opendaylight.odlparent</groupId>
+    <artifactId>test-distribution</artifactId>
+    <version>3.0.1-SNAPSHOT</version>
+    <packaging>pom</packaging>
+
+    <dependencies>
+        <!-- Project local features -->
+        <dependency>
+            <groupId>org.opendaylight.odlparent</groupId>
+            <artifactId>odl-guava-23</artifactId>
+            <version>${project.version}</version>
+            <classifier>features</classifier>
+            <type>xml</type>
+            <scope>runtime</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <!-- DO NOT install or deploy the karaf artifact -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-install-plugin</artifactId>
+                <configuration>
+                    <skip>true</skip>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-deploy-plugin</artifactId>
+                <configuration>
+                    <skip>true</skip>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+    <scm>
+        <connection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</connection>
+        <developerConnection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</developerConnection>
+        <tag>HEAD</tag>
+        <url>https://git.opendaylight.org/gerrit/gitweb?p=odlparent.git;a=summary</url>
+    </scm>
+</project>