From: Robert Varga Date: Tue, 25 Feb 2025 16:27:50 +0000 (+0100) Subject: Convert mdsal-singleton-impl to bnd-parent X-Git-Tag: v14.0.10~1 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=2611261c53629b27b0225768b7b69f0d909d22c5;p=mdsal.git Convert mdsal-singleton-impl to bnd-parent This fixes a few packaging warnings and allows us to not import javax.inject/javax.annotation in OSGi. Change-Id: I5e3fd7e1cd7534d6a53f72f2917427f59f1f2851 Signed-off-by: Robert Varga --- diff --git a/singleton-service/mdsal-singleton-impl/bnd.bnd b/singleton-service/mdsal-singleton-impl/bnd.bnd new file mode 100644 index 0000000000..4ca3cea46d --- /dev/null +++ b/singleton-service/mdsal-singleton-impl/bnd.bnd @@ -0,0 +1 @@ +Import-Package: !javax.annotation,!javax.inject,org.checkerframework.*;resolution:=optional, * diff --git a/singleton-service/mdsal-singleton-impl/pom.xml b/singleton-service/mdsal-singleton-impl/pom.xml index 29dd4c423c..8dc5905202 100644 --- a/singleton-service/mdsal-singleton-impl/pom.xml +++ b/singleton-service/mdsal-singleton-impl/pom.xml @@ -11,13 +11,15 @@ 4.0.0 org.opendaylight.mdsal - bundle-parent + bnd-parent 14.0.10-SNAPSHOT - ../../bundle-parent + ../../bnd-parent mdsal-singleton-impl - bundle + jar + ${project.artifactId} + Cluster Singleton Service implementation