New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to MySQL 8.0.31 and extend dependency management to new Maven identifiers #32747
Conversation
Thanks for the proposal. Unfortunately, I don't think we can merge this as it will break people's applications due to what appears to be a mistake in the artifacts published to Maven Central. If an existing application depends on https://repo.maven.apache.org/maven2/mysql/mysql-connector-java/8.0.31/mysql-connector-j-8.0.31.pom Here's a failure for a Maven build that's trying to use 8.0.31 but with the previous coordinates:
Please report this to the MySQL project. We can consider this again if they fix the relocation pom. |
Thanks! I only tested the new identifiers and checked that there was a pom online. A bug has been opened in the MySQL bug tracker: https://bugs.mysql.com/bug.php?id=108799 |
Thanks for the link to the MySQL issue. I've subscribed to it. |
You are absolutely right, there's a mistake in the relocation POM name. We are fixing it as soon as possible. Mind that we'll be publishing relocation POMs for a limited number of releases and you should move on to using the new maven coordinates as soon as possible. Thank you for making us aware of the issue. |
The relocation pom seems to have been added with the correct file name: https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.31/mysql-connector-java-8.0.31.pom The artifact resolution through the relocation pom also works smoothly in the builds that I tested. |
Thanks very much, @fjssilva and @hpoettker. |
This PR upgrades MySQL Connector/J to version 8.0.31, switches to the new group id and artifact id, and extends dependency management to the new identifiers.
As of 8.0.31, the Maven group id and artifact id of MySQL Connector/J have been changed to
com.mysql
andmysql-connector-j
, respectively. The previous ids will still work in the near future as relocation POMs are published to forward to the new coordinates: https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/news-8-0-31.html