From ce172c723deb7bada5063b530a22c7a8fbaedbad Mon Sep 17 00:00:00 2001 From: Sam Hague Date: Wed, 30 Mar 2016 15:53:42 -0400 Subject: [PATCH] it-utils should be only included for IT The it-utils bundle was being included with the odl-ovsdb-openstack feature. When the feature was installed karaf would error out looking for org.junit - which is a dependency for it-utils since that is a test bundle. Fix: Create a IT feature and include the bundle there and use that feature for the IT test. Change-Id: I4fc0395ca177d98b8433857b384cddbc033057fb Signed-off-by: Sam Hague --- features/pom.xml | 1 + features/src/main/features/features.xml | 8 +++++++- .../ovsdb/openstack/netvirt/it/NetvirtIT.java | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/features/pom.xml b/features/pom.xml index df01a9c62f..6ffee10755 100644 --- a/features/pom.xml +++ b/features/pom.xml @@ -254,6 +254,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html ${project.groupId} utils.it-utils ${project.version} + test ${project.groupId} diff --git a/features/src/main/features/features.xml b/features/src/main/features/features.xml index 411f0c8ec5..0409ae5258 100644 --- a/features/src/main/features/features.xml +++ b/features/src/main/features/features.xml @@ -40,7 +40,7 @@ mvn:org.opendaylight.ovsdb/utils.neutron-utils/{{VERSION}} mvn:org.opendaylight.ovsdb/utils.mdsal-utils/{{VERSION}} mvn:org.opendaylight.ovsdb/utils.southbound-utils/{{VERSION}} - mvn:org.opendaylight.ovsdb/utils.it-utils/{{VERSION}} + mvn:org.opendaylight.ovsdb/openstack.net-virt/{{VERSION}} mvn:org.opendaylight.ovsdb/openstack.net-virt-providers/{{VERSION}} mvn:commons-net/commons-net/{{VERSION}} @@ -48,6 +48,12 @@ mvn:org.opendaylight.ovsdb/openstack.net-virt-providers/{{VERSION}}/xml/config + + odl-ovsdb-openstack + mvn:org.opendaylight.ovsdb/utils.it-utils/{{VERSION}} + + odl-mdsal-broker diff --git a/openstack/net-virt-it/src/test/java/org/opendaylight/ovsdb/openstack/netvirt/it/NetvirtIT.java b/openstack/net-virt-it/src/test/java/org/opendaylight/ovsdb/openstack/netvirt/it/NetvirtIT.java index f331c2ba38..d6f60f3cec 100644 --- a/openstack/net-virt-it/src/test/java/org/opendaylight/ovsdb/openstack/netvirt/it/NetvirtIT.java +++ b/openstack/net-virt-it/src/test/java/org/opendaylight/ovsdb/openstack/netvirt/it/NetvirtIT.java @@ -130,7 +130,7 @@ public class NetvirtIT extends AbstractMdsalTestBase { @Override public String getFeatureName() { - return "odl-ovsdb-openstack"; + return "odl-ovsdb-openstack-it"; } @Configuration -- 2.36.6