Do not embed netconf-impl 27/101827/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 22 Aug 2022 11:00:57 +0000 (13:00 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 22 Aug 2022 12:19:57 +0000 (12:19 +0000)
Rather than embedding the dependency, use proper imports to satisfy the
needs of blueprint container.

JIRA: NETCONF-899
Change-Id: Iee2e2564384d3aa2660169c99ff375358b949a15
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 0d0781f97cf2cf9b7957c878ca93e94c7fbe82ec)

netconf/mdsal-netconf-impl/pom.xml

index 7a3c6367aca2dfda6d3d73b2bb613f9eaff876d6..927ef65faa41777bd832fbe5151db507d6d092e9 100644 (file)
         <configuration>
           <instructions>
             <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-            <Embed-Dependency>netconf-impl</Embed-Dependency>
+            <Import-Package>
+                io.netty.channel,
+                io.netty.util,
+                org.opendaylight.controller.config.threadpool,
+                org.opendaylight.netconf.api.monitoring,
+                org.opendaylight.netconf.impl,
+                org.opendaylight.netconf.impl.osgi,
+                org.opendaylight.netconf.mapping.api,
+                *
+            </Import-Package>
           </instructions>
         </configuration>
       </plugin>