Bug 6521: Fix ClassNotFoundException in sal-remoterpc-connector 09/44609/2
authorTom Pantelis <tpanteli@brocade.com>
Wed, 24 Aug 2016 14:17:38 +0000 (10:17 -0400)
committerTom Pantelis <tpanteli@brocade.com>
Wed, 24 Aug 2016 15:03:47 +0000 (15:03 +0000)
Introduced by https://git.opendaylight.org/gerrit/#/c/44553/. The generated yang
files were importing org.opendaylight.controller.cluster. Now that the yang has been
removed we need to explicitly import the package into the bundle.

Change-Id: I049751f08f26bdceed1a6e8c2af7be940d92c591
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
opendaylight/md-sal/sal-remoterpc-connector/pom.xml

index 68bbb63..2bb9cdb 100644 (file)
             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
             <Export-package></Export-package>
             <Private-Package></Private-Package>
-            <Import-Package>!org.iq80.*;!*snappy;!org.jboss.*;!com.jcraft.*;!org.fusesource.*;!*jetty*;!sun.security.*;*</Import-Package>
+            <Import-Package>
+              !org.iq80.*;
+              !*snappy;
+              !org.jboss.*;
+              !com.jcraft.*;
+              !org.fusesource.*;
+              !*jetty*;
+              !sun.security.*;
+              org.opendaylight.controller.cluster;
+              *
+            </Import-Package>
             <!--
             <Embed-Dependency>
                 sal-clustering-commons;