Add odl-karaf-feat-jetty and odl-karaf-feat-feature 38/51638/4
authorRobert Varga <rovarga@cisco.com>
Thu, 9 Feb 2017 16:20:28 +0000 (17:20 +0100)
committerRobert Varga <rovarga@cisco.com>
Thu, 9 Feb 2017 17:33:55 +0000 (18:33 +0100)
Jetty is yet another feature we are using, provide a proxy for it.
Also note that we should be upgrading it.

feature service is needed by config-adaptor in controller, so add
that as well.

Change-Id: Idb5049ca822f9fb2a7383e79ca04d40c37eaa8eb
Signed-off-by: Robert Varga <rovarga@cisco.com>
features4/features4-odlparent/pom.xml
features4/odl-karaf-feat-feature/pom.xml [new file with mode: 0644]
features4/odl-karaf-feat-feature/src/main/feature/feature.xml [new file with mode: 0644]
features4/odl-karaf-feat-jetty/pom.xml [new file with mode: 0644]
features4/odl-karaf-feat-jetty/src/main/feature/feature.xml [new file with mode: 0644]
features4/pom.xml
odlparent-artifacts/pom.xml

index 9b380e9498f37f9097a573b0a20c58c819dbe3db..9c531917c828c07dcab2e194a28d5e874b7094fe 100644 (file)
             <classifier>features</classifier>
             <type>xml</type>
         </dependency>
+        <dependency>
+            <groupId>org.opendaylight.odlparent</groupId>
+            <artifactId>odl-karaf-feat-jetty</artifactId>
+            <version>${project.version}</version>
+            <classifier>features</classifier>
+            <type>xml</type>
+        </dependency>
         <dependency>
             <groupId>org.opendaylight.odlparent</groupId>
             <artifactId>odl-karaf-feat-war</artifactId>
diff --git a/features4/odl-karaf-feat-feature/pom.xml b/features4/odl-karaf-feat-feature/pom.xml
new file mode 100644 (file)
index 0000000..f286672
--- /dev/null
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright © 2016 Red Hat, 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>single-feature-parent</artifactId>
+        <version>1.8.0-SNAPSHOT</version>
+        <relativePath>../../single-feature-parent</relativePath>
+    </parent>
+
+    <artifactId>odl-karaf-feat-feature</artifactId>
+    <packaging>kar</packaging>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.karaf.features</groupId>
+            <artifactId>standard</artifactId>
+            <version>${karaf4.version}</version>
+            <classifier>features</classifier>
+            <type>xml</type>
+            <scope>runtime</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <resources>
+            <resource>
+                <directory>src/main/feature</directory>
+                <filtering>true</filtering>
+            </resource>
+        </resources>
+    </build>
+
+    <!--
+        Maven Site Configuration
+
+        The following configuration is necessary for maven-site-plugin to
+        correctly identify the correct deployment path for OpenDaylight Maven
+        sites.
+    -->
+    <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
+
+    <distributionManagement>
+        <site>
+            <id>opendaylight-site</id>
+            <url>${nexus.site.url}/${project.artifactId}/</url>
+        </site>
+    </distributionManagement>
+
+</project>
diff --git a/features4/odl-karaf-feat-feature/src/main/feature/feature.xml b/features4/odl-karaf-feat-feature/src/main/feature/feature.xml
new file mode 100644 (file)
index 0000000..a8983a3
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- vi: set et smarttab sw=4 tabstop=4: -->
+<!--
+ Copyright (c) 2017 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
+-->
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-karaf-feat-feature">
+    <feature name="odl-karaf-feat-feature" version="${project.version}">
+        <feature dependency="true" prerequisite="true">feature</feature>
+    </feature>
+</features>
diff --git a/features4/odl-karaf-feat-jetty/pom.xml b/features4/odl-karaf-feat-jetty/pom.xml
new file mode 100644 (file)
index 0000000..5a68bd7
--- /dev/null
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright © 2016 Red Hat, 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>single-feature-parent</artifactId>
+        <version>1.8.0-SNAPSHOT</version>
+        <relativePath>../../single-feature-parent</relativePath>
+    </parent>
+
+    <artifactId>odl-karaf-feat-jetty</artifactId>
+    <packaging>kar</packaging>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.karaf.features</groupId>
+            <artifactId>standard</artifactId>
+            <version>${karaf4.version}</version>
+            <classifier>features</classifier>
+            <type>xml</type>
+            <scope>runtime</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <resources>
+            <resource>
+                <directory>src/main/feature</directory>
+                <filtering>true</filtering>
+            </resource>
+        </resources>
+    </build>
+
+    <!--
+        Maven Site Configuration
+
+        The following configuration is necessary for maven-site-plugin to
+        correctly identify the correct deployment path for OpenDaylight Maven
+        sites.
+    -->
+    <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
+
+    <distributionManagement>
+        <site>
+            <id>opendaylight-site</id>
+            <url>${nexus.site.url}/${project.artifactId}/</url>
+        </site>
+    </distributionManagement>
+
+</project>
diff --git a/features4/odl-karaf-feat-jetty/src/main/feature/feature.xml b/features4/odl-karaf-feat-jetty/src/main/feature/feature.xml
new file mode 100644 (file)
index 0000000..1a6082b
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- vi: set et smarttab sw=4 tabstop=4: -->
+<!--
+ Copyright (c) 2017 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
+-->
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-karaf-feat-jetty">
+    <feature name="odl-karaf-feat-jetty" version="${project.version}">
+        <!-- FIXME: upgrade to 9.2.19.v20160908 -->
+        <feature dependency="true" version="8.1.14.v20131031">jetty</feature>
+    </feature>
+</features>
index dffd49d817fc9244d613fc64f3ef1238bc09760d..c872e8f68e47f2452a617cbb9b012aa7ffeb4f77 100644 (file)
@@ -35,7 +35,9 @@
         <module>odl-akka-system-2.4</module>
 
         <!-- Proxy features for Karaf-provided features -->
+        <module>odl-karaf-feat-feature</module>
         <module>odl-karaf-feat-jdbc</module>
+        <module>odl-karaf-feat-jetty</module>
         <module>odl-karaf-feat-war</module>
 
         <!-- General features -->
index 3b3e518dd9e76ba3d628dae174e15cf9933fc40d..51ea81b2eb1e25654828696fbdc1cabe43ebd384 100644 (file)
                 <type>xml</type>
             </dependency>
 
+            <dependency>
+                <groupId>org.opendaylight.odlparent</groupId>
+                <artifactId>odl-karaf-feat-feature</artifactId>
+                <version>1.8.0-SNAPSHOT</version>
+                <classifier>features</classifier>
+                <type>xml</type>
+            </dependency>
             <dependency>
                 <groupId>org.opendaylight.odlparent</groupId>
                 <artifactId>odl-karaf-feat-jdbc</artifactId>
                 <classifier>features</classifier>
                 <type>xml</type>
             </dependency>
+            <dependency>
+                <groupId>org.opendaylight.odlparent</groupId>
+                <artifactId>odl-karaf-feat-jetty</artifactId>
+                <version>1.8.0-SNAPSHOT</version>
+                <classifier>features</classifier>
+                <type>xml</type>
+            </dependency>
             <dependency>
                 <groupId>org.opendaylight.odlparent</groupId>
                 <artifactId>odl-karaf-feat-war</artifactId>