All, I've made a change to allow jdk11 compatible mysql-connector-java 8.x dependency added in this PR: https://github.com/apache/cloudstack/pull/3601
This will allow us to remove distribution-specific dependency and include the dependency jar only in the built cloudstack-management and cloudstack-usage packages (and jar is not included/hosted within the source code/repo). Any objections, concerns? Regards, Rohit Yadav Software Architect, ShapeBlue https://www.shapeblue.com ________________________________ From: Andrija Panic <[email protected]> Sent: Tuesday, November 19, 2019 19:57 To: dev <[email protected]> Cc: [email protected] <[email protected]> Subject: Re: [DISCUSS] Scope and usage of maven provided mysql-connector dependency in packages One less dependency to manually handle - is a positive thing IMHO. +1 [email protected] www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue On Tue, 19 Nov 2019 at 14:56, Rohit Yadav <[email protected]> wrote: > All, > > I see that libmysql-java package is no longer available in Ubuntu 19.04 > and above, this creates an issue while supporting Debian packages which > depend on distro provided libmysql-java package that has the > mysql-connector-java.jar. > > During development, for example using maven, we do rely on > mysql-connector-java (gplv2 with foss exception) which is used during db > deployment and when managment server or usage server is run via maven, > however, during packaging this dependency is excluded and not bundled > either in the cloudstack-management or cloudstack-usage packages. I'm > unaware of the legal implications but what I understand per the latest > dependency and 8.x releases, it seems it allows redistribution and there is > a foss exception: https://github.com/mysql/mysql-connector-j > > Given the source code does not include the mysql-connector-java dependency > which is available via maven repositories, should we include it by default > during packaging? This would remove the distribution provided dependency of > libmysql-java or an equivalent mysql-connector-java package. > > Thoughts, ideas? > > > Regards, > > Rohit Yadav > > Software Architect, ShapeBlue > > https://www.shapeblue.com > > [email protected] > www.shapeblue.com<http://www.shapeblue.com> > Amadeus House, Floral Street, London WC2E 9DPUK > @shapeblue > > > > -- Andrija Panić
