aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-09-18 11:33:49 -0400
committerDan Timoney <dtimoney@att.com>2017-09-18 11:33:49 -0400
commitaa202d6221e4f4d07b25e9b703de1125f6a6f0e3 (patch)
tree4c4680571fca00f7f9f38e26b63a3b5e1d351bb4
parent148c15b82dfc2025dc1c4a19b55293cdf3e9db2f (diff)
Explicitly import com.mysql.jdbc package
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>
-rwxr-xr-xdblib/provider/pom.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/dblib/provider/pom.xml b/dblib/provider/pom.xml
index 07fc61ab..01d7f97d 100755
--- a/dblib/provider/pom.xml
+++ b/dblib/provider/pom.xml
@@ -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>