Skip to content

Update mysql driver maven coordinates#597

Merged
jamesfredley merged 1 commit into7.0.xfrom
mysql-driver-coordinates
Jun 17, 2025
Merged

Update mysql driver maven coordinates#597
jamesfredley merged 1 commit into7.0.xfrom
mysql-driver-coordinates

Conversation

@jamesfredley
Copy link
Contributor

@jamesfredley jamesfredley commented Jun 16, 2025

Update from mysql:mysql-connector-java to com.mysql:mysql-connector-j

Version https://docs.grails.org/7.0.0-M4/ref/Versions/Grails%20BOM.html comes from
spring-boot-dependencies via grails-bom

@jamesfredley jamesfredley requested a review from Copilot June 16, 2025 17:12
@jamesfredley jamesfredley self-assigned this Jun 16, 2025
@jamesfredley jamesfredley moved this to In Progress in Apache Grails Jun 16, 2025
@jamesfredley jamesfredley added this to the grails:7.0.0-RC1 milestone Jun 16, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Maven coordinates for the MySQL driver from the old mysql:mysql-connector-java to the new com.mysql:mysql-connector-j across tests and the feature implementation.

  • Adjust template assertion in MySQLSpec to use the new coordinates
  • Update expected dependency string in GradleDependencyComparatorSpec
  • Change groupId and artifactId in the MySQL feature’s apply method

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
grails-forge-core/src/test/groovy/org/grails/forge/feature/database/MySQLSpec.groovy Updated template check to new Maven coordinates
grails-forge-core/src/test/groovy/org/grails/forge/build/dependencies/GradleDependencyComparatorSpec.groovy Updated expected Gradle dependency string
grails-forge-core/src/main/java/org/grails/forge/feature/database/MySQL.java Changed dependency builder to new MySQL coordinates

@jamesfredley jamesfredley merged commit 19d8d65 into 7.0.x Jun 17, 2025
6 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Apache Grails Jun 17, 2025
@jamesfredley jamesfredley deleted the mysql-driver-coordinates branch June 17, 2025 15:42
@jamesfredley jamesfredley linked an issue Jul 1, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Update mysql connector to use new coordinates

5 participants