Fix a module warning 84/103384/2
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 25 Nov 2022 02:43:32 +0000 (03:43 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 25 Nov 2022 02:49:19 +0000 (03:49 +0100)
We are exposing javax.inject-annotated class, user should therefore
know about javax.inject (although there should not be any).

Change-Id: I076f82b9921b00d9483703f684277512e565d33e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-codec/src/main/java/module-info.java

index a27a9178836562e79eaaf573a159cf84025c0bd4..4f9ad40ece27315ae2e054107c45b28f96e5cd45 100644 (file)
@@ -42,7 +42,7 @@ module org.opendaylight.mdsal.binding.dom.codec.impl {
 
     // Annotations
     requires static com.github.spotbugs.annotations;
-    requires static javax.inject;
+    requires static transitive javax.inject;
     requires static org.eclipse.jdt.annotation;
     requires static org.kohsuke.metainf_services;
     requires static org.osgi.service.component.annotations;