Clean up MRI project references, take 2 03/90603/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 23 Jun 2020 09:54:29 +0000 (11:54 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 23 Jun 2020 10:30:21 +0000 (12:30 +0200)
With most of the dependencies cleaned up, sweep the remaining
features to use version ranges to refer to MRI features.

Change-Id: I4af8d4b209a731d29219cdc0ed82edeca711047c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
features/bgpcep-extras/odl-bgpcep-data-change-counter/src/main/feature/feature.xml [new file with mode: 0644]
features/bmp/odl-bgpcep-bmp/pom.xml
features/config-loader/odl-bgpcep-bmp-config-loader/src/main/feature/feature.xml [new file with mode: 0644]
features/pcep/odl-bgpcep-pcep-cli/pom.xml
features/pcep/odl-bgpcep-pcep-impl/src/main/feature/feature.xml
features/pcep/odl-bgpcep-pcep-p2mp-te-lsp/src/main/feature/feature.xml [new file with mode: 0644]
features/pcep/odl-bgpcep-pcep-segment-routing/pom.xml
features/pcep/odl-bgpcep-pcep-topology-provider/pom.xml
features/pcep/odl-bgpcep-pcep-topology-stats/pom.xml
features/pcep/odl-bgpcep-programming-api/src/main/feature/feature.xml [new file with mode: 0644]
features/topology/odl-bgpcep-topology-tunnel-api/src/main/feature/feature.xml [new file with mode: 0644]

diff --git a/features/bgpcep-extras/odl-bgpcep-data-change-counter/src/main/feature/feature.xml b/features/bgpcep-extras/odl-bgpcep-data-change-counter/src/main/feature/feature.xml
new file mode 100644 (file)
index 0000000..85ea515
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Copyright (c) 2020 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
+  -->
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-bgpcep-data-change-counter-${project.version}">
+    <feature name="odl-bgpcep-data-change-counter" version="${project.version}">
+        <feature version="[6,7)">odl-mdsal-model-draft-clemm-netmod-yang-network-topo-01</feature>
+        <feature version="[2,3)">odl-mdsal-broker</feature>
+    </feature>
+</features>
index a75b86717d7686e56b8d25e8144d95e1c1542546..5ede3c1e78adb3d7130e17f9af3a0d1862aabed7 100644 (file)
             <type>xml</type>
             <classifier>features</classifier>
         </dependency>
-        <dependency>
-            <groupId>org.opendaylight.controller</groupId>
-            <artifactId>odl-mdsal-broker</artifactId>
-            <type>xml</type>
-            <classifier>features</classifier>
-        </dependency>
         <dependency>
             <groupId>${project.groupId}</groupId>
             <artifactId>odl-bgpcep-bmp-config-loader</artifactId>
diff --git a/features/config-loader/odl-bgpcep-bmp-config-loader/src/main/feature/feature.xml b/features/config-loader/odl-bgpcep-bmp-config-loader/src/main/feature/feature.xml
new file mode 100644 (file)
index 0000000..7a57201
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- vi: set et smarttab sw=4 tabstop=4: -->
+<!--
+  Copyright (c) 2020 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
+-->
+<features name="bgpcep-bmp-config-loader-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0"
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">
+    <feature name="odl-bgpcep-bmp-config-loader" version="${project.version}">
+        <feature version="[2,3)">odl-mdsal-broker</feature>
+    </feature>
+</features>
index 889351032b3bcb9b1b3bef54bb0f28384a1a8a37..d1d7bd63154c25169e314bf6332a168570a66f83 100644 (file)
             <type>xml</type>
             <classifier>features</classifier>
         </dependency>
-        <dependency>
-            <groupId>org.opendaylight.controller</groupId>
-            <artifactId>odl-mdsal-broker</artifactId>
-            <type>xml</type>
-            <classifier>features</classifier>
-        </dependency>
         <dependency>
             <groupId>${project.groupId}</groupId>
             <artifactId>odl-bgpcep-pcep-topology</artifactId>
index 215e2ebbb76a280a84396f5a320f8c5bc52f7dbc..0a9154e0c17c35ea4200497e8d9b81067dded008 100644 (file)
@@ -12,5 +12,6 @@
           xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">
     <feature name="odl-bgpcep-pcep-impl" version="${project.version}">
         <feature version="[2,3)">odl-controller-exp-netty-config</feature>
+        <feature version="[2,3)">odl-mdsal-broker</feature>
     </feature>
 </features>
diff --git a/features/pcep/odl-bgpcep-pcep-p2mp-te-lsp/src/main/feature/feature.xml b/features/pcep/odl-bgpcep-pcep-p2mp-te-lsp/src/main/feature/feature.xml
new file mode 100644 (file)
index 0000000..a59462c
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- vi: set et smarttab sw=4 tabstop=4: -->
+<!--
+  Copyright (c) 2020 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
+-->
+<features name="odl-bgpcep-pcep-p2mp-te-lsp-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0"
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">
+    <feature name="odl-bgpcep-pcep-p2mp-te-lsp" version="${project.version}">
+        <feature version="[2,3)">odl-mdsal-broker</feature>
+    </feature>
+</features>
index daabce01ad36509a6cd65727ade094b0f21024be..6d587258a4f420bc5ef39aef645ba45fbab27749 100644 (file)
             <groupId>${project.groupId}</groupId>
             <artifactId>pcep-segment-routing</artifactId>
         </dependency>
-        <dependency>
-            <groupId>org.opendaylight.mdsal</groupId>
-            <artifactId>odl-mdsal-dom-broker</artifactId>
-            <type>xml</type>
-            <classifier>features</classifier>
-        </dependency>
         <dependency>
             <groupId>${project.groupId}</groupId>
             <artifactId>odl-bgpcep-pcep-stateful07</artifactId>
index 65a603c6694b9fc1d400d7b1815f3a381262e59e..050b4bc6a4ef3600c8732099b5febc750046395b 100644 (file)
             <type>xml</type>
             <classifier>features</classifier>
         </dependency>
-        <dependency>
-            <groupId>org.opendaylight.mdsal</groupId>
-            <artifactId>odl-mdsal-dom-broker</artifactId>
-            <type>xml</type>
-            <classifier>features</classifier>
-        </dependency>
     </dependencies>
 </project>
index 289cc88bf32fa3d1b62650a7238cf1d3f8e3616f..ecaa256860f8f70483dd1401ce46b9f840e73901 100644 (file)
             <groupId>${project.groupId}</groupId>
             <artifactId>pcep-topology-stats</artifactId>
         </dependency>
-        <dependency>
-            <groupId>org.opendaylight.controller</groupId>
-            <artifactId>odl-mdsal-broker</artifactId>
-            <type>xml</type>
-            <classifier>features</classifier>
-        </dependency>
         <dependency>
             <groupId>${project.groupId}</groupId>
             <artifactId>odl-bgpcep-pcep-stateful07</artifactId>
diff --git a/features/pcep/odl-bgpcep-programming-api/src/main/feature/feature.xml b/features/pcep/odl-bgpcep-programming-api/src/main/feature/feature.xml
new file mode 100644 (file)
index 0000000..1ffca72
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Copyright (c) 2020 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
+  -->
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-bgpcep-programming-api-${project.version}">
+    <feature name="odl-bgpcep-programming-api" version="${project.version}">
+        <feature version="[6,7)">odl-mdsal-singleton-common</feature>
+    </feature>
+</features>
diff --git a/features/topology/odl-bgpcep-topology-tunnel-api/src/main/feature/feature.xml b/features/topology/odl-bgpcep-topology-tunnel-api/src/main/feature/feature.xml
new file mode 100644 (file)
index 0000000..70b747b
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Copyright (c) 2020 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
+  -->
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-bgpcep-topology-tunnel-api-${project.version}">
+    <feature name="odl-bgpcep-topology-tunnel-api" version="${project.version}">
+        <feature version="[6,7)">odl-mdsal-model-draft-clemm-netmod-yang-network-topo-01-minimal</feature>
+    </feature>
+</features>