Handle odl-mdsal-common with Karaf 4.0.9 07/54607/1
authorStephen Kitt <skitt@redhat.com>
Mon, 10 Apr 2017 15:00:17 +0000 (17:00 +0200)
committerStephen Kitt <skitt@redhat.com>
Mon, 10 Apr 2017 15:00:17 +0000 (17:00 +0200)
commit345894779e66c0c9e668503738f19b063cf5a2ce
treee1212f33469cec984dbebb244277ce1327fecbc3
parent7b7186bca2b89bd692de06ac2785d5d850c0b973
Handle odl-mdsal-common with Karaf 4.0.9

Karaf 4.0.9 simplifies feature dependencies (so that dependencies
specified in feature.xml can be completed from the POM), but that
causes issues with odl-mdsal-common since features in Karaf are
identified by their name only:

* if both the controller odl-mdsal-common and the mdsal
  odl-mdsal-common are encountered in the dependency tree, whichever
  one came first (as dependencies are resolved) is the one that ends
  up being kept;
* in some circumstances, the mdsal repository replaces controller's
  even when the controller dependency is retained (this is a Karaf bug
  which I'll submit a patch for, but we can work around it).

Change-Id: I5400a829560ae96cb2f264e103020cccd1d225c3
Signed-off-by: Stephen Kitt <skitt@redhat.com>
features/mdsal/odl-mdsal-broker-local/pom.xml
features/mdsal/odl-mdsal-broker-local/src/main/feature/feature.xml