Do not embed netconf-impl 03/102203/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 22 Aug 2022 11:00:57 +0000 (13:00 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 22 Aug 2022 11:01:56 +0000 (13:01 +0200)
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>
netconf/mdsal-netconf-impl/pom.xml

index 78d324be533628e47289f9c9d07f92de04cd5a41..b465ab8d20489dd6e881b04962b1a3557d92922a 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>