From b65b27a497a914c670d2f53a49e007cbd4f58bd1 Mon Sep 17 00:00:00 2001 From: Matthew Skinner Date: Mon, 27 Sep 2021 00:16:07 +1000 Subject: [PATCH] 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 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 474015610..e79cc74bc 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