This allows run-time to work with compatible versions of yangtools,
even when a new version is introduced after compilation. Also fixes
an odl-lmax-3 range omission and removes unneeded feature dependencies
when they are brought in transitively.
Change-Id: I10753809286b4df71abd62526d5b5ca1effdf2ec
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
13 files changed:
<type>xml</type>
<classifier>features</classifier>
</dependency>
<type>xml</type>
<classifier>features</classifier>
</dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>odl-yangtools-parser-api</artifactId>
- <type>xml</type>
- <classifier>features</classifier>
- </dependency>
<dependency>
<groupId>org.opendaylight.mdsal</groupId>
<artifactId>odl-mdsal-common</artifactId>
<dependency>
<groupId>org.opendaylight.mdsal</groupId>
<artifactId>odl-mdsal-common</artifactId>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-mdsal-binding-api">
+ <feature name="odl-mdsal-binding-api">
+ <feature version="[2.0.1,3)">odl-yangtools-data-api</feature>
+ </feature>
+</features>
+
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-mdsal-binding-base">
+ <feature name="odl-mdsal-binding-base">
+ <feature version="[2.0.1,3)">odl-yangtools-common</feature>
+ </feature>
+</features>
+
<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-mdsal-binding-runtime">
<feature name="odl-mdsal-binding-runtime">
<feature version="[3.0.0,4)">odl-javassist-3</feature>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-mdsal-binding-runtime">
<feature name="odl-mdsal-binding-runtime">
<feature version="[3.0.0,4)">odl-javassist-3</feature>
+ <feature version="[2.0.1,3)">odl-yangtools-data</feature>
+ <feature version="[2.0.1,3)">odl-yangtools-parser</feature>
</dependencyManagement>
<dependencies>
</dependencyManagement>
<dependencies>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>odl-yangtools-common</artifactId>
- <type>xml</type>
- <classifier>features</classifier>
- </dependency>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>odl-yangtools-parser-api</artifactId>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>odl-yangtools-parser-api</artifactId>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-mdsal-binding2-base">
+ <feature name="odl-mdsal-binding2-base">
+ <feature version="[2.0.1,3)">odl-yangtools-parser-api</feature>
+ </feature>
+</features>
+
<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-mdsal-binding2-runtime">
<feature name="odl-mdsal-binding2-runtime">
<feature version="[3.0.0,4)">odl-javassist-3</feature>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-mdsal-binding2-runtime">
<feature name="odl-mdsal-binding2-runtime">
<feature version="[3.0.0,4)">odl-javassist-3</feature>
+ <feature version="[2.0.1,3)">odl-yangtools-data</feature>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-mdsal-common">
+ <feature name="odl-mdsal-common">
+ <feature version="[2.0.1,3)">odl-yangtools-common</feature>
+ </feature>
+</features>
+
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-mdsal-dom-api">
+ <feature name="odl-mdsal-dom-api">
+ <feature version="[2.0.1,3)">odl-yangtools-data-api</feature>
+ </feature>
+</features>
+
<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-mdsal-dom-broker">
<feature name="odl-mdsal-dom-broker">
<feature version="[3.0.0,4)">odl-lmax-3</feature>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-mdsal-dom-broker">
<feature name="odl-mdsal-dom-broker">
<feature version="[3.0.0,4)">odl-lmax-3</feature>
+ <feature version="[2.0.1,3)">odl-yangtools-parser</feature>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-mdsal-dom-schema-service-osgi">
<feature name="odl-mdsal-dom-schema-service-osgi">
<feature version="[3.0.0,4)">odl-lmax-3</feature>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-mdsal-dom-schema-service-osgi">
<feature name="odl-mdsal-dom-schema-service-osgi">
<feature version="[3.0.0,4)">odl-lmax-3</feature>
+ <feature version="[2.0.1,3)">odl-yangtools-data</feature>
+ <feature version="[2.0.1,3)">odl-yangtools-parser</feature>
</dependencyManagement>
<dependencies>
</dependencyManagement>
<dependencies>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>odl-yangtools-common</artifactId>
- <type>xml</type>
- <classifier>features</classifier>
- </dependency>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>odl-yangtools-data-api</artifactId>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>odl-yangtools-data-api</artifactId>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-mdsal-eos-common">
+ <feature name="odl-mdsal-eos-common">
+ <feature version="[2.0.1,3)">odl-yangtools-data-api</feature>
+ </feature>
+</features>
+