From: Ed Warnicke Date: Sat, 21 Feb 2015 16:53:09 +0000 (-0700) Subject: Re-enable running of SingleFeaturesTest X-Git-Tag: release/lithium~675 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=bb3806c1c535d0d625a20a4e90b019f24035cd45;p=openflowplugin.git Re-enable running of SingleFeaturesTest For reasons I have not yet figured out, depending on the yangtools version of features-test causes features tests to no longer run. This patch changes controller to depending on the features-tests from odlparent Change-Id: I70d6a8ea24d9b0546d9f9e94b65a0008f8a05708 Signed-off-by: Ed Warnicke --- diff --git a/applications/features/pom.xml b/applications/features/pom.xml new file mode 100644 index 0000000000..2ab1e0a7d5 --- /dev/null +++ b/applications/features/pom.xml @@ -0,0 +1,158 @@ + + + 4.0.0 + + org.opendaylight.openflowplugin + openflowplugin-parent + 0.1.0-SNAPSHOT + ../../ + + features-flow + + jar + + + features.xml + + + + + org.opendaylight.controller + features-mdsal + ${mdsal.version} + features + xml + + + + org.opendaylight.openflowplugin.applications + statistics-manager-config + ${project.version} + xml + config + + + + org.opendaylight.openflowplugin.model + model-flow-base + ${project.version} + + + org.opendaylight.openflowplugin.model + model-flow-service + ${project.version} + + + org.opendaylight.openflowplugin.model + model-flow-statistics + ${project.version} + + + org.opendaylight.controller.model + model-inventory + ${mdsal.version} + + + org.opendaylight.controller.model + model-topology + ${mdsal.version} + + + org.opendaylight.openflowplugin.applications + topology-manager + ${project.version} + + + org.opendaylight.openflowplugin.applications + topology-lldp-discovery + ${project.version} + + + org.opendaylight.openflowplugin.applications + statistics-manager + ${project.version} + + + org.opendaylight.openflowplugin.applications + inventory-manager + ${project.version} + + + org.opendaylight.openflowplugin.applications + forwardingrules-manager + ${project.version} + + + + org.opendaylight.odlparent + features-test + 1.5.0-SNAPSHOT + + + + + + + true + src/main/resources + + + + + org.apache.maven.plugins + maven-resources-plugin + + + filter + + resources + + generate-resources + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + attach-artifacts + + attach-artifact + + package + + + + ${project.build.directory}/classes/${features.file} + xml + features + + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + org.opendaylight.controller + opendaylight-karaf-empty + ${commons.opendaylight.version} + + + org.opendaylight.odlparent:features-test + + + + + + + scm:git:ssh://git.opendaylight.org:29418/controller.git + scm:git:ssh://git.opendaylight.org:29418/controller.git + HEAD + https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL + + diff --git a/applications/features/src/main/resources/features.xml b/applications/features/src/main/resources/features.xml new file mode 100644 index 0000000000..1750f86c54 --- /dev/null +++ b/applications/features/src/main/resources/features.xml @@ -0,0 +1,27 @@ + + + + mvn:org.opendaylight.controller/features-mdsal/${mdsal.version}/xml/features + + odl-yangtools-models + mvn:org.opendaylight.openflowplugin.model/model-flow-base/${project.version} + mvn:org.opendaylight.openflowplugin.model/model-flow-service/${project.version} + mvn:org.opendaylight.openflowplugin.model/model-flow-statistics/${project.version} + mvn:org.opendaylight.controller.model/model-inventory/${mdsal.version} + mvn:org.opendaylight.controller.model/model-topology/${mdsal.version} + + + odl-mdsal-broker + odl-flow-model + mvn:org.opendaylight.openflowplugin.applications/topology-manager/${project.version} + mvn:org.opendaylight.openflowplugin.applications/topology-lldp-discovery/${project.version} + mvn:org.opendaylight.openflowplugin.applications/statistics-manager/${project.version} + mvn:org.opendaylight.openflowplugin.applications/inventory-manager/${project.version} + mvn:org.opendaylight.openflowplugin.applications/forwardingrules-manager/${project.version} + mvn:org.opendaylight.controller/liblldp/${mdsal.version} + mvn:org.opendaylight.controller.md/statistics-manager-config/${mdsal.version}/xml/config + + + diff --git a/extension/features/pom.xml b/extension/features/pom.xml index 87cf8ef293..aab9f632e7 100644 --- a/extension/features/pom.xml +++ b/extension/features/pom.xml @@ -60,9 +60,8 @@ - org.opendaylight.yangtools + org.opendaylight.odlparent features-test - ${yangtools.version} @@ -127,7 +126,7 @@ ${karaf.empty.distro.version} - org.opendaylight.yangtools:features-test + org.opendaylight.odlparent:features-test diff --git a/features/pom.xml b/features/pom.xml index 1153af3c4f..d1bf2075eb 100644 --- a/features/pom.xml +++ b/features/pom.xml @@ -142,9 +142,8 @@ - org.opendaylight.yangtools + org.opendaylight.odlparent features-test - ${yangtools.version} @@ -209,7 +208,7 @@ ${karaf.empty.distro.version} - org.opendaylight.yangtools:features-test + org.opendaylight.odlparent:features-test diff --git a/pom.xml b/pom.xml index f950e8a88f..be5647fb83 100644 --- a/pom.xml +++ b/pom.xml @@ -58,6 +58,7 @@ src/main/yang-gen-sal 0000.0002.0038.0 0.2.0-SNAPSHOT + 1.5.0-SNAPSHOT 2.4 @@ -264,6 +265,12 @@ ${netconf.parent.version} + + org.opendaylight.odlparent + features-test + ${features.test.version} + + org.openexi @@ -642,7 +649,7 @@ ${openflowplugin.model.version} - org.opendaylight.openflowplugin @@ -707,6 +714,6 @@ samples/learning-switch applications model - legacy + legacy