Bgp distribution for vpp 90/7190/2
authorMarek Gradzki <[email protected]>
Mon, 19 Jun 2017 12:44:59 +0000 (14:44 +0200)
committerMarek Gradzki <[email protected]>
Tue, 20 Jun 2017 10:14:08 +0000 (10:14 +0000)
Bgp can't be currently included in default distribution,
because that would increase footprint,
even with BGP disabled (HONEYCOMB-358).

Change-Id: I9f0c264fdbc7b283cd05295ea27e88f9bc5f9a45
Signed-off-by: Marek Gradzki <[email protected]>
vpp-integration/bgp-distribution/asciidoc/Readme.adoc [new file with mode: 0644]
vpp-integration/bgp-distribution/pom.xml [new file with mode: 0644]
vpp-integration/pom.xml

diff --git a/vpp-integration/bgp-distribution/asciidoc/Readme.adoc b/vpp-integration/bgp-distribution/asciidoc/Readme.adoc
new file mode 100644 (file)
index 0000000..deff42c
--- /dev/null
@@ -0,0 +1,3 @@
+= bgp-distribution
+
+Adds bgp to vpp-integration-distribution (preserving all features).
\ No newline at end of file
diff --git a/vpp-integration/bgp-distribution/pom.xml b/vpp-integration/bgp-distribution/pom.xml
new file mode 100644 (file)
index 0000000..4e29454
--- /dev/null
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2017 Cisco and/or its affiliates.
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at:
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<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>io.fd.hc2vpp.common</groupId>
+        <artifactId>minimal-distribution-parent</artifactId>
+        <version>1.17.07-SNAPSHOT</version>
+        <relativePath>../../common/minimal-distribution-parent</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>io.fd.hc2vpp.integration</groupId>
+    <artifactId>bgp-distribution</artifactId>
+    <name>${project.artifactId}</name>
+    <version>1.17.07-SNAPSHOT</version>
+
+    <properties>
+        <main.class>io.fd.honeycomb.infra.bgp.distro.Main</main.class>
+        <honeycomb.min.distro.version>${project.version}</honeycomb.min.distro.version>
+        <distribution.modules>
+        </distribution.modules>
+    </properties>
+
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.gmaven</groupId>
+                <artifactId>groovy-maven-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <artifactId>maven-assembly-plugin</artifactId>
+            </plugin>
+        </plugins>
+    </build>
+
+    <dependencies>
+        <dependency>
+            <groupId>io.fd.honeycomb</groupId>
+            <artifactId>bgp-distribution</artifactId>
+            <version>${honeycomb.min.distro.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>io.fd.hc2vpp.integration</groupId>
+            <artifactId>vpp-integration-distribution</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+    </dependencies>
+</project>
\ No newline at end of file
index 39ebdd1..0221bb0 100644 (file)
     <version>1.17.07-SNAPSHOT</version>
     <packaging>pom</packaging>
     <modelVersion>4.0.0</modelVersion>
-    <description>Aggregator for Honeycomb's VPP distribution. Aggregating all Hc2vpp plugins.</description>
+    <description>Aggregator for Honeycomb's VPP distributions. Aggregating all Hc2vpp plugins.</description>
 
     <modules>
         <module>minimal-distribution</module>
+        <module>bgp-distribution</module>
     </modules>
 
     <!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build -->