From: Robert Varga Date: Tue, 28 Sep 2021 14:25:47 +0000 (+0200) Subject: Require transitive on spotbugs-annotations X-Git-Tag: v8.0.6~31 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=a876dba5ca79e2afaa33363eab457d215f375374;p=mdsal.git Require transitive on spotbugs-annotations mdsal-binding-api is using @CheckReturnValue, which is not included in the transitively-visible set and triggers two warnings from javac. Fix that. Change-Id: I6007a4745cbb31bd446e52fe7254e26c01388a7c Signed-off-by: Robert Varga --- diff --git a/binding/mdsal-binding-api/src/main/java/module-info.java b/binding/mdsal-binding-api/src/main/java/module-info.java index ae78ec94c2..c61351a2c9 100644 --- a/binding/mdsal-binding-api/src/main/java/module-info.java +++ b/binding/mdsal-binding-api/src/main/java/module-info.java @@ -15,5 +15,5 @@ module org.opendaylight.mdsal.binding.api { // Annotations requires static transitive org.eclipse.jdt.annotation; - requires static com.github.spotbugs.annotations; + requires static transitive com.github.spotbugs.annotations; }