Fixes transitive dependency issue - due to org.opendaylight.controller version in commons/parent/pom.xml
Signed-off-by: pchopra <pchopra@juniper.net>
Change-Id: I7bb6c4323515d2bf7c9399ec3a5ec4b89c798de5
<parent>
<groupId>org.opendaylight.controller</groupId>
<artifactId>commons.opendaylight</artifactId>
- <version>1.4.1</version>
+ <version>1.4.2-SNAPSHOT</version>
</parent>
<groupId>org.opendaylight.plugin2oc</groupId>
<artifactId>commons.plugin2oc</artifactId>
<type>xml</type>\r
<scope>runtime</scope>\r
</dependency>\r
+ <dependency>\r
+ <groupId>org.opendaylight.yangtools</groupId>\r
+ <artifactId>features-yangtools</artifactId>\r
+ <version>0.6.2-SNAPSHOT</version>\r
+ <classifier>features</classifier>\r
+ <type>xml</type>\r
+ <scope>runtime</scope>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.opendaylight.controller</groupId>\r
+ <artifactId>features-mdsal</artifactId>\r
+ <version>1.1-SNAPSHOT</version>\r
+ <classifier>features</classifier>\r
+ <type>xml</type>\r
+ <scope>runtime</scope>\r
+ </dependency>\r
<!-- ODL Branding -->\r
<dependency>\r
<groupId>org.opendaylight.controller</groupId>\r
<karaf.version>3.0.1</karaf.version>\r
<feature.test.version>0.6.2-SNAPSHOT</feature.test.version>\r
<karaf.empty.version>1.4.2-SNAPSHOT</karaf.empty.version>\r
- <surefire.version>2.16</surefire.version>\r
+ <surefire.version>2.17</surefire.version>\r
<yangtools.version>0.6.2-SNAPSHOT</yangtools.version>\r
</properties>\r
\r
<dependencies>\r
+ <dependency>\r
+ <groupId>org.opendaylight.yangtools</groupId>\r
+ <artifactId>features-yangtools</artifactId>\r
+ <version>0.6.2-SNAPSHOT</version>\r
+ <classifier>features</classifier>\r
+ <type>xml</type>\r
+ </dependency>\r
<dependency>\r
<groupId>org.opendaylight.controller</groupId>\r
<artifactId>features-nsf</artifactId>\r
<classifier>features</classifier>\r
<type>xml</type>\r
</dependency>\r
+ <dependency>\r
+ <groupId>org.opendaylight.controller</groupId>\r
+ <artifactId>features-mdsal</artifactId>\r
+ <version>1.1-SNAPSHOT</version>\r
+ <classifier>features</classifier>\r
+ <type>xml</type>\r
+ </dependency>\r
<dependency>\r
<groupId>org.opendaylight.controller</groupId>\r
<artifactId>sal</artifactId>\r
<version>0.1</version>\r
<artifactId>plugin2oc.neutron</artifactId>\r
</dependency>\r
+ <!-- test the features.xml -->\r
+ <dependency>\r
+ <groupId>org.opendaylight.yangtools</groupId>\r
+ <artifactId>features-test</artifactId>\r
+ <version>0.6.2-SNAPSHOT</version>\r
+ <scope>test</scope>\r
+ </dependency>\r
\r
+ <!-- dependency for opendaylight-karaf-empty for use by testing -->\r
+ <dependency>\r
+ <groupId>org.opendaylight.controller</groupId>\r
+ <artifactId>opendaylight-karaf-empty</artifactId>\r
+ <version>1.4.2-SNAPSHOT</version>\r
+ <type>zip</type>\r
+ </dependency>\r
</dependencies>\r
<build>\r
<resources>\r
<url>https://git.opendaylight.org/gerrit/gitweb?p=plugin2oc.git;a=summary</url>\r
</scm>\r
</project>\r
-\r
<features name="odl-plugin2oc-${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">
+ <repository>mvn:org.opendaylight.yangtools/features-yangtools/0.6.2-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opendaylight.controller/features-nsf/0.4.2-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opendaylight.controller/features-adsal/0.8.1-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opendaylight.controller/base-features/1.4.2-SNAPSHOT/xml/features</repository>
+ <repository>mvn:org.opendaylight.controller/features-mdsal/1.1-SNAPSHOT/xml/features</repository>
<feature name='odl-plugin2oc' description="OpenDaylight :: plugin2oc :: Plugin" version='${project.version}'>
- <feature>odl-nsf-managers</feature>
+ <feature>odl-nsf-all</feature>
<feature>odl-adsal-all</feature>
<feature>odl-base-all</feature>
+ <feature>odl-mdsal-broker</feature>
+ <feature>odl-yangtools-models</feature>
+ <feature>odl-yangtools-binding</feature>
<bundle>mvn:org.opendaylight.controller/networkconfig.neutron/0.4.2-SNAPSHOT</bundle>
<bundle>mvn:org.opendaylight.controller/sal/0.8.1-SNAPSHOT</bundle>
<bundle>mvn:org.opendaylight.controller/sal-binding-api/1.1-SNAPSHOT</bundle>
<bundle>mvn:org.opendaylight.plugin2oc/plugin2oc.neutron/0.1</bundle>
</feature>
</features>
-