cloudfoundry / java-buildpack

Cloud Foundry buildpack for running Java applications
Apache License 2.0
433 stars 2.59k forks source link

JBP auto downloading MariaDB JDBC driver though app package includes AWS MySQL driver aws-mysql-jdbc.jar #1067

Closed scottgai closed 3 months ago

scottgai commented 4 months ago

After switching to use CSB provisioned RDS Mysql db from old pivotal aws services broker provisioned aurora mysql cluster and are having an issue with spring now injecting MariaDB JDBC driver. Customer are running with the AWS MySQL driver (aws-mysql-jdbc.jar) which doesn't look to be in the list that the MariaDB buildpack component is checking for. Customer don't want the buildpack to download MariaDB JDBC driver as they are not going to use it. They will include AWS MySQL driver aws-mysql-jdbc.jar in app package instead. Shall we consider adding aws-mysql-jdbc*.jar to the list as well?

pivotal-david-osullivan commented 3 months ago

Closed via #1068