Explicitly import com.mysql.jdbc package
authorDan Timoney <dtimoney@att.com>
Mon, 18 Sep 2017 15:33:49 +0000 (11:33 -0400)
committerDan Timoney <dtimoney@att.com>
Mon, 18 Sep 2017 15:33:49 +0000 (11:33 -0400)
Need to explicitly add com.mysql.jdbc to Import-Package in dblib/provider
pom.xml, so that Class.forName() can resolve com.mysql.jdbc.Driver.
Will also need to add org.mariadb.jdbc,but will do that in a separate
commit

Change-Id: I6a4be5d4e1841690919484940af75a2cb15c357b
Issue-ID: CCSDK-94
Signed-off-by: Dan Timoney <dtimoney@att.com>
dblib/provider/pom.xml

index 07fc61a..01d7f97 100755 (executable)
@@ -76,6 +76,7 @@
                                        <instructions>
                                                <Bundle-SymbolicName>org.onap.ccsdk.sli.core.dblib</Bundle-SymbolicName>
                                                <Export-Package>org.onap.ccsdk.sli.core.dblib;version=${project.version}</Export-Package>
+                        <Import-Package>*,com.mysql.jdbc</Import-Package>
                                                <Embed-Transitive>true</Embed-Transitive>
                                        </instructions>
                                </configuration>