Fix up feature packaging 94/90594/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 23 Jun 2020 06:28:16 +0000 (08:28 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 23 Jun 2020 06:36:33 +0000 (08:36 +0200)
We have a number of bundles packaged multiple times, fix that up
by providing proper references.

Change-Id: I0488fefbeaab3760eca7daf93ddd9d335713f285
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
features/netconf/odl-netconf-api/pom.xml
features/netconf/odl-netconf-api/src/main/feature/feature.xml
features/netconf/odl-netconf-impl/pom.xml
features/netconf/odl-netconf-impl/src/main/feature/feature.xml [new file with mode: 0644]
features/restconf/odl-restconf-nb-bierman02/pom.xml

index 79f28d17075943327029b230b7a1c5c98346b14c..b96f67cc1239783ea451acf8c4ed2c79b36c07d3 100644 (file)
             <type>xml</type>
             <classifier>features</classifier>
         </dependency>
+        <dependency>
+            <groupId>org.opendaylight.mdsal.model</groupId>
+            <artifactId>odl-mdsal-model-rfc8525</artifactId>
+            <type>xml</type>
+            <classifier>features</classifier>
+        </dependency>
         <dependency>
             <groupId>org.opendaylight.mdsal.model</groupId>
             <artifactId>odl-mdsal-model-rfc8342</artifactId>
index e8c1eeb2d60803df04f351baf87daa1550949cbc..b8d98e6b0a8e4f6459715defca99457d17017ebd 100644 (file)
@@ -11,6 +11,7 @@
         <feature version="[7,8)">odl-netty-4</feature>
         <feature version="[5,6)">odl-yangtools-parser-api</feature>
         <feature version="[6,7)">odl-mdsal-model-rfc7895</feature>
+        <feature version="[6,7)">odl-mdsal-model-rfc8525</feature>
         <feature version="[6,7)">odl-mdsal-model-rfc8342</feature>
     </feature>
 </features>
index bad7b6bb506c32442b654a62a842b29e3ada93be..3faead2d1dc7207715c676671ff375ff8d882050 100644 (file)
 
     <name>OpenDaylight :: Netconf :: Impl</name>
 
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>org.opendaylight.controller</groupId>
+                <artifactId>controller-artifacts</artifactId>
+                <version>2.0.2</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
     <dependencies>
+        <dependency>
+            <groupId>org.opendaylight.controller</groupId>
+            <artifactId>odl-controller-exp-netty-config</artifactId>
+            <type>xml</type>
+            <classifier>features</classifier>
+        </dependency>
         <dependency>
             <groupId>${project.groupId}</groupId>
             <artifactId>odl-netconf-api</artifactId>
diff --git a/features/netconf/odl-netconf-impl/src/main/feature/feature.xml b/features/netconf/odl-netconf-impl/src/main/feature/feature.xml
new file mode 100644 (file)
index 0000000..a83f511
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Copyright © 2020 PANTHEON.tech, s.r.o. and others.
+  ~
+  ~ 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-netconf-impl-${project.version}">
+    <feature name="odl-netconf-impl" version="${project.version}">
+        <feature version="[2,3)">odl-controller-exp-netty-config</feature>
+    </feature>
+</features>
index dbfad396ae2eca1fce383912ce2c8649d76121f2..5b33521ba80bc1ef1ae64fd4e62a312535da3e2a 100644 (file)
     </dependencyManagement>
 
     <dependencies>
+        <dependency>
+            <groupId>org.opendaylight.netconf</groupId>
+            <artifactId>odl-netconf-mapping-api</artifactId>
+            <type>xml</type>
+            <classifier>features</classifier>
+        </dependency>
         <dependency>
             <groupId>org.opendaylight.netconf</groupId>
             <artifactId>odl-restconf-common</artifactId>