This patch addresses the following errors in routermanager branch.
Build error: Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin
:3.0.3:features-create-kar (features-create-kar) on project
routemgr-features: Cannot find version for: com.google.code.gson/gson/
Install error: Addressed this issue by merging few patches from master branch.
$opendaylight-user@root>feature:install odl-ovsdb-openstack
Error executing command: Can't install feature odl-ovsdb-openstack/0.0.0:
Could not start bundle mvn:org.opendaylight.ovsdb/openstack.net-virt/1.3.0-SNAPSHOT
in feature(s) odl-ovsdb-openstack-clusteraware-1.3.0-SNAPSHOT,
odl-ovsdb-openstack-1.3.0-SNAPSHOT: The bundle "org.opendaylight.ovsdb.openstack.
net-virt_1.3.0.SNAPSHOT [281]" could not be resolved. Reason: Missing Constraint:
Import-Package: org.apache.commons.net.util; version="[3.4.0,4.0.0)"
Change-Id: I351398950d6fe3c2043d9bfe71a429cf7b5182aa
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
<properties>
<odl.karaf.base.version>1.7.0-SNAPSHOT</odl.karaf.base.version>
- <mdsal.version>1.4.0-SNAPSHOT</mdsal.version>
+ <controller.mdsal.version>1.4.0-SNAPSHOT</controller.mdsal.version>
<mdsal.model.version>0.9.0-SNAPSHOT</mdsal.model.version>
<restconf.version>1.4.0-SNAPSHOT</restconf.version>
<neutron.version>0.7.0-SNAPSHOT</neutron.version>
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>mdsal-artifacts</artifactId>
- <version>${mdsal.version}</version>
+ <version>${controller.mdsal.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
+ <dependency>
+ <groupId>commons-net</groupId>
+ <artifactId>commons-net</artifactId>
+ </dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<feature name="odl-ovsdb-openstack" description="OpenDaylight :: OVSDB :: OpenStack Network Virtualization"
version='${project.version}'>
- <feature version='${mdsal.version}'>odl-mdsal-broker</feature>
+ <feature version='${controller.mdsal.version}'>odl-mdsal-broker</feature>
<feature version="${openflowplugin.version}">odl-openflowplugin-nsf-model</feature>
<feature version="${neutron.version}">odl-neutron-service</feature>
<feature version="${project.version}">odl-ovsdb-southbound-impl-ui</feature>
<bundle>mvn:org.opendaylight.ovsdb/utils.southbound-utils/{{VERSION}}</bundle>
<bundle>mvn:org.opendaylight.ovsdb/openstack.net-virt/{{VERSION}}</bundle>
<bundle>mvn:org.opendaylight.ovsdb/openstack.net-virt-providers/{{VERSION}}</bundle>
+ <bundle>mvn:commons-net/commons-net/{{VERSION}}</bundle>
<configfile finalname="etc/opendaylight/karaf/netvirt-impl-default-config.xml">mvn:org.opendaylight.ovsdb/openstack.net-virt/{{VERSION}}/xml/config</configfile>
<configfile finalname="etc/opendaylight/karaf/netvirt-providers-impl-default-config.xml">mvn:org.opendaylight.ovsdb/openstack.net-virt-providers/{{VERSION}}/xml/config</configfile>
</feature>
<feature name="odl-ovsdb-openstack-clusteraware" description="OpenDaylight :: OVSDB :: OpenStack Network Virtualization - Cluster Aware"
version='${project.version}'>
- <feature version='${mdsal.version}'>odl-mdsal-broker</feature>
+ <feature version='${controller.mdsal.version}'>odl-mdsal-broker</feature>
<feature version="${openflowplugin.version}">odl-openflowplugin-nsf-model-li</feature>
<feature version="${neutron.version}">odl-neutron-service</feature>
<feature version="${project.version}">odl-ovsdb-southbound-impl-ui</feature>
<bundle>mvn:org.opendaylight.ovsdb/utils.southbound-utils/{{VERSION}}</bundle>
<bundle>mvn:org.opendaylight.ovsdb/openstack.net-virt/{{VERSION}}</bundle>
<bundle>mvn:org.opendaylight.ovsdb/openstack.net-virt-providers/{{VERSION}}</bundle>
+ <bundle>mvn:commons-net/commons-net/{{VERSION}}</bundle>
<configfile finalname="etc/opendaylight/karaf/netvirt-impl-default-config.xml">mvn:org.opendaylight.ovsdb/openstack.net-virt/{{VERSION}}/xml/config</configfile>
<configfile finalname="etc/opendaylight/karaf/netvirt-providers-impl-default-config.xml">mvn:org.opendaylight.ovsdb/openstack.net-virt-providers/{{VERSION}}/xml/config</configfile>
</feature>
<feature name='odl-netvirt-ui' version='${project.version}' description='OpenDaylight :: netvirt :: UI'>
<feature version="${project.version}">odl-netvirt-rest</feature>
<feature version="${restconf.version}">odl-mdsal-apidocs</feature>
- <feature version="${mdsal.version}">odl-mdsal-xsql</feature>
+ <feature version="${controller.mdsal.version}">odl-mdsal-xsql</feature>
</feature>
<feature name='odl-netvirt-hwgw' version='${project.version}' description='OpenDaylight :: netvirt :: Hardware Gateway'>
<feature version="${project.version}">odl-netvirt-api</feature>
</scm>
<properties>
+ <controller.mdsal.version>1.4.0-SNAPSHOT</controller.mdsal.version>
<karaf.distro.groupId>org.opendaylight.ovsdb</karaf.distro.groupId>
<karaf.distro.artifactId>karaf</karaf.distro.artifactId>
<karaf.distro.version>${project.version}</karaf.distro.version>
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>mdsal-artifacts</artifactId>
- <version>${mdsal.version}</version>
+ <version>${controller.mdsal.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<configfile.directory>etc/opendaylight/karaf</configfile.directory>
<dlux.version>0.4.0-SNAPSHOT</dlux.version>
<mdsal.model.version>0.9.0-SNAPSHOT</mdsal.model.version>
- <mdsal.version>1.4.0-SNAPSHOT</mdsal.version>
+ <controller.mdsal.version>1.4.0-SNAPSHOT</controller.mdsal.version>
<openflowplugin.version>0.3.0-SNAPSHOT</openflowplugin.version>
<restconf.version>1.4.0-SNAPSHOT</restconf.version>
<sfc.version>0.3.0-SNAPSHOT</sfc.version>
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>mdsal-artifacts</artifactId>
- <version>${mdsal.version}</version>
+ <version>${controller.mdsal.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>features-mdsal</artifactId>
<classifier>features</classifier>
- <version>${mdsal.version}</version>
+ <version>${controller.mdsal.version}</version>
<type>xml</type>
<scope>runtime</scope>
</dependency>
<bundle>mvn:org.opendaylight.ovsdb/openstack.net-virt-sfc-api/{{VERSION}}</bundle>
</feature>
<feature name='odl-ovsdb-sfc' version='${project.version}' description='OpenDaylight :: ovsdb-sfc'>
- <feature version='${mdsal.version}'>odl-mdsal-broker</feature>
+ <feature version='${controller.mdsal.version}'>odl-mdsal-broker</feature>
<feature version="${openflowplugin.version}">odl-openflowplugin-nsf-model</feature>
<feature version="${openflowplugin.version}">odl-openflowplugin-flow-services</feature>
<feature version='${openflowplugin.version}'>odl-openflowplugin-nxm-extensions</feature>
<feature name='odl-ovsdb-sfc-ui' version='${project.version}' description='OpenDaylight :: ovsdb-sfc :: UI'>
<feature version="${project.version}">odl-ovsdb-sfc-rest</feature>
<feature version="${restconf.version}">odl-mdsal-apidocs</feature>
- <feature version="${mdsal.version}">odl-mdsal-xsql</feature>
+ <feature version="${controller.mdsal.version}">odl-mdsal-xsql</feature>
<feature version="${dlux.version}">odl-dlux-yangui</feature>
</feature>
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/${yangtools.version}/xml/features</repository>
- <repository>mvn:org.opendaylight.controller/features-mdsal/${mdsal.version}/xml/features</repository>
+ <repository>mvn:org.opendaylight.controller/features-mdsal/${controller.mdsal.version}/xml/features</repository>
<repository>mvn:org.opendaylight.mdsal.model/features-mdsal-model/${mdsal.model.version}/xml/features</repository>
<repository>mvn:org.opendaylight.netconf/features-restconf/${restconf.version}/xml/features</repository>
<repository>mvn:org.opendaylight.dlux/features-dlux/${dlux.version}/xml/features</repository>
<bundle>mvn:org.opendaylight.ovsdb/openstack.net-virt-sfc-api/${project.version}</bundle>
</feature>
<feature name='odl-ovsdb-sfc' version='${project.version}' description='OpenDaylight :: ovsdb-sfc'>
- <feature version='${mdsal.version}'>odl-mdsal-broker</feature>
+ <feature version='${controller.mdsal.version}'>odl-mdsal-broker</feature>
<feature version='${project.version}'>odl-ovsdb-sfc-api</feature>
<bundle>mvn:org.opendaylight.ovsdb/openstack.net-virt-sfc-impl/${project.version}</bundle>
<configfile finalname="${configfile.directory}/openstack.net-virt-sfc.xml">mvn:org.opendaylight.ovsdb/openstack.net-virt-sfc-impl/${project.version}/xml/config</configfile>
<feature name='odl-ovsdb-sfc-ui' version='${project.version}' description='OpenDaylight :: ovsdb-sfc :: UI'>
<feature version="${project.version}">odl-ovsdb-sfc-rest</feature>
<feature version="${restconf.version}">odl-mdsal-apidocs</feature>
- <feature version="${mdsal.version}">odl-mdsal-xsql</feature>
+ <feature version="${controller.mdsal.version}">odl-mdsal-xsql</feature>
<feature version="${dlux.version}">odl-dlux-yangui</feature>
</feature>
<maven>3.1.1</maven>
</prerequisites>
<properties>
- <mdsal.version>1.4.0-SNAPSHOT</mdsal.version>
+ <controller.mdsal.version>1.4.0-SNAPSHOT</controller.mdsal.version>
<restconf.version>1.4.0-SNAPSHOT</restconf.version>
<neutron.version>0.7.0-SNAPSHOT</neutron.version>
<openflowplugin.version>0.3.0-SNAPSHOT</openflowplugin.version>
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>mdsal-artifacts</artifactId>
- <version>${mdsal.version}</version>
+ <version>${controller.mdsal.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>features-mdsal</artifactId>
- <version>${mdsal.version}</version>
+ <version>${controller.mdsal.version}</version>
<type>xml</type>
<classifier>features</classifier>
</dependency>
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.controller/features-restconf/${mdsal.version}/xml/features</repository>
+ <repository>mvn:org.opendaylight.controller/features-restconf/${controller.mdsal.version}/xml/features</repository>
-->
<repository>mvn:org.opendaylight.yangtools/features-yangtools/{{VERSION}}/xml/features</repository>
<repository>mvn:org.opendaylight.neutron/features-neutron/{{VERSION}}/xml/features</repository>
<feature version="${openflowplugin.version}">odl-openflowplugin-flow-services-li</feature>
<feature version="${neutron.version}">odl-neutron-transcriber</feature>
<feature version="1.3.0-SNAPSHOT">odl-ovsdb-southbound-impl</feature>
- <feature version='${mdsal.version}'>odl-mdsal-broker</feature>
+ <feature version='${controller.mdsal.version}'>odl-mdsal-broker</feature>
<!--
<feature version='${mdsal.model.version}'>odl-mdsal-models</feature>
-->
- <bundle>mvn:com.google.code.gson/gson/${gson.version}</bundle>
+ <bundle>mvn:com.google.code.gson/gson/{{VERSION}}</bundle>
<bundle>mvn:org.opendaylight.ovsdb/routemgr-impl/${project.version}</bundle>
<bundle>mvn:org.opendaylight.ovsdb/routemgr-api/${project.version}</bundle>
<configfile finalname="etc/opendaylight/karaf/97-routemgrmain.xml">mvn:org.opendaylight.ovsdb/routemgr-config/${project.version}/xml/config</configfile>
<!--
<feature name='odl-routemgr-rest' description="Opendaylight :: Routemgr :: Plugin :: Rest" version='${project.version}'>
<feature version="${project.version}">odl-routemgr-plugin</feature>
- <feature version="${mdsal.version}">odl-restconf</feature>
+ <feature version="${controller.mdsal.version}">odl-restconf</feature>
</feature>
-->
</features>