Use range to import yangtools features 48/72548/2
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 1 Jun 2018 08:43:01 +0000 (10:43 +0200)
committerRobert Varga <nite@hq.sk>
Fri, 1 Jun 2018 09:24:04 +0000 (09:24 +0000)
This removes version-specific binding, allowing features to be
resolved against newer versions.

Change-Id: I62728a4aa1d3fd817c629bcd7057724b448379ab
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit e83fdd20a40831dfdbdbc21a6ba99611dbe51ab1)

features/bgp/odl-bgpcep-bgp-dependencies/src/main/feature/feature.xml [new file with mode: 0644]

diff --git a/features/bgp/odl-bgpcep-bgp-dependencies/src/main/feature/feature.xml b/features/bgp/odl-bgpcep-bgp-dependencies/src/main/feature/feature.xml
new file mode 100644 (file)
index 0000000..cf3f0c1
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Copyright © 2018 Pantheon Technologies, 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 name="odl-bgpcep-bgp-dependencies-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.4.0">
+    <feature name="odl-bgpcep-bgp-dependencies" version="${project.version}">
+        <feature version="[2.0.5,3)">odl-yangtools-data-api</feature>
+    </feature>
+</features>