From: Matthew Skinner Date: Sun, 26 Sep 2021 14:16:07 +0000 (+1000) Subject: Allow multi release JARs to resolve (#11303) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=b65b27a497a914c670d2f53a49e007cbd4f58bd1;p=openhab-addons.git Allow multi release JARs to resolve (#11303) This allows bnd to resolve multi release jar files. A number of people have posted they have troubles adding dependancies on the forum with this error. `Classes found in the wrong directory: {META-INF/versions/9/module-info.class=module-info}` Issue about it is here: https://github.com/bndtools/bnd/issues/2227 An alternative fix is to add the following into each bindings pom.xml ``` "Classes found in the wrong directory"; is:=warning ``` Not sure what the correct way to handle this is but these are two ways I have tested. Signed-off-by: Matthew Skinner --- diff --git a/pom.xml b/pom.xml index 474015610c..e79cc74bc1 100644 --- a/pom.xml +++ b/pom.xml @@ -81,7 +81,7 @@ - + "Classes found in the wrong directory"; is:=warning -${.}/NOTICE, -${.}/*.xsd src/main/feature/feature.xml